| Index: src/core/SkSpecialSurface.h
|
| diff --git a/src/core/SkSpecialSurface.h b/src/core/SkSpecialSurface.h
|
| index 2135347e35a5ff4cabb8e38f74502d231d08d6fe..d97164820228a41794f99addc6a021c2a5393493 100644
|
| --- a/src/core/SkSpecialSurface.h
|
| +++ b/src/core/SkSpecialSurface.h
|
| @@ -52,17 +52,12 @@ public:
|
|
|
| #if SK_SUPPORT_GPU
|
| /**
|
| - * Use an existing (renderTarget-capable) GrTexture as the backing store.
|
| - */
|
| - static sk_sp<SkSpecialSurface> MakeFromTexture(const SkIRect& subset, sk_sp<GrTexture>,
|
| - const SkSurfaceProps* = nullptr);
|
| -
|
| - /**
|
| * Allocate a new GPU-backed SkSpecialSurface. If the requested surface cannot
|
| * be created, nullptr will be returned.
|
| */
|
| - static sk_sp<SkSpecialSurface> MakeRenderTarget(GrContext*, const GrSurfaceDesc&,
|
| - const SkSurfaceProps* = nullptr);
|
| + static sk_sp<SkSpecialSurface> MakeRenderTarget(GrContext*,
|
| + int width, int height,
|
| + GrPixelConfig config);
|
| #endif
|
|
|
| /**
|
|
|