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

Side by Side Diff: include/core/SkColorTable.h

Issue 71813002: move SkImageInfo into its own header (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | « include/core/SkBitmap.h ('k') | include/core/SkImage.h » ('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 2012 Google Inc. 3 * Copyright 2012 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 9
10 #ifndef SkColorTable_DEFINED 10 #ifndef SkColorTable_DEFINED
11 #define SkColorTable_DEFINED 11 #define SkColorTable_DEFINED
12 12
13 #include "SkAlpha.h"
14 #include "SkColor.h" 13 #include "SkColor.h"
15 #include "SkFlattenable.h" 14 #include "SkFlattenable.h"
15 #include "SkImageInfo.h"
16 16
17 /** \class SkColorTable 17 /** \class SkColorTable
18 18
19 SkColorTable holds an array SkPMColors (premultiplied 32-bit colors) used by 19 SkColorTable holds an array SkPMColors (premultiplied 32-bit colors) used by
20 8-bit bitmaps, where the bitmap bytes are interpreted as indices into the co lortable. 20 8-bit bitmaps, where the bitmap bytes are interpreted as indices into the co lortable.
21 */ 21 */
22 class SkColorTable : public SkRefCnt { 22 class SkColorTable : public SkRefCnt {
23 public: 23 public:
24 SK_DECLARE_INST_COUNT(SkColorTable) 24 SK_DECLARE_INST_COUNT(SkColorTable)
25 25
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 uint8_t fAlphaType; 85 uint8_t fAlphaType;
86 SkDEBUGCODE(int fColorLockCount;) 86 SkDEBUGCODE(int fColorLockCount;)
87 SkDEBUGCODE(int f16BitCacheLockCount;) 87 SkDEBUGCODE(int f16BitCacheLockCount;)
88 88
89 void inval16BitCache(); 89 void inval16BitCache();
90 90
91 typedef SkRefCnt INHERITED; 91 typedef SkRefCnt INHERITED;
92 }; 92 };
93 93
94 #endif 94 #endif
OLDNEW
« no previous file with comments | « include/core/SkBitmap.h ('k') | include/core/SkImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698