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

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

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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/SkBlitter.cpp ('k') | src/core/SkBuffer.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 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
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 9
10 #ifndef SkBuffer_DEFINED 10 #ifndef SkBuffer_DEFINED
11 #define SkBuffer_DEFINED 11 #define SkBuffer_DEFINED
12 12
13 #include "SkScalar.h" 13 #include "SkScalar.h"
14 #include "SkTypes.h"
14 15
15 /** \class SkRBuffer 16 /** \class SkRBuffer
16 17
17 Light weight class for reading data from a memory block. 18 Light weight class for reading data from a memory block.
18 The RBuffer is given the buffer to read from, with either a specified size 19 The RBuffer is given the buffer to read from, with either a specified size
19 or no size (in which case no range checking is performed). It is iillegal 20 or no size (in which case no range checking is performed). It is iillegal
20 to attempt to read a value from an empty RBuffer (data == null). 21 to attempt to read a value from an empty RBuffer (data == null).
21 */ 22 */
22 class SkRBuffer : SkNoncopyable { 23 class SkRBuffer : SkNoncopyable {
23 public: 24 public:
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 162
162 private: 163 private:
163 void writeNoSizeCheck(const void* buffer, size_t size); 164 void writeNoSizeCheck(const void* buffer, size_t size);
164 165
165 char* fData; 166 char* fData;
166 char* fPos; 167 char* fPos;
167 char* fStop; 168 char* fStop;
168 }; 169 };
169 170
170 #endif 171 #endif
OLDNEW
« no previous file with comments | « src/core/SkBlitter.cpp ('k') | src/core/SkBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698