OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "SkDevice.h" | 8 #include "SkDevice.h" |
9 #include "SkMetaData.h" | 9 #include "SkMetaData.h" |
10 | 10 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 srcRect.fLeft, | 110 srcRect.fLeft, |
111 srcRect.fTop, | 111 srcRect.fTop, |
112 config8888); | 112 config8888); |
113 if (result && bmp == &tmp) { | 113 if (result && bmp == &tmp) { |
114 tmp.swap(*bitmap); | 114 tmp.swap(*bitmap); |
115 } | 115 } |
116 return result; | 116 return result; |
117 } | 117 } |
118 | 118 |
119 SkSurface* SkBaseDevice::newSurface(const SkImageInfo&) { return NULL; } | 119 SkSurface* SkBaseDevice::newSurface(const SkImageInfo&) { return NULL; } |
| 120 |
| 121 const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; } |
OLD | NEW |