[GLES] Support texture_buffer for palette texture conversion.

OpenGL ES 3.2 adds this feature to core
It was available to GLES 3.1 as GL_{EXT, OES}_texture_buffer as well.
For the non-Nvidia vendors that implemented this is:
      - Qualcomm's Adreno 4xx
      - IMGTec's PowerVR Rogue
This commit is contained in:
Ryan Houdek
2015-09-01 05:23:43 -05:00
parent b9ea9c05ad
commit 7a35f9285b
4 changed files with 53 additions and 14 deletions

View File

@ -21,6 +21,13 @@ enum GLSL_VERSION
GLSLES_310, // GLES 3.1
GLSLES_320, // GLES 3.2
};
enum class ES_TEXBUF_TYPE
{
TEXBUF_NONE,
TEXBUF_CORE,
TEXBUF_OES,
TEXBUF_EXT
};
// ogl-only config, so not in VideoConfig.h
struct VideoConfig
@ -39,6 +46,7 @@ struct VideoConfig
bool bSupportsDebug;
bool bSupportsCopySubImage;
u8 SupportedESPointSize;
ES_TEXBUF_TYPE SupportedESTextureBuffer;
const char* gl_vendor;
const char* gl_renderer;