Index: src/gpu/SkGpuDevice.h |
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h |
index 19bef2103811e5d70daf70415cf6222c07c54efe..04d249091d1feafa1b52c424b92f26fe24e70b22 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* = NULL); |
bsalomon
2016/01/29 16:57:38
nullptr
erikchen
2016/01/29 20:32:25
Done.
|
~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 |