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

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

Issue 1372153006: SkImage doesn't use props, so don't need to store it (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | src/image/SkImage.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 2012 Google Inc. 2 * Copyright 2012 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 SkImage_DEFINED 8 #ifndef SkImage_DEFINED
9 #define SkImage_DEFINED 9 #define SkImage_DEFINED
10 10
11 #include "SkFilterQuality.h" 11 #include "SkFilterQuality.h"
12 #include "SkImageInfo.h" 12 #include "SkImageInfo.h"
13 #include "SkImageEncoder.h" 13 #include "SkImageEncoder.h"
14 #include "SkRefCnt.h" 14 #include "SkRefCnt.h"
15 #include "SkScalar.h" 15 #include "SkScalar.h"
16 #include "SkShader.h" 16 #include "SkShader.h"
17 17
18 class SkData; 18 class SkData;
19 class SkCanvas; 19 class SkCanvas;
20 class SkColorTable; 20 class SkColorTable;
21 class SkImageGenerator; 21 class SkImageGenerator;
22 class SkPaint; 22 class SkPaint;
23 class SkPicture; 23 class SkPicture;
24 class SkPixelSerializer; 24 class SkPixelSerializer;
25 class SkString; 25 class SkString;
26 class SkSurface; 26 class SkSurface;
27 class SkSurfaceProps;
28 class GrContext; 27 class GrContext;
29 class GrTexture; 28 class GrTexture;
30 29
31 /** 30 /**
32 * SkImage is an abstraction for drawing a rectagle of pixels, though the 31 * SkImage is an abstraction for drawing a rectagle of pixels, though the
33 * particular type of image could be actually storing its data on the GPU, or 32 * particular type of image could be actually storing its data on the GPU, or
34 * as drawing commands (picture or PDF or otherwise), ready to be played back 33 * as drawing commands (picture or PDF or otherwise), ready to be played back
35 * into another canvas. 34 * into another canvas.
36 * 35 *
37 * The content of SkImage is always immutable, though the actual storage may 36 * The content of SkImage is always immutable, though the actual storage may
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 309
311 private: 310 private:
312 const int fWidth; 311 const int fWidth;
313 const int fHeight; 312 const int fHeight;
314 const uint32_t fUniqueID; 313 const uint32_t fUniqueID;
315 314
316 typedef SkRefCnt INHERITED; 315 typedef SkRefCnt INHERITED;
317 }; 316 };
318 317
319 #endif 318 #endif
OLDNEW
« no previous file with comments | « no previous file | src/image/SkImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698