Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 19bef2103811e5d70daf70415cf6222c07c54efe..388dbb1e7af493edd7562a8f5ccba8820621fbb8 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, GrTextureStorageAllocator = GrTextureStorageAllocator()); |
~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, GrTextureStorageAllocator); |
friend class GrAtlasTextContext; |
friend class SkSurface_Gpu; // for access to surfaceProps |