diff options
author | Robert Phillips <robertphillips@google.com> | 2017-06-23 11:59:24 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-23 18:53:56 +0000 |
commit | 81dd3e0c66c6c521a4548205e7e29d6c4972f644 (patch) | |
tree | acad6c86f813d7318c157379d81026619179931f /tests/RenderTargetContextTest.cpp | |
parent | b7fd25241e3775dd9882ecdf1d7cc6de4c682119 (diff) |
Finish a few MDB TODOs
Change-Id: I5579bea381ce30dc59502dbeb5841fea927002c2
Reviewed-on: https://skia-review.googlesource.com/20640
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tests/RenderTargetContextTest.cpp')
-rw-r--r-- | tests/RenderTargetContextTest.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/RenderTargetContextTest.cpp b/tests/RenderTargetContextTest.cpp index dbb41851c6..311643e919 100644 --- a/tests/RenderTargetContextTest.cpp +++ b/tests/RenderTargetContextTest.cpp @@ -9,9 +9,8 @@ #include "Test.h" -// MDB TODO: With the move of the discard calls to the RenderTargetContext, deferred RTCs are being -// instantiated early. This test can be re-enabled once discards do not force an instantiation -// (i.e., when renderTargetProxies carry the op IORefs) +// MDB TODO: the early instantiation of the renderTargetContext's backing GrRenderTargetProxy +// mixes this test up. Re-enable once backing GPU resources are distributed by MDB at flush time. #if 0 #if SK_SUPPORT_GPU @@ -50,8 +49,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(RenderTargetContextTest, reporter, ctxInfo) { GrTextureProxy* tProxy = rtCtx->asTextureProxy(); REPORTER_ASSERT(reporter, tProxy); - GrTexture* tex = tProxy->instantiate(ctx->resourceProvider()); - REPORTER_ASSERT(reporter, tex); + REPORTER_ASSERT(reporter, tProxy->instantiate(ctx->resourceProvider())); check_is_wrapped_status(reporter, rtCtx.get(), true); } |