mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +00:00
OpenGLHostDisplay: Disable PBOs for streaming on Broadcom GPUs
glTexImage2D takes an extra 2-3ms when using PBOs for some reason, despite the extra copy application-side...
This commit is contained in:
parent
859c78fdc0
commit
9d26a85967
|
@ -402,7 +402,7 @@ bool OpenGLHostDisplay::InitializeRenderDevice(std::string_view shader_cache_dir
|
|||
{
|
||||
// Adreno seems to corrupt textures through PBOs...
|
||||
const char* gl_vendor = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
|
||||
if (std::strstr(gl_vendor, "Qualcomm"))
|
||||
if (std::strstr(gl_vendor, "Qualcomm") || std::strstr(gl_vendor, "Broadcom"))
|
||||
m_use_pbo_for_pixels = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue