Index: src/gpu/GrGpu.cpp |
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp |
index 74e9419e7485e12fdd4f3104e6ba2c65ccf7789b..d97809f9520c671b9cfbc974858a78d938255a50 100644 |
--- a/src/gpu/GrGpu.cpp |
+++ b/src/gpu/GrGpu.cpp |
@@ -209,13 +209,6 @@ void GrGpu::resolveRenderTarget(GrRenderTarget* target) { |
this->onResolveRenderTarget(target); |
} |
-void GrGpu::initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) { |
- // Make the dst of the copy be a render target because the default copySurface draws to the dst. |
- desc->fOrigin = kDefault_GrSurfaceOrigin; |
- desc->fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag; |
- desc->fConfig = src->config(); |
-} |
- |
typedef GrTraceMarkerSet::Iter TMIter; |
void GrGpu::saveActiveTraceMarkers() { |
if (this->caps()->gpuTracingSupport()) { |