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

Side by Side Diff: src/core/SkPictureRecord.h

Issue 803913005: Remove SkCanvas::isDrawingToLayer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPictureRecord_DEFINED 8 #ifndef SkPictureRecord_DEFINED
9 #define SkPictureRecord_DEFINED 9 #define SkPictureRecord_DEFINED
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 const SkPaint*) SK_OVERRIDE; 47 const SkPaint*) SK_OVERRIDE;
48 virtual void drawVertices(VertexMode, int vertexCount, 48 virtual void drawVertices(VertexMode, int vertexCount,
49 const SkPoint vertices[], const SkPoint texs[], 49 const SkPoint vertices[], const SkPoint texs[],
50 const SkColor colors[], SkXfermode*, 50 const SkColor colors[], SkXfermode*,
51 const uint16_t indices[], int indexCount, 51 const uint16_t indices[], int indexCount,
52 const SkPaint&) SK_OVERRIDE; 52 const SkPaint&) SK_OVERRIDE;
53 virtual void drawData(const void*, size_t) SK_OVERRIDE; 53 virtual void drawData(const void*, size_t) SK_OVERRIDE;
54 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 54 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
55 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 55 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
56 virtual void endCommentGroup() SK_OVERRIDE; 56 virtual void endCommentGroup() SK_OVERRIDE;
57 virtual bool isDrawingToLayer() const SK_OVERRIDE;
58 57
59 const SkTDArray<const SkPicture* >& getPictureRefs() const { 58 const SkTDArray<const SkPicture* >& getPictureRefs() const {
60 return fPictureRefs; 59 return fPictureRefs;
61 } 60 }
62 61
63 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const { 62 const SkTDArray<const SkTextBlob* >& getTextBlobRefs() const {
64 return fTextBlobRefs; 63 return fTextBlobRefs;
65 } 64 }
66 65
67 SkData* opData(bool deepCopy) const { 66 SkData* opData(bool deepCopy) const {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 239
241 uint32_t fRecordFlags; 240 uint32_t fRecordFlags;
242 int fInitialSaveCount; 241 int fInitialSaveCount;
243 242
244 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor 243 friend class SkPictureData; // for SkPictureData's SkPictureRecord-based c onstructor
245 244
246 typedef SkCanvas INHERITED; 245 typedef SkCanvas INHERITED;
247 }; 246 };
248 247
249 #endif 248 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698