diff options
author | Jose Maria Casanova Crespo <jmcasanova@igalia.com> | 2021-06-08 14:52:17 +0200 |
---|---|---|
committer | Jose Maria Casanova Crespo <jmcasanova@igalia.com> | 2021-06-14 21:36:13 +0200 |
commit | 9adb13e296baead53112a268ddfd291195742c71 (patch) | |
tree | fced23a482a6a0e740324dc97ac51ec16168c3d0 /glamor/glamor.c | |
parent | 104c7c50485238a1e8c2090dc96126e9624ef870 (diff) |
glamor: Avoid using GL_QUADS on V3D
Like in 0e3f1252dacdc3194 ("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>
Diffstat (limited to 'glamor/glamor.c')
-rw-r--r-- | glamor/glamor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c index b8406f42d..41034485f 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -817,7 +817,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); |