diff options
author | 2017-07-19 18:28:58 -0400 | |
---|---|---|
committer | 2017-07-20 00:21:18 +0000 | |
commit | d17f6584df9e48146dac28a1df56fb4978de6ba3 (patch) | |
tree | aff8a4c10de409c9e07c09d936fd9c3b6b32cae3 /tests/GrSurfaceTest.cpp | |
parent | 22b2d8c5e111825440fa3496be1cf030a5bbafd7 (diff) |
Remove GrBackendTextureDesc
Change-Id: I2b123d1782400e97ab2ce2f11e3e3d325a13e6c8
Reviewed-on: https://skia-review.googlesource.com/24748
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tests/GrSurfaceTest.cpp')
-rw-r--r-- | tests/GrSurfaceTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp index 0b0089381a..d67f1038fc 100644 --- a/tests/GrSurfaceTest.cpp +++ b/tests/GrSurfaceTest.cpp @@ -54,9 +54,8 @@ DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrSurface, reporter, ctxInfo) { kRGBA_8888_GrPixelConfig, backendTexHandle); - sk_sp<GrSurface> texRT2 = context->resourceProvider()->wrapBackendTexture( - backendTex, kTopLeft_GrSurfaceOrigin, kRenderTarget_GrBackendTextureFlag, 0, - kBorrow_GrWrapOwnership); + sk_sp<GrSurface> texRT2 = context->resourceProvider()->wrapRenderableBackendTexture( + backendTex, kTopLeft_GrSurfaceOrigin, 0, kBorrow_GrWrapOwnership); REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asRenderTarget()); REPORTER_ASSERT(reporter, texRT2.get() == texRT2->asTexture()); |