mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
gpu: cache path data for compute
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+4
-3
@@ -27,9 +27,10 @@ type opCache struct {
|
||||
|
||||
type opCacheValue struct {
|
||||
data pathData
|
||||
// cpuData is the retained data, if kept by the compute renderer.
|
||||
cpuData []byte
|
||||
bounds f32.Rectangle
|
||||
// computePath is the encoded path for compute.
|
||||
computePath encoder
|
||||
|
||||
bounds f32.Rectangle
|
||||
// the fields below are handled by opCache
|
||||
key ops.Key
|
||||
keep bool
|
||||
|
||||
Reference in New Issue
Block a user