| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #ifndef SkBitmapDevice_DEFINED | 9 #ifndef SkBitmapDevice_DEFINED |
| 10 #define SkBitmapDevice_DEFINED | 10 #define SkBitmapDevice_DEFINED |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // used to change the backend's pixels (and possibly config/rowbytes) | 149 // used to change the backend's pixels (and possibly config/rowbytes) |
| 150 // but cannot change the width/height, so there should be no change to | 150 // but cannot change the width/height, so there should be no change to |
| 151 // any clip information. | 151 // any clip information. |
| 152 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) SK_OVERRI
DE; | 152 virtual void replaceBitmapBackendForRasterSurface(const SkBitmap&) SK_OVERRI
DE; |
| 153 | 153 |
| 154 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; | 154 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; |
| 155 | 155 |
| 156 virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE; | 156 virtual SkSurface* newSurface(const SkImageInfo&) SK_OVERRIDE; |
| 157 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE; | 157 virtual const void* peekPixels(SkImageInfo*, size_t* rowBytes) SK_OVERRIDE; |
| 158 | 158 |
| 159 virtual SkImageFilter::UniqueIDCache* getImageFilterCache() SK_OVERRIDE; |
| 160 |
| 159 SkBitmap fBitmap; | 161 SkBitmap fBitmap; |
| 160 | 162 |
| 161 typedef SkBaseDevice INHERITED; | 163 typedef SkBaseDevice INHERITED; |
| 162 }; | 164 }; |
| 163 | 165 |
| 164 #endif // SkBitmapDevice_DEFINED | 166 #endif // SkBitmapDevice_DEFINED |
| OLD | NEW |