Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index ee87a39089faa426d7e76d744fd6054790a6d845..6272aba12794a0d8cb3f2a6911ef77e82b39c0b9 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -380,6 +380,11 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) { |
GR_GL_GetIntegerv(gli, GR_GL_MAX_SAMPLES, &fMaxSampleCount); |
} |
+ if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() || |
+ kPowerVRRogue_GrGLRenderer == ctxInfo.renderer()) { |
+ fUseDrawInsteadOfClear = true; |
+ } |
+ |
this->initConfigTexturableTable(ctxInfo, gli); |
this->initConfigRenderableTable(ctxInfo); |