GPU: Add a simplified OpenGL ES renderer

Seems this is the only way to get semi-decent performance out of Mali
drivers :/
This commit is contained in:
Connor McLaughlin
2019-12-07 01:37:27 +10:00
parent b53e32e84f
commit c284d3835f
9 changed files with 761 additions and 17 deletions

View File

@ -114,6 +114,9 @@ void GPU_HW_OpenGL::SetCapabilities(HostDisplay* host_display)
{
m_is_gles = (host_display->GetRenderAPI() == HostDisplay::RenderAPI::OpenGLES);
Log_InfoPrintf("GL_VERSION: %s", glGetString(GL_VERSION));
Log_InfoPrintf("GL_RENDERER: %s", glGetString(GL_VERSION));
GLint max_texture_size = VRAM_WIDTH;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_texture_size);
Log_InfoPrintf("Max texture size: %dx%d", max_texture_size, max_texture_size);