| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index 91201009668b2772edce756570920b4c12018a0f..2c46f9b343a1c54419cec89dd2a65833ab8c17bd 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -155,7 +155,7 @@ GrGLGpu::GrGLGpu(const GrGLContext& ctx, GrContext* context)
|
| fTempDstFBOID = 0;
|
| fStencilClearFBOID = 0;
|
|
|
| - if (this->glCaps().pathRenderingSupport()) {
|
| + if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
|
| fPathRendering.reset(new GrGLPathRendering(this));
|
| }
|
| }
|
| @@ -188,7 +188,7 @@ void GrGLGpu::contextAbandoned() {
|
| fTempSrcFBOID = 0;
|
| fTempDstFBOID = 0;
|
| fStencilClearFBOID = 0;
|
| - if (this->glCaps().pathRenderingSupport()) {
|
| + if (this->glCaps().shaderCaps()->pathRenderingSupport()) {
|
| this->glPathRendering()->abandonGpuResources();
|
| }
|
| }
|
| @@ -335,7 +335,7 @@ void GrGLGpu::onResetContext(uint32_t resetBits) {
|
| }
|
|
|
| if (resetBits & kPathRendering_GrGLBackendState) {
|
| - if (this->caps()->pathRenderingSupport()) {
|
| + if (this->caps()->shaderCaps()->pathRenderingSupport()) {
|
| this->glPathRendering()->resetContext();
|
| }
|
| }
|
|
|