diff options
author | robertphillips <robertphillips@google.com> | 2014-10-09 12:30:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-09 12:30:10 -0700 |
commit | 5c481666c9678f43e039ad605457be3854cf8de3 (patch) | |
tree | 9336f9c76012a80594353871865e38e5f4367048 /src/core/SkReadBuffer.cpp | |
parent | 27415b71bd529456165945e19b5b7efbebf6fb51 (diff) |
Fix bug in plot locking system
In the new MultiPictureDraw tests a single hoisted layer is reused multiple times. The previous plot locking scheme allowed GrCachedLayer objects to be aggressively deleted prematurely leaving the reusing GrHoistedLayer objects with dangling pointers.
This CL changes the plot locking system to add a pseudo-ref for each GrHoistedLayer.
NOTRY=true
Review URL: https://codereview.chromium.org/640323002
Diffstat (limited to 'src/core/SkReadBuffer.cpp')
0 files changed, 0 insertions, 0 deletions