| Index: src/gpu/gl/GrGLTextureRenderTarget.cpp
|
| diff --git a/src/gpu/gl/GrGLTextureRenderTarget.cpp b/src/gpu/gl/GrGLTextureRenderTarget.cpp
|
| index b6068a4e56efc5b250872df3ed7931251357d034..1fa0a21c41c84ba50f81e8187dec2697014493e9 100644
|
| --- a/src/gpu/gl/GrGLTextureRenderTarget.cpp
|
| +++ b/src/gpu/gl/GrGLTextureRenderTarget.cpp
|
| @@ -37,3 +37,16 @@ void GrGLTextureRenderTarget::dumpMemoryStatistics(
|
| traceMemoryDump->setMemoryBacking(dumpName.c_str(), "gl_texture",
|
| texture_id.c_str());
|
| }
|
| +
|
| +bool GrGLTextureRenderTarget::canAttemptStencilAttachment() const {
|
| + // The RT FBO of GrGLTextureRenderTarget is never created from a
|
| + // wrapped FBO.
|
| + return true;
|
| +}
|
| +
|
| +GrGLTextureRenderTarget* GrGLTextureRenderTarget::CreateWrapped(GrGLGpu* gpu,
|
| + const GrSurfaceDesc& desc,
|
| + const GrGLTexture::IDDesc& texIDDesc,
|
| + const GrGLRenderTarget::IDDesc& rtIDDesc) {
|
| + return new GrGLTextureRenderTarget(gpu, desc, texIDDesc, rtIDDesc);
|
| +}
|
|
|