Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index f6a48d7589869af0714572051c75f64ed0a8973c..29d63fbd4feae7536cc6af633f2ce9bb0e658a9a 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -14,7 +14,7 @@ |
#include "GrGLPathRendering.h" |
#include "GrGLProgram.h" |
#include "GrGLRenderTarget.h" |
-#include "GrGLStencilBuffer.h" |
+#include "GrGLStencilAttachment.h" |
#include "GrGLTexture.h" |
#include "GrGLVertexArray.h" |
#include "GrGLVertexBuffer.h" |
@@ -122,8 +122,9 @@ private: |
GrIndexBuffer* onCreateIndexBuffer(size_t size, bool dynamic) override; |
GrTexture* onWrapBackendTexture(const GrBackendTextureDesc&) override; |
GrRenderTarget* onWrapBackendRenderTarget(const GrBackendRenderTargetDesc&) override; |
- bool createStencilBufferForRenderTarget(GrRenderTarget* rt, int width, int height) override; |
- bool attachStencilBufferToRenderTarget(GrStencilBuffer* sb, GrRenderTarget* rt) override; |
+ bool createStencilAttachmentForRenderTarget(GrRenderTarget* rt, int width, int height) override; |
+ bool attachStencilAttachmentToRenderTarget(GrStencilAttachment* sb, |
+ GrRenderTarget* rt) override; |
void onClear(GrRenderTarget*, const SkIRect* rect, GrColor color, |
bool canIgnoreRect) override; |