aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkSurface_Gpu.cpp
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-03-15 08:01:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-15 12:55:06 +0000
commit38eb740b945626d45bcd44a9fd69573955205b68 (patch)
treea4b99fdd2b3f2663bd579799228400a12b3a5507 /src/image/SkSurface_Gpu.cpp
parent0fe4ed8598e76c7813adfeee2242b0564b06a3f2 (diff)
Remove SK_RASTER_RECORDER_IMPLEMENTATION
TBR=bsalomon@google.com Change-Id: I9608ce5ce2b9d38c5e356d8428a8ff05df6ccda7 Reviewed-on: https://skia-review.googlesource.com/114490 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/image/SkSurface_Gpu.cpp')
-rw-r--r--src/image/SkSurface_Gpu.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/image/SkSurface_Gpu.cpp b/src/image/SkSurface_Gpu.cpp
index a96131337f..527c35b16a 100644
--- a/src/image/SkSurface_Gpu.cpp
+++ b/src/image/SkSurface_Gpu.cpp
@@ -228,17 +228,11 @@ bool SkSurface_Gpu::onDraw(const SkDeferredDisplayList* ddl) {
return false;
}
-#ifdef SK_RASTER_RECORDER_IMPLEMENTATION
- // Ultimately need to pass opLists from the DeferredDisplayList on to the
- // SkGpuDevice's renderTargetContext.
- return ddl->draw(this);
-#else
GrRenderTargetContext* rtc = fDevice->accessRenderTargetContext();
GrContext* ctx = fDevice->context();
ctx->contextPriv().copyOpListsFromDDL(ddl, rtc->asRenderTargetProxy());
return true;
-#endif
}