aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-defs.h
AgeCommit message (Collapse)Author
2016-03-16OPENGL: Accelerate palette lookups with shaders.Johannes Schickel
This currently is limited to GL contexts.
2016-03-16OPENGL: Fix texture format for BGR565.Johannes Schickel
2016-03-16OPENGL: Remove (some) unused GL definitions.Johannes Schickel
2016-03-16OPENGL: Unify shader implementation for GL and GLES2.Johannes Schickel
2016-03-16OPENGL: Add support for shaders with GL contexts.Johannes Schickel
2016-03-16OPENGL: Support GLES2 contexts.Johannes Schickel
2016-03-16OPENGL: Resolve OpenGL functions on run-time.Johannes Schickel
Formerly we relied on static linkage. However, in the presense of modern OpenGL (ES) implementations it is not easily identifable which library to link against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to create a GLES 1.1 context one would need to link against libGL.so. However, traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a huge mess we simply resolve the OpenGL functions on run-time now and stop linking against a static library (in most cases). GLES support needs to be enabled manually on configure time for now. Tizen changes have NOT been tested.