DescriptionSkSurface 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
Committed: https://skia.googlesource.com/skia/+/e2639089bddc4fbb129ae039cb12c01be087b397
Patch Set 1 #Patch Set 2 : comment type #
Messages
Total messages: 15 (5 generated)
|