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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 124 |
125 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; | 125 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; |
126 virtual void onDetachFromCanvas() SK_OVERRIDE; | 126 virtual void onDetachFromCanvas() SK_OVERRIDE; |
127 | 127 |
128 /** | 128 /** |
129 * Make's this device's rendertarget current in the underlying 3D API. | 129 * Make's this device's rendertarget current in the underlying 3D API. |
130 * Also implicitly flushes. | 130 * Also implicitly flushes. |
131 */ | 131 */ |
132 virtual void makeRenderTargetCurrent(); | 132 virtual void makeRenderTargetCurrent(); |
133 | 133 |
134 virtual bool canHandleImageFilter(SkImageFilter*) SK_OVERRIDE; | 134 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; |
135 virtual bool filterImage(SkImageFilter*, const SkBitmap&, const SkMatrix&, | 135 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, const SkMatr
ix&, |
136 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 136 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
137 | 137 |
138 class SkAutoCachedTexture; // used internally | 138 class SkAutoCachedTexture; // used internally |
139 | 139 |
140 protected: | 140 protected: |
141 // overrides from SkBaseDevice | 141 // overrides from SkBaseDevice |
142 virtual bool onReadPixels(const SkBitmap& bitmap, | 142 virtual bool onReadPixels(const SkBitmap& bitmap, |
143 int x, int y, | 143 int x, int y, |
144 SkCanvas::Config8888 config8888) SK_OVERRIDE; | 144 SkCanvas::Config8888 config8888) SK_OVERRIDE; |
145 | 145 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 const GrTextureParams& params, | 209 const GrTextureParams& params, |
210 const SkPaint& paint, | 210 const SkPaint& paint, |
211 SkCanvas::DrawBitmapRectFlags flags, | 211 SkCanvas::DrawBitmapRectFlags flags, |
212 int tileSize, | 212 int tileSize, |
213 bool bicubic); | 213 bool bicubic); |
214 | 214 |
215 typedef SkBitmapDevice INHERITED; | 215 typedef SkBitmapDevice INHERITED; |
216 }; | 216 }; |
217 | 217 |
218 #endif | 218 #endif |
OLD | NEW |