aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-04-16 11:22:42 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-16 11:22:42 -0700
commit8dc7c3a839b38b73af34cc2674a06f49eb1ce527 (patch)
tree8e0b5386124df537472c66769a73a276351d95f0 /src/gpu/gl/GrGLGpu.h
parent9c798207b7c710148d7f2989e877a7ece62edd5e (diff)
Rename GrStencilBuffer to GrStencilAttachment
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r--src/gpu/gl/GrGLGpu.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h
index f6a48d7589..29d63fbd4f 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;