On 2012/10/24 13:14:27, robertphillips wrote:
LGTM to stop the bleeding. But I think after the recent spate of NULL clip
related bugs we need to figure out how to make the clip handling more robust.
Two things I think we should consider:
1) Making SkClipStack ref-counted so that Gr doesn't have a pointer to an object
it doesn't own.
2) setClip(NULL) installs a sentinel object representing a wide open clip so
that we are robust against missing NULL checks.
Issue 6763044: Reset clip in ~SkGpuDevice
(Closed)
Created 12 years ago by robertphillips
Modified 12 years ago
Reviewers: bsalomon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0