diff options
author | 2015-04-16 11:22:42 -0700 | |
---|---|---|
committer | 2015-04-16 11:22:42 -0700 | |
commit | 8dc7c3a839b38b73af34cc2674a06f49eb1ce527 (patch) | |
tree | 8e0b5386124df537472c66769a73a276351d95f0 /src/gpu/gl/GrGLGpu.h | |
parent | 9c798207b7c710148d7f2989e877a7ece62edd5e (diff) |
Rename GrStencilBuffer to GrStencilAttachment
BUG=skia:
Review URL: https://codereview.chromium.org/1083133002
Diffstat (limited to 'src/gpu/gl/GrGLGpu.h')
-rw-r--r-- | src/gpu/gl/GrGLGpu.h | 7 |
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; |