| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 /** | 139 /** |
| 140 * Make's this device's rendertarget current in the underlying 3D API. | 140 * Make's this device's rendertarget current in the underlying 3D API. |
| 141 * Also implicitly flushes. | 141 * Also implicitly flushes. |
| 142 */ | 142 */ |
| 143 virtual void makeRenderTargetCurrent(); | 143 virtual void makeRenderTargetCurrent(); |
| 144 | 144 |
| 145 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; | 145 virtual bool canHandleImageFilter(const SkImageFilter*) SK_OVERRIDE; |
| 146 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, const SkMatr
ix&, | 146 virtual bool filterImage(const SkImageFilter*, const SkBitmap&, const SkMatr
ix&, |
| 147 SkBitmap*, SkIPoint*) SK_OVERRIDE; | 147 SkBitmap*, SkIPoint*) SK_OVERRIDE; |
| 148 | 148 |
| 149 virtual void internalPrivate_PreLoad(const SkBitmap& bitmap, const SkIRect&
rect); |
| 150 |
| 149 class SkAutoCachedTexture; // used internally | 151 class SkAutoCachedTexture; // used internally |
| 150 | 152 |
| 151 protected: | 153 protected: |
| 152 virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config888
8) SK_OVERRIDE; | 154 virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config888
8) SK_OVERRIDE; |
| 153 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; | 155 virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int
) SK_OVERRIDE; |
| 154 | 156 |
| 155 private: | 157 private: |
| 156 GrContext* fContext; | 158 GrContext* fContext; |
| 157 | 159 |
| 158 GrSkDrawProcs* fDrawProcs; | 160 GrSkDrawProcs* fDrawProcs; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 const GrTextureParams& params, | 216 const GrTextureParams& params, |
| 215 const SkPaint& paint, | 217 const SkPaint& paint, |
| 216 SkCanvas::DrawBitmapRectFlags flags, | 218 SkCanvas::DrawBitmapRectFlags flags, |
| 217 int tileSize, | 219 int tileSize, |
| 218 bool bicubic); | 220 bool bicubic); |
| 219 | 221 |
| 220 typedef SkBitmapDevice INHERITED; | 222 typedef SkBitmapDevice INHERITED; |
| 221 }; | 223 }; |
| 222 | 224 |
| 223 #endif | 225 #endif |
| OLD | NEW |