diff options
author | robertphillips <robertphillips@google.com> | 2016-11-21 11:05:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 11:05:03 -0800 |
commit | d728f0c1a94fe926b59d8ebc9ae174019ccd3606 (patch) | |
tree | 961028483a484d07da315a039104253cd85cb736 /tests/ProxyRefTest.cpp | |
parent | 43c847b7f281c071a33980359e4d5839855da20f (diff) |
Defer more renderTargetContexts in the GPU image filter paths - take 2
This is a reland of https://skia-review.googlesource.com/c/4767/ (Defer more renderTargetContexts in the GPU image filter paths).
The addition of guards on instantiation && accessRenderTarget failure should prevent a reoccurence of this Nexus7 failures.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2514543002
TBR=bsalomon@google.com
Review-Url: https://codereview.chromium.org/2514543002
Diffstat (limited to 'tests/ProxyRefTest.cpp')
-rw-r--r-- | tests/ProxyRefTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ProxyRefTest.cpp b/tests/ProxyRefTest.cpp index 4f6a3e368c..77ec2db0df 100644 --- a/tests/ProxyRefTest.cpp +++ b/tests/ProxyRefTest.cpp @@ -106,7 +106,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ProxyRefTest, reporter, ctxInfo) { // extra ref and write bool proxyGetsDiscardRef = !sProxy->isWrapped_ForTesting() && caps.discardRenderTargetSupport(); - int expectedWrites = proxyGetsDiscardRef ? 2 : 1; + int expectedWrites = proxyGetsDiscardRef ? 2 : 1; sProxy->instantiate(provider); |