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

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

Issue 1897453002: exernalize imagefactory guard (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « gyp/skia_for_android_framework_defines.gypi ('k') | public.bzl » ('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
(...skipping 10 matching lines...) Expand all
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 GrContext; 27 class GrContext;
28 class GrContextThreadSafeProxy; 28 class GrContextThreadSafeProxy;
29 class GrTexture; 29 class GrTexture;
30 30
31 #define SK_SUPPORT_LEGACY_IMAGEFACTORY
32
33 /** 31 /**
34 * SkImage is an abstraction for drawing a rectagle of pixels, though the 32 * SkImage is an abstraction for drawing a rectagle of pixels, though the
35 * particular type of image could be actually storing its data on the GPU, or 33 * particular type of image could be actually storing its data on the GPU, or
36 * as drawing commands (picture or PDF or otherwise), ready to be played back 34 * as drawing commands (picture or PDF or otherwise), ready to be played back
37 * into another canvas. 35 * into another canvas.
38 * 36 *
39 * The content of SkImage is always immutable, though the actual storage may 37 * The content of SkImage is always immutable, though the actual storage may
40 * change, if for example that image can be re-created via encoded data or 38 * change, if for example that image can be re-created via encoded data or
41 * other means. 39 * other means.
42 * 40 *
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 423
426 private: 424 private:
427 const int fWidth; 425 const int fWidth;
428 const int fHeight; 426 const int fHeight;
429 const uint32_t fUniqueID; 427 const uint32_t fUniqueID;
430 428
431 typedef SkRefCnt INHERITED; 429 typedef SkRefCnt INHERITED;
432 }; 430 };
433 431
434 #endif 432 #endif
OLDNEW
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | public.bzl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698