diff options
author | Greg Daniel <egdaniel@google.com> | 2017-10-30 13:39:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-30 19:18:03 +0000 |
commit | 65c7f662ba4ec1c78dc5fc67b184ee9c7b614f55 (patch) | |
tree | 77231d7f3f1e4000fc84927489403f91f96fdff1 /include/private | |
parent | a6df670e565325bfe860ed71ded0b7685f9a90ad (diff) |
Add mip support to GrAHardwareBufferImageGenerator
Bug: skia:
Change-Id: I482d8f9937c86ed441016afef2d8f924282dd17a
Reviewed-on: https://skia-review.googlesource.com/63861
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/GrSurfaceProxy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index 2bbf02a20f..0eccdce32c 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -326,12 +326,12 @@ public: // Helper function that creates a temporary SurfaceContext to perform the copy // It always returns a kExact-backed proxy bc it is used when converting an SkSpecialImage // to an SkImage. The copy is is not a render target and not multisampled. - static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, + static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src, GrMipMapped, SkIRect srcRect, SkBudgeted); // Copy the entire 'src' // It always returns a kExact-backed proxy bc it is used in SkGpuDevice::snapSpecial - static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, + static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src, GrMipMapped, SkBudgeted budgeted); // Test-only entry point - should decrease in use as proxies propagate |