diff options
author | 2015-08-06 07:04:51 -0700 | |
---|---|---|
committer | 2015-08-06 07:04:52 -0700 | |
commit | e2639089bddc4fbb129ae039cb12c01be087b397 (patch) | |
tree | b433fda0c3bab0c3a713b0ae2bb56b6aefa4b5cb /src/effects/SkPixelXorXfermode.cpp | |
parent | ebe06c0560bb2e8e8a13c4ede1ce7481c88554a4 (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/SkPixelXorXfermode.cpp')
0 files changed, 0 insertions, 0 deletions