aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/SkDeferredDisplayList.h
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 /include/private/SkDeferredDisplayList.h
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 'include/private/SkDeferredDisplayList.h')
-rw-r--r--include/private/SkDeferredDisplayList.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/private/SkDeferredDisplayList.h b/include/private/SkDeferredDisplayList.h
index a3517bb6a0..4d379636a9 100644
--- a/include/private/SkDeferredDisplayList.h
+++ b/include/private/SkDeferredDisplayList.h
@@ -14,10 +14,6 @@
#include "GrOpList.h"
#endif
-#ifdef SK_RASTER_RECORDER_IMPLEMENTATION
-class SkImage; // DDL TODO: rm this since it is just for the temporary placeholder implementation
-#endif
-
class SkSurface;
/*
@@ -29,16 +25,6 @@ class SkSurface;
class SkDeferredDisplayList {
public:
-#ifdef SK_RASTER_RECORDER_IMPLEMENTATION
- SkDeferredDisplayList(const SkSurfaceCharacterization& characterization, sk_sp<SkImage> image)
- : fCharacterization(characterization)
- , fImage(std::move(image)) {
- }
-
- // DDL TODO: remove this. It is just scaffolding to get something up & running
- bool draw(SkSurface*) const;
-#endif
-
#if SK_SUPPORT_GPU
// This object is the source from which the lazy proxy backing the DDL will pull its backing
// texture when the DDL is replayed. It has to be separately ref counted bc the lazy proxy
@@ -67,16 +53,10 @@ private:
const SkSurfaceCharacterization fCharacterization;
-#ifdef SK_RASTER_RECORDER_IMPLEMENTATION
- sk_sp<SkImage> fImage;
-#else
-
#if SK_SUPPORT_GPU
SkTArray<sk_sp<GrOpList>> fOpLists;
#endif
sk_sp<LazyProxyData> fLazyProxyData;
-
-#endif
};
#endif