Hajime Hoshi
|
40c38eb9ee
|
internal/graphicsdriver/opengl: refactoring: remove contextPlatform
|
2023-04-22 21:52:20 +09:00 |
|
Hajime Hoshi
|
4f69ca4ea9
|
internal/graphicsdriver/opengl: add a debug mode with a build tag ebitenginegldebug
In the debug mode, GetError is inserted in each GL function call.
Closes #2650
|
2023-04-22 13:17:08 +09:00 |
|
Hajime Hoshi
|
cbff3555db
|
internal/graphicsdriver/opengl: drop WebGL 1 support
Closes #2191
|
2023-03-18 22:50:09 +09:00 |
|
Hajime Hoshi
|
8cc6fa82fd
|
internal/graphicsdriver/opengl: remove fnIsContextLost
As restoring from context lost doesn't happen on browsers, isContextLost
doesn't have to be called.
|
2022-11-17 12:43:26 +09:00 |
|
Hajime Hoshi
|
c768860f3f
|
internal/graphicsdriver/opengl: remove fnGetExtension
|
2022-11-17 12:40:56 +09:00 |
|
Hajime Hoshi
|
bae5aa7732
|
internal/graphicsdriver/opengl: move initGL to NewGraphics
As restoring from context lost doesn't happen on browsers, initilizing
GL doesn't have to be done at reset.
|
2022-11-17 12:34:55 +09:00 |
|
Hajime Hoshi
|
8393211ed7
|
internal/graphicsdriver/opengl: bug fix: compile error
|
2022-11-13 15:44:15 +09:00 |
|
Hajime Hoshi
|
8c49c88b08
|
internal/graphicsdriver/opengl: refactoring
|
2022-11-13 15:27:37 +09:00 |
|
Hajime Hoshi
|
42566c6c9a
|
internal/graphicsdriver/opengl: refactoring: remove SetCanvas
|
2022-11-13 15:18:44 +09:00 |
|
Hajime Hoshi
|
a0a5f2b301
|
internal/graphicsdriver/opengl: remove SetGomobileGLContext
This change is needed to initialize the context at opengl.NewGraphics.
Updates #2451
|
2022-11-13 15:07:14 +09:00 |
|
Hajime Hoshi
|
c4abaa32f5
|
internal/graphicsdriver/opengl: initialize gl at init()
This changes context_gl.go a little closer to context_gles.go.
Updates #2451
|
2022-11-13 04:13:18 +09:00 |
|
Hajime Hoshi
|
257f05883c
|
internal/graphicsdriver/opengl: enable to compiile for browsers with the 'opengles' tag
The 'opengles' tag is just ignored for browsers.
|
2022-10-15 22:22:28 +09:00 |
|
Hajime Hoshi
|
71a32d2036
|
internal/ui: pass the canvas element directly instead of an ID
|
2022-06-11 15:34:17 +09:00 |
|
Hajime Hoshi
|
95628ee5f7
|
internal/ui: add a unique ID to the canvas for browsers
|
2022-06-11 15:24:50 +09:00 |
|