OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 SkGrPixelRef_DEFINED | 8 #ifndef SkGrPixelRef_DEFINED |
9 #define SkGrPixelRef_DEFINED | 9 #define SkGrPixelRef_DEFINED |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 bool onReadPixels(SkBitmap* dst, SkColorType, const SkIRect* subset) overrid
e; | 52 bool onReadPixels(SkBitmap* dst, SkColorType, const SkIRect* subset) overrid
e; |
53 SkPixelRef* deepCopy(SkColorType, SkColorSpace*, const SkIRect* subset) over
ride; | 53 SkPixelRef* deepCopy(SkColorType, SkColorSpace*, const SkIRect* subset) over
ride; |
54 void onNotifyPixelsChanged() override; | 54 void onNotifyPixelsChanged() override; |
55 | 55 |
56 private: | 56 private: |
57 GrSurface* fSurface; | 57 GrSurface* fSurface; |
58 typedef SkROLockPixelsPixelRef INHERITED; | 58 typedef SkROLockPixelsPixelRef INHERITED; |
59 }; | 59 }; |
60 | 60 |
61 #endif | 61 #endif |
OLD | NEW |