From ed82c4e822dff3405b0a6ba9c9d054825cb03b13 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 2 Sep 2014 07:54:47 -0700 Subject: Use non-VBO vertex arrays on QC GPUs. BUG=skia:2901 R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/529993003 --- src/gpu/gl/GrGLCaps.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gpu/gl/GrGLCaps.cpp') diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index f9030d84d7..5acb92254c 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -209,7 +209,9 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { // data for dynamic content on these GPUs. Perhaps we should read the renderer string and // limit this decision to specific GPU families rather than basing it on the vendor alone. if (!GR_GL_MUST_USE_VBO && - (kARM_GrGLVendor == ctxInfo.vendor() || kImagination_GrGLVendor == ctxInfo.vendor())) { + (kARM_GrGLVendor == ctxInfo.vendor() || + kImagination_GrGLVendor == ctxInfo.vendor() || + kQualcomm_GrGLVendor == ctxInfo.vendor())) { fUseNonVBOVertexAndIndexDynamicData = true; } -- cgit v1.2.3