hajimehoshi / ebiten

Ebitengine - A dead simple 2D game engine for Go
https://ebitengine.org
Apache License 2.0
10.41k stars 635 forks source link

move GL context usages from internal/ui to internal/graphicsdriver/opengl #2714

Open hajimehoshi opened 11 months ago

hajimehoshi commented 11 months ago

Operating System

What feature would you like to be added?

Now GLFW code is cloned into Ebitengine and under our control, we can move the GL context logics from internal/ui to internal/graphicsdriver/opengl.

Why is this needed?

No response

hajimehoshi commented 6 months ago

In other words, renderThread in internal/ui can be removed, and the notion of the GL context can be hidden in internal/graphicsdriver/opengl.