aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/SkGpuDevice.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-25 06:33:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-25 06:33:27 -0800
commit57599fe6c0336feaeeeb9b1996e77b70219b483c (patch)
tree5387b10428f64c8e5e56427b24a589489d746440 /src/gpu/SkGpuDevice.h
parentddb347b63c72141378fc8bd25fa40d6dac9fe916 (diff)
Move Budgeted enum out of SkSurface, use in GrTextureProvider
Diffstat (limited to 'src/gpu/SkGpuDevice.h')
-rw-r--r--src/gpu/SkGpuDevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index ec3e158706..8fae408f87 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -52,7 +52,7 @@ public:
* sampleCount. The Budgeted param controls whether the device's backing store counts against
* the resource cache budget. On failure, returns nullptr.
*/
- static SkGpuDevice* Create(GrContext*, SkSurface::Budgeted, const SkImageInfo&,
+ static SkGpuDevice* Create(GrContext*, SkBudgeted, const SkImageInfo&,
int sampleCount, const SkSurfaceProps*,
InitContents, GrTextureStorageAllocator = GrTextureStorageAllocator());
@@ -256,7 +256,7 @@ private:
bool drawDashLine(const SkPoint pts[2], const SkPaint& paint);
- static GrRenderTarget* CreateRenderTarget(GrContext*, SkSurface::Budgeted, const SkImageInfo&,
+ static GrRenderTarget* CreateRenderTarget(GrContext*, SkBudgeted, const SkImageInfo&,
int sampleCount, GrTextureStorageAllocator);
friend class GrAtlasTextContext;