diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index eaae49ecaf..49cea63a37 100644 --- a/include/gpu/GrRenderTarget.h +++ b/include/gpu/GrRenderTarget.h @@ -29,20 +29,6 @@ public: const GrRenderTarget* asRenderTarget() const SK_OVERRIDE { return this; } // GrRenderTarget - /** - * If this RT is multisampled, this is the multisample buffer - * @return the 3D API's handle to this object (e.g. FBO ID in OpenGL) - */ - virtual GrBackendObject getRenderTargetHandle() const = 0; - - /** - * If this RT is multisampled, this is the buffer it is resolved to. - * Otherwise, same as getRenderTargetHandle(). - * (In GL a separate FBO ID is used for the MSAA and resolved buffers) - * @return the 3D API's handle to this object (e.g. FBO ID in OpenGL) - */ - virtual GrBackendObject getRenderTargetResolvedHandle() const = 0; - /** * @return true if the surface is multisampled, false otherwise */ diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h index ed1e2b35d8..4d08c1493a 100644 --- a/src/gpu/gl/GrGLRenderTarget.h +++ b/src/gpu/gl/GrGLRenderTarget.h @@ -42,8 +42,6 @@ public: GrGLuint textureFBOID() const { return fTexFBOID; } // override of GrRenderTarget - GrBackendObject getRenderTargetHandle() const SK_OVERRIDE { return this->renderFBOID(); } - GrBackendObject getRenderTargetResolvedHandle() const SK_OVERRIDE { return this->textureFBOID(); } ResolveType getResolveType() const SK_OVERRIDE { if (!this->isMultisampled() || fRTFBOID == fTexFBOID) {