| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 #ifndef SkGpuDevice_DEFINED | 8 #ifndef SkGpuDevice_DEFINED |
| 9 #define SkGpuDevice_DEFINED | 9 #define SkGpuDevice_DEFINED |
| 10 | 10 |
| 11 #include "SkGr.h" | 11 #include "SkGr.h" |
| 12 #include "SkBitmap.h" | 12 #include "SkBitmap.h" |
| 13 #include "SkDevice.h" | 13 #include "SkDevice.h" |
| 14 #include "SkPicture.h" | 14 #include "SkPicture.h" |
| 15 #include "SkRegion.h" | 15 #include "SkRegion.h" |
| 16 #include "SkSurface.h" | 16 #include "SkSurface.h" |
| 17 #include "GrDrawContext.h" | 17 #include "GrDrawContext.h" |
| 18 #include "GrContext.h" | 18 #include "GrContext.h" |
| 19 #include "GrClipStackClip.h" |
| 19 #include "GrSurfacePriv.h" | 20 #include "GrSurfacePriv.h" |
| 20 #include "GrTypes.h" | 21 #include "GrTypes.h" |
| 21 | 22 |
| 22 class GrAccelData; | 23 class GrAccelData; |
| 23 class GrTextureProducer; | 24 class GrTextureProducer; |
| 24 struct GrCachedLayer; | 25 struct GrCachedLayer; |
| 25 | 26 |
| 26 /** | 27 /** |
| 27 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th
e | 28 * Subclass of SkBaseDevice, which directs all drawing to the GrGpu owned by th
e |
| 28 * canvas. | 29 * canvas. |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 263 |
| 263 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y, | 264 void drawSpriteWithFilter(const SkDraw&, const SkBitmap&, int x, int y, |
| 264 const SkPaint&) override; | 265 const SkPaint&) override; |
| 265 | 266 |
| 266 friend class GrAtlasTextContext; | 267 friend class GrAtlasTextContext; |
| 267 friend class SkSurface_Gpu; // for access to surfaceProps | 268 friend class SkSurface_Gpu; // for access to surfaceProps |
| 268 typedef SkBaseDevice INHERITED; | 269 typedef SkBaseDevice INHERITED; |
| 269 }; | 270 }; |
| 270 | 271 |
| 271 #endif | 272 #endif |
| OLD | NEW |