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:
Connor McLaughlin 2021-06-21 22:16:30 +10:00
parent 859c78fdc0
commit 9d26a85967

View file

@ -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;
}