mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
[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:
@ -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;
|
||||
|
Reference in New Issue
Block a user