Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 19bef2103811e5d70daf70415cf6222c07c54efe..2788cc867831e626ee966291db9601c43e5dcc4b 100644 |
--- a/src/gpu/SkGpuDevice.h |
+++ b/src/gpu/SkGpuDevice.h |
@@ -18,6 +18,7 @@ |
#include "GrDrawContext.h" |
#include "GrContext.h" |
#include "GrSurfacePriv.h" |
+#include "GrTypes.h" |
class GrAccelData; |
class GrTextureProducer; |
@@ -52,7 +53,8 @@ public: |
* the resource cache budget. On failure, returns nullptr. |
*/ |
static SkGpuDevice* Create(GrContext*, SkSurface::Budgeted, const SkImageInfo&, |
- int sampleCount, const SkSurfaceProps*, InitContents); |
+ int sampleCount, const SkSurfaceProps*, |
+ InitContents, TextureStorageAllocator* = NULL); |
~SkGpuDevice() override {} |
@@ -256,7 +258,7 @@ private: |
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, const SkImageInfo&, |
- int sampleCount); |
+ int sampleCount, TextureStorageAllocator*); |
friend class GrAtlasTextContext; |
friend class SkSurface_Gpu; // for access to surfaceProps |