Commit graph

124 commits

Author SHA1 Message Date
Bastien Bouclet
d7b7bad1dc ALL: Fix warnings when building with Apple's CLang 2016-06-14 08:24:02 +02:00
Bastien Bouclet
9c0950f76c SDL: Fix build for platforms with incomplete OpenGL headers 2016-06-12 20:08:05 +02:00
Bastien Bouclet
fe4aac9ada Merge pull request #1250 from bgK/wip-multisampling
Multisampling for framebuffers
2016-06-12 19:53:14 +02:00
Bastien Bouclet
5ae1e3a01c OPENGL: Honor the configured MSAA samples for FBOs 2016-06-11 13:12:37 +02:00
Dries Harnie
dc3e371dc0 OPENGL: Grab pointers for glBlitFramebuffers and
glRenderbufferStorageMultisample.
2016-06-11 13:12:37 +02:00
Dries Harnie
be5202d11d OPENGL: Multisampling for framebuffers (SDL) 2016-06-11 13:12:37 +02:00
Bastien Bouclet
8f20218a2b OPENGL: Detect FBO multisample support 2016-06-11 13:12:37 +02:00
Bastien Bouclet
5419e37196 GRAPHICS: Fix the GLSL compat shaders when using GLES2 with SDL 2016-06-11 10:33:35 +02:00
Pawel Kolodziejski
4e47c03a64 OPENGL: add checks for case when glGetString return NULL 2016-03-10 05:55:32 +01:00
Pawel Kolodziejski
fcc19fa389 OPENGL: attempt to fix compilation 2016-02-21 21:19:16 +01:00
Bastien Bouclet
ee1784b2f2 OPENGL: Add a SurfaceRenderer class
To be used to draw textures as 2D surfaces in the current viewport
2016-02-06 08:53:41 +01:00
Bastien Bouclet
d8743a49bb OPENGL: Add 16bits pixel format support to the Texture class 2016-02-06 08:53:41 +01:00
Bastien Bouclet
22006859f9 OPENGL: Fix building the SDL backend with USE_GLES2 2016-02-06 08:53:41 +01:00
Bastien Bouclet
b5dcf5d4bc OPENGL: Select the shader version string at runtime 2016-02-06 08:02:50 +01:00
Bastien Bouclet
1a4b1d5dec OPENGL: Always use GLSL 120 when using desktop GL 2016-02-06 08:02:50 +01:00
Bastien Bouclet
d0eea3b008 OPENGL: Make include gards consistent 2016-02-06 08:02:50 +01:00
Bastien Bouclet
ed38c20cce OPENGL: Add a Context class used to describe the active OpenGL context 2016-02-06 08:02:50 +01:00
Bastien Bouclet
482255032e OPENGL: Make the FrameBuffer and Texture classes destructors virtual 2016-02-06 08:02:50 +01:00
Bastien Bouclet
6c78bcebe4 GRAPHICS: Move opengles2 files to the opengl folder 2016-02-06 08:02:49 +01:00
Bastien Bouclet
4c2c1b4d36 GRAPHICS: Set the namespace for OpenGL classes to OpenGL 2016-02-06 08:02:27 +01:00
Dries Harnie
12d38bdfac GRAPHICS: Change default wrapping behavior for textures
to GL_CLAMP_TO_EDGE.
2015-08-18 14:21:03 +02:00
Dries Harnie
e6ba906656 GRAPHICS: Use NPoT textures if supported 2015-08-18 14:21:03 +02:00
Dries Harnie
f843190f69 GRAPHICS: Convert images to RGBA in Graphics::Texture 2015-06-05 09:56:41 +02:00
Dries Harnie
36c8b3d2d5 GRAPHICS: Move common OpenGL files into graphics/opengl 2015-05-27 10:08:25 +02:00