ebiten/internal/graphicsdriver/opengl
Hajime Hoshi 6b4c696b31 internal/graphicsdriver/opengl: bug fix: needed always to set uniform variables
Before this fix, setting uniform variables could be skipped when the
values were the same. This caused some issues when a number of drawing
commands were much small than usual (e.g. SetScreenClearedEveryFrame
with false).

This change fixes this by not doing such optimization. Unfortunately
it was impossible to create a minimum reproducible unit test since
we cannot test the final screen framebuffer's states so far.

Closes #2517
2023-01-03 00:43:10 +09:00
..
gl internal/shader: introduce integer vectors (ivec2, ivec3, ivec4) 2022-11-21 00:31:23 +09:00
context_js.go internal/graphicsdriver/opengl: refactoring 2022-11-18 13:32:09 +09:00
context_notjs.go internal/graphicsdriver/opengl: refactoring 2022-11-18 13:32:09 +09:00
context.go internal/graphicsdriver/opengl: add comments about Firefox 2022-11-23 00:57:16 +09:00
graphics_default.go internal/graphicsdriver/opengl/gl: automatically choose OpenGL and OpenGL ES 2022-11-14 12:50:53 +09:00
graphics_glfw.go internal/graphicsdriver/opengl: reduce context functions 2022-11-18 03:18:30 +09:00
graphics_js.go internal/graphicsdriver/opengl: remove fnIsContextLost 2022-11-17 12:43:26 +09:00
graphics_mobile.go internal/graphicsdriver/opengl/gl: automatically choose OpenGL and OpenGL ES 2022-11-14 12:50:53 +09:00
graphics.go internal/graphicsdriver/metal: stop using presentsWithTransaction 2022-12-27 19:00:56 +09:00
image.go internal/graphicsdriver/opengl: refactoring 2022-11-18 13:32:09 +09:00
locationcache.go internal/graphicsdriver/opengl: reduce context functions 2022-11-18 03:18:30 +09:00
program.go internal/graphicsdriver/opengl: bug fix: needed always to set uniform variables 2023-01-03 00:43:10 +09:00
shader.go internal/graphicsdriver/opengl: reduce context functions 2022-11-18 03:18:30 +09:00