Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 8bf04b1182a55e4a2ff7c5e39f80b39c9b5cd31e..ec3e15870620022426c4dc60d11bf93705832ab0 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 {} |
@@ -255,7 +257,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 |