diff options
author | 2018-04-12 13:24:58 -0400 | |
---|---|---|
committer | 2018-04-12 19:41:10 +0000 | |
commit | c828109ebd1519134b1c3fa168519ac07a31fe05 (patch) | |
tree | 4723fabd487c88b28300c9f17bc45e2396ad3fd4 /src/gpu/vk/GrVkRenderTarget.cpp | |
parent | 632de605a37588db8a0b2eab901540c1b6300b0a (diff) |
Delete getRenderTargetHandle call on SkSurface.
All clients and internal code should be switched (once changes land soon)
to the new getBackendRenderTarget call instead.
Bug: skia:
Change-Id: I6f490b6d26a72f37f97216be04e541483206510d
Reviewed-on: https://skia-review.googlesource.com/121103
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/vk/GrVkRenderTarget.cpp')
-rw-r--r-- | src/gpu/vk/GrVkRenderTarget.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gpu/vk/GrVkRenderTarget.cpp b/src/gpu/vk/GrVkRenderTarget.cpp index 3cab94d7dc..9ca8a98928 100644 --- a/src/gpu/vk/GrVkRenderTarget.cpp +++ b/src/gpu/vk/GrVkRenderTarget.cpp @@ -352,15 +352,6 @@ void GrVkRenderTarget::onAbandon() { } -#ifdef SK_SUPPORT_LEGACY_BACKEND_OBJECTS -GrBackendObject GrVkRenderTarget::getRenderTargetHandle() const { - // If the render target is multisampled, we currently return the ImageInfo for the resolved - // image. If we only wrap the msaa target (currently not implemented) we should return a handle - // to that instead. - return (GrBackendObject)&fInfo; -} -#endif - GrBackendRenderTarget GrVkRenderTarget::getBackendRenderTarget() const { return GrBackendRenderTarget(this->width(), this->height(), this->numColorSamples(), fInfo, this->grVkImageLayout()); |