Commit graph

13 commits

Author SHA1 Message Date
Dries Harnie
a051070b78 GRAPHICS: Disable extra attributes bound by a previous shader [OpenGLS]
When switching between shaders, the previous shader might have Y
attributes, while the current shader only has X, with X < Y. The extra
attributes will not be used by the shader, but the driver might attempt
to read from the bound FBOs anyway. OSX's OpenGL profiler stumbles over
this.
2015-05-05 18:35:02 +08:00
Pawel Kolodziejski
c3da0c33a4 GFX: make OS X work with OpenGL 2.1 shaders 2015-02-21 13:43:30 +01:00
Pawel Kolodziejski
afdcd78417 OPENGLES/SHADERS: minor cleanup comment 2014-07-20 22:30:22 +02:00
Bastien Bouclet
cd8af78b6b GRAPHICS: Minor cleanup in the Shader class 2014-07-13 21:22:39 +02:00
Bastien Bouclet
59fdc042a0 GRAPHICS: Make the Shader class properly free its resources 2014-07-06 10:30:57 +02:00
Pawel Kolodziejski
b08462d1bc GLES2/SHADERS: add search path for loading shaders from source code directory 2014-07-06 09:43:10 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Dries Harnie
6ed13c9dd0 JANITORIAL: Store size_t offsets in vertex attributes 2014-02-16 11:51:50 +01:00
Pawel Kolodziejski
aa74f1c610 GLES2: avoid direclty cast uint32 to 64bit pointer 2014-02-16 09:10:23 +01:00
Dries Harnie
132508b683 GRAPHICS: Add boolean flag to Shader::use 2014-01-14 00:26:43 +01:00
Dries Harnie
a768689fbe GRAPHICS: Use #version 130 on desktop [OpenGLS] 2014-01-14 00:26:43 +01:00
Dries Harnie
f93c655b02 BUILD: add with-opengl-shaders 2014-01-14 00:26:38 +01:00
Dries Harnie
35bfb79da8 GRAPHICS: Introduce Shader object 2013-06-02 14:53:50 +02:00