mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-25 02:38:42 +00: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:
parent
b9ea9c05ad
commit
7a35f9285b
4 changed files with 53 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue