aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects/SkPerlinNoiseShader.cpp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2015-08-06 07:04:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-06 07:04:52 -0700
commite2639089bddc4fbb129ae039cb12c01be087b397 (patch)
treeb433fda0c3bab0c3a713b0ae2bb56b6aefa4b5cb /src/effects/SkPerlinNoiseShader.cpp
parentebe06c0560bb2e8e8a13c4ede1ce7481c88554a4 (diff)
SkSurface copy-on-write can yield stale GPU render targets.
Prepare_rt_for_external_access() grabs the render target and then fires access notifications. But the notification handlers may trigger copy-on-write, causing the returned render target to be stale (pointing at the detached snapshot). We should grab the render target after firing notifications. R=reed@google.com,bsalomon@google.com Review URL: https://codereview.chromium.org/1276713002
Diffstat (limited to 'src/effects/SkPerlinNoiseShader.cpp')
0 files changed, 0 insertions, 0 deletions