| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |