Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: src/core/SkPictureRangePlayback.h

Issue 540543002: Switch Layer Hoisting over to SkRecord backend (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPictureRangePlayback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureRangePlayback.h
diff --git a/src/core/SkPictureRangePlayback.h b/src/core/SkPictureRangePlayback.h
deleted file mode 100644
index ee114bde138f3e42ad20a8369f9ebf8c6780a042..0000000000000000000000000000000000000000
--- a/src/core/SkPictureRangePlayback.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-/*
- * Copyright 2014 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkPictureRangePlayback_DEFINED
-#define SkPictureRangePlayback_DEFINED
-
-#include "SkPicturePlayback.h"
-
-// This version of picture playback plays all the operations between
-// a pair of start and stop values.
-// The opcode at 'start' should be a saveLayer while the opcode at
-// 'stop' should be a restore. Neither of those commands will be issued.
-// Since this class never uses the bounding box hierarchy, the base class'
-// useBBH setting is ignored.
-class SkPictureRangePlayback : public SkPicturePlayback {
-public:
- // Set both start & stop to 0 to disable draw limiting. Note that disabling
- // draw limiting isn't the same as using the base SkPicturePlayback object
- // since this class never uses the bounding box hierarchy information.
- SkPictureRangePlayback(const SkPicture* picture, size_t start, size_t stop)
- : INHERITED(picture)
- , fStart(start)
- , fStop(stop) {
- }
-
- virtual void draw(SkCanvas* canvas, SkDrawPictureCallback*) SK_OVERRIDE;
-
-private:
- size_t fStart;
- size_t fStop;
-
- typedef SkPicturePlayback INHERITED;
-};
-
-
-#endif
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPictureRangePlayback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698