OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 9 |
10 | 10 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const SkPaint&) SK_OVERRIDE; | 123 const SkPaint&) SK_OVERRIDE; |
124 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 124 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
125 const SkPaint&) SK_OVERRIDE; | 125 const SkPaint&) SK_OVERRIDE; |
126 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; | 126 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; |
127 | 127 |
128 virtual void flush() SK_OVERRIDE; | 128 virtual void flush() SK_OVERRIDE; |
129 | 129 |
130 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; | 130 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; |
131 virtual void onDetachFromCanvas() SK_OVERRIDE; | 131 virtual void onDetachFromCanvas() SK_OVERRIDE; |
132 | 132 |
| 133 virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE; |
| 134 |
133 /** | 135 /** |
134 * Make's this device's rendertarget current in the underlying 3D API. | 136 * Make's this device's rendertarget current in the underlying 3D API. |
135 * Also implicitly flushes. | 137 * Also implicitly flushes. |
136 */ | 138 */ |
137 virtual void makeRenderTargetCurrent(); | 139 virtual void makeRenderTargetCurrent(); |
138 | 140 |
139 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; | 141 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; |
140 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, | 142 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, |
141 const SkImageFilter::Context&, | 143 const SkImageFilter::Context&, |
142 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 144 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 SkCanvas::DrawBitmapRectFlags flags, | 222 SkCanvas::DrawBitmapRectFlags flags, |
221 int tileSize, | 223 int tileSize, |
222 bool bicubic); | 224 bool bicubic); |
223 | 225 |
224 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 226 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
225 | 227 |
226 typedef SkBitmapDevice INHERITED; | 228 typedef SkBitmapDevice INHERITED; |
227 }; | 229 }; |
228 | 230 |
229 #endif | 231 #endif |
OLD | NEW |