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

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

Issue 29143005: Constify SkFlattenable::getFactory(). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/core/SkFlattenableBuffers.cpp ('k') | src/core/SkOrderedWriteBuffer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkOrderedWriteBuffer_DEFINED 9 #ifndef SkOrderedWriteBuffer_DEFINED
10 #define SkOrderedWriteBuffer_DEFINED 10 #define SkOrderedWriteBuffer_DEFINED
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual void writeScalar(SkScalar value) SK_OVERRIDE; 52 virtual void writeScalar(SkScalar value) SK_OVERRIDE;
53 virtual void writeScalarArray(const SkScalar* value, uint32_t count) SK_OVER RIDE; 53 virtual void writeScalarArray(const SkScalar* value, uint32_t count) SK_OVER RIDE;
54 virtual void writeInt(int32_t value) SK_OVERRIDE; 54 virtual void writeInt(int32_t value) SK_OVERRIDE;
55 virtual void writeIntArray(const int32_t* value, uint32_t count) SK_OVERRIDE ; 55 virtual void writeIntArray(const int32_t* value, uint32_t count) SK_OVERRIDE ;
56 virtual void writeUInt(uint32_t value) SK_OVERRIDE; 56 virtual void writeUInt(uint32_t value) SK_OVERRIDE;
57 virtual void write32(int32_t value) SK_OVERRIDE; 57 virtual void write32(int32_t value) SK_OVERRIDE;
58 virtual void writeString(const char* value) SK_OVERRIDE; 58 virtual void writeString(const char* value) SK_OVERRIDE;
59 virtual void writeEncodedString(const void* value, size_t byteLength, 59 virtual void writeEncodedString(const void* value, size_t byteLength,
60 SkPaint::TextEncoding encoding) SK_OVERRIDE; 60 SkPaint::TextEncoding encoding) SK_OVERRIDE;
61 61
62 virtual void writeFlattenable(SkFlattenable* flattenable) SK_OVERRIDE; 62 virtual void writeFlattenable(const SkFlattenable* flattenable) SK_OVERRIDE;
63 virtual void writeColor(const SkColor& color) SK_OVERRIDE; 63 virtual void writeColor(const SkColor& color) SK_OVERRIDE;
64 virtual void writeColorArray(const SkColor* color, uint32_t count) SK_OVERRI DE; 64 virtual void writeColorArray(const SkColor* color, uint32_t count) SK_OVERRI DE;
65 virtual void writePoint(const SkPoint& point) SK_OVERRIDE; 65 virtual void writePoint(const SkPoint& point) SK_OVERRIDE;
66 virtual void writePointArray(const SkPoint* point, uint32_t count) SK_OVERRI DE; 66 virtual void writePointArray(const SkPoint* point, uint32_t count) SK_OVERRI DE;
67 virtual void writeMatrix(const SkMatrix& matrix) SK_OVERRIDE; 67 virtual void writeMatrix(const SkMatrix& matrix) SK_OVERRIDE;
68 virtual void writeIRect(const SkIRect& rect)SK_OVERRIDE; 68 virtual void writeIRect(const SkIRect& rect)SK_OVERRIDE;
69 virtual void writeRect(const SkRect& rect) SK_OVERRIDE; 69 virtual void writeRect(const SkRect& rect) SK_OVERRIDE;
70 virtual void writeRegion(const SkRegion& region) SK_OVERRIDE; 70 virtual void writeRegion(const SkRegion& region) SK_OVERRIDE;
71 virtual void writePath(const SkPath& path) SK_OVERRIDE; 71 virtual void writePath(const SkPath& path) SK_OVERRIDE;
72 virtual size_t writeStream(SkStream* stream, size_t length) SK_OVERRIDE; 72 virtual size_t writeStream(SkStream* stream, size_t length) SK_OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 SkBitmapHeap* fBitmapHeap; 109 SkBitmapHeap* fBitmapHeap;
110 SkRefCntSet* fTFSet; 110 SkRefCntSet* fTFSet;
111 111
112 SkPicture::EncodeBitmap fBitmapEncoder; 112 SkPicture::EncodeBitmap fBitmapEncoder;
113 113
114 typedef SkFlattenableWriteBuffer INHERITED; 114 typedef SkFlattenableWriteBuffer INHERITED;
115 }; 115 };
116 116
117 #endif // SkOrderedWriteBuffer_DEFINED 117 #endif // SkOrderedWriteBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkFlattenableBuffers.cpp ('k') | src/core/SkOrderedWriteBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698