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

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

Issue 1937053002: Remove (almost) unused read/writeFunctionPtr API. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « src/core/SkReadBuffer.cpp ('k') | src/core/SkValidatingReadBuffer.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 * Copyright 2013 Google Inc. 2 * Copyright 2013 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 SkValidatingReadBuffer_DEFINED 8 #ifndef SkValidatingReadBuffer_DEFINED
9 #define SkValidatingReadBuffer_DEFINED 9 #define SkValidatingReadBuffer_DEFINED
10 10
(...skipping 27 matching lines...) Expand all
38 int32_t read32() override; 38 int32_t read32() override;
39 39
40 // peek 40 // peek
41 uint8_t peekByte() override; 41 uint8_t peekByte() override;
42 42
43 // strings -- the caller is responsible for freeing the string contents 43 // strings -- the caller is responsible for freeing the string contents
44 void readString(SkString* string) override; 44 void readString(SkString* string) override;
45 45
46 // common data structures 46 // common data structures
47 SkFlattenable* readFlattenable(SkFlattenable::Type type) override; 47 SkFlattenable* readFlattenable(SkFlattenable::Type type) override;
48 void skipFlattenable() override;
49 void readPoint(SkPoint* point) override; 48 void readPoint(SkPoint* point) override;
50 void readMatrix(SkMatrix* matrix) override; 49 void readMatrix(SkMatrix* matrix) override;
51 void readIRect(SkIRect* rect) override; 50 void readIRect(SkIRect* rect) override;
52 void readRect(SkRect* rect) override; 51 void readRect(SkRect* rect) override;
53 void readRRect(SkRRect* rrect) override; 52 void readRRect(SkRRect* rrect) override;
54 void readRegion(SkRegion* region) override; 53 void readRegion(SkRegion* region) override;
55 void readPath(SkPath* path) override; 54 void readPath(SkPath* path) override;
56 55
57 // binary data and arrays 56 // binary data and arrays
58 bool readByteArray(void* value, size_t size) override; 57 bool readByteArray(void* value, size_t size) override;
(...skipping 21 matching lines...) Expand all
80 static bool IsPtrAlign4(const void* ptr) { 79 static bool IsPtrAlign4(const void* ptr) {
81 return SkIsAlign4((uintptr_t)ptr); 80 return SkIsAlign4((uintptr_t)ptr);
82 } 81 }
83 82
84 bool fError; 83 bool fError;
85 84
86 typedef SkReadBuffer INHERITED; 85 typedef SkReadBuffer INHERITED;
87 }; 86 };
88 87
89 #endif // SkValidatingReadBuffer_DEFINED 88 #endif // SkValidatingReadBuffer_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkReadBuffer.cpp ('k') | src/core/SkValidatingReadBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698