mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
gpu: add and track fields needed by the compute renderer
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+4
-2
@@ -26,8 +26,10 @@ type opCache struct {
|
||||
}
|
||||
|
||||
type opCacheValue struct {
|
||||
data pathData
|
||||
bounds f32.Rectangle
|
||||
data pathData
|
||||
// cpuData is the retained data, if kept by the compute renderer.
|
||||
cpuData []byte
|
||||
bounds f32.Rectangle
|
||||
// the fields below are handled by opCache
|
||||
key ops.Key
|
||||
keep bool
|
||||
|
||||
Reference in New Issue
Block a user