gpu: replace f32.Point/Rectangle with image.Point/Rectangle

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Walter Werner SCHNEIDER
2025-07-28 20:24:24 +03:00
committed by Elias Naur
parent bbb6d05f09
commit 36a2fa37c7
3 changed files with 55 additions and 56 deletions
+2 -3
View File
@@ -4,8 +4,7 @@ package gpu
import (
"fmt"
"gioui.org/internal/f32"
"image"
)
type textureCacheKey struct {
@@ -36,7 +35,7 @@ type opCache struct {
type opCacheValue struct {
data pathData
bounds f32.Rectangle
bounds image.Rectangle
// the fields below are handled by opCache
key opKey
keep bool