I cloned the repository and ran hello, but encountered the following problems:
-
The internal interface only refills the window after I release the mouse button when resizing it.
-
The interface displays incorrectly, as shown in the image below.
-
The mouse click coordinates are incorrect.
-
The font is blurry.
-
Scrolling is incorrect; only the incorrect portion of the scrolling is displayed.
My computer is a Mac Pro M1.
go.mod :
module github.com/gogpu/ui/examples/hello
go 1.25.0
replace github.com/gogpu/ui => ../..
require (
github.com/gogpu/gg v0.48.7
github.com/gogpu/gogpu v0.41.0
github.com/gogpu/ui v0.1.29
)
require (
github.com/coregx/signals v0.1.0 // indirect
github.com/go-text/typesetting v0.3.4 // indirect
github.com/go-webgpu/goffi v0.5.3 // indirect
github.com/go-webgpu/webgpu v0.5.2 // indirect
github.com/gogpu/gpucontext v0.19.0 // indirect
github.com/gogpu/gputypes v0.5.0 // indirect
github.com/gogpu/naga v0.17.13 // indirect
github.com/gogpu/wgpu v0.29.1 // indirect
golang.org/x/image v0.41.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/text v0.37.0 // indirect
)

I cloned the repository and ran hello, but encountered the following problems:
The internal interface only refills the window after I release the mouse button when resizing it.
The interface displays incorrectly, as shown in the image below.
The mouse click coordinates are incorrect.
The font is blurry.
Scrolling is incorrect; only the incorrect portion of the scrolling is displayed.
My computer is a Mac Pro M1.
go.mod :
module github.com/gogpu/ui/examples/hello
go 1.25.0
replace github.com/gogpu/ui => ../..
require (
github.com/gogpu/gg v0.48.7
github.com/gogpu/gogpu v0.41.0
github.com/gogpu/ui v0.1.29
)
require (
github.com/coregx/signals v0.1.0 // indirect
github.com/go-text/typesetting v0.3.4 // indirect
github.com/go-webgpu/goffi v0.5.3 // indirect
github.com/go-webgpu/webgpu v0.5.2 // indirect
github.com/gogpu/gpucontext v0.19.0 // indirect
github.com/gogpu/gputypes v0.5.0 // indirect
github.com/gogpu/naga v0.17.13 // indirect
github.com/gogpu/wgpu v0.29.1 // indirect
golang.org/x/image v0.41.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/text v0.37.0 // indirect
)