glamor: Avoid using GL_QUADS on V3D
Like in0e3f1252da
("glamor: Avoid using GL_QUADS on VC4") this will avoid mesa to fallback doing conversion for QUADS primitives. Signed-off-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Reviewed-by: Emma Anholt <emma@anholt.net> (cherry picked from commit9adb13e296
)
This commit is contained in:
parent
d16f640315
commit
22449f6300
|
@ -654,7 +654,8 @@ glamor_init(ScreenPtr screen, unsigned int flags)
|
|||
* cached IB.
|
||||
*/
|
||||
if (strstr((char *)glGetString(GL_VENDOR), "Broadcom") &&
|
||||
strstr((char *)glGetString(GL_RENDERER), "VC4"))
|
||||
(strstr((char *)glGetString(GL_RENDERER), "VC4") ||
|
||||
strstr((char *)glGetString(GL_RENDERER), "V3D")))
|
||||
glamor_priv->use_quads = FALSE;
|
||||
|
||||
glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE, &glamor_priv->max_fbo_size);
|
||||
|
|
Loading…
Reference in New Issue