| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 The Android Open Source Project |
| 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 SkPixelRef_DEFINED | 8 #ifndef SkPixelRef_DEFINED |
| 9 #define SkPixelRef_DEFINED | 9 #define SkPixelRef_DEFINED |
| 10 | 10 |
| 11 #include "SkAtomics.h" | 11 #include "../private/SkAtomics.h" |
| 12 #include "SkBitmap.h" | 12 #include "SkBitmap.h" |
| 13 #include "SkFilterQuality.h" | 13 #include "SkFilterQuality.h" |
| 14 #include "SkImageInfo.h" | 14 #include "SkImageInfo.h" |
| 15 #include "SkMutex.h" | 15 #include "SkMutex.h" |
| 16 #include "SkPixmap.h" | 16 #include "SkPixmap.h" |
| 17 #include "SkRefCnt.h" | 17 #include "SkRefCnt.h" |
| 18 #include "SkSize.h" | 18 #include "SkSize.h" |
| 19 #include "SkString.h" | 19 #include "SkString.h" |
| 20 #include "SkTDArray.h" | 20 #include "SkTDArray.h" |
| 21 | 21 |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 /** | 398 /** |
| 399 * Allocate a new pixelref matching the specified ImageInfo, allocating | 399 * Allocate a new pixelref matching the specified ImageInfo, allocating |
| 400 * the memory for the pixels. If the ImageInfo requires a ColorTable, | 400 * the memory for the pixels. If the ImageInfo requires a ColorTable, |
| 401 * the pixelref will ref() the colortable. | 401 * the pixelref will ref() the colortable. |
| 402 * On failure return NULL. | 402 * On failure return NULL. |
| 403 */ | 403 */ |
| 404 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable
*) = 0; | 404 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable
*) = 0; |
| 405 }; | 405 }; |
| 406 | 406 |
| 407 #endif | 407 #endif |
| OLD | NEW |