aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-09-02 07:54:47 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-02 07:54:47 -0700
commited82c4e822dff3405b0a6ba9c9d054825cb03b13 (patch)
treed557482f67e2450b0c4c8e851f9297bc15aba4ff /src/gpu/gl/GrGLCaps.cpp
parent4d6484e764ef8d38efc841e74922d61360ff8667 (diff)
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
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}