aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPictureRecorder.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@google.com>2016-08-15 12:56:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-15 12:56:00 -0700
commit8bbbb696cdc1351f615bc52ee119cfa384f77f30 (patch)
tree095e68caa0c3ea745c096a519d952565455a5788 /include/core/SkPictureRecorder.h
parent6fb0648c35aead138e65133c031d2b4fe5c8f0c7 (diff)
Revert of add parallel public API for recording SkLiteDL. (patchset #1 id:1 of https://codereview.chromium.org/2246893002/ )
Reason for revert: looking like we won't need this Original issue's description: > add parallel public API for recording SkLiteDL. > > The API is restricted to pretty much just what Derek calls, > but it's enough that we can switch testing over to use it. > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246893002 > > Committed: https://skia.googlesource.com/skia/+/ced26a3d6b77d3a6744a8ccb8eff23eda45fc867 TBR=djsollen@google.com,reed@google.com,mtklein@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review-Url: https://codereview.chromium.org/2243393002
Diffstat (limited to 'include/core/SkPictureRecorder.h')
-rw-r--r--include/core/SkPictureRecorder.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 96e7aa019d..f20a06adf4 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -140,30 +140,4 @@ private:
typedef SkNoncopyable INHERITED;
};
-class SkLiteDL;
-class SkLiteRecorder;
-
-// A similar API to SkPictureRecorder, wrapping SkLiteRecorder and SkLiteDL.
-class SK_API SkPictureRecorder_Lite : SkNoncopyable {
-public:
- SkPictureRecorder_Lite();
- ~SkPictureRecorder_Lite();
-
- SkCanvas* beginRecording(const SkRect& bounds);
- SkCanvas* beginRecording(SkScalar w, SkScalar h) {
- return this->beginRecording(SkRect::MakeWH(w,h));
- }
-
- SkCanvas* getRecordingCanvas();
-
- void optimizeFor(GrContext* ctx) { fGrContextToOptimizeFor = ctx; }
-
- sk_sp<SkDrawable> finishRecordingAsDrawable(uint32_t ignored = 0);
-
-private:
- std::unique_ptr<SkLiteRecorder> fRecorder;
- sk_sp<SkLiteDL> fDL;
- GrContext* fGrContextToOptimizeFor = nullptr;
-};
-
#endif