Two improvements found when investigating perf drop after GrDrawState::reset() 1. That change disabled clipping when ...
12 years, 9 months ago
(2012-01-18 19:34:53 UTC)
#1
Two improvements found when investigating perf drop after GrDrawState::reset()
1. That change disabled clipping when rendering pass 1 of OSAA. This hurts perf.
This change sets the state bit to enable clipping.
2. We are calling the GrDrawState default cons when we create an object to save
off a GrDrawTarget's state. This change uses SkTLazy to delay init'ing the
GrDrawState and inits it with a copy cons. I'm not sure if the
GrDrawState::reset() change exacerbated this or not.
Issue 5553051: Fallout from GrDrawState::reset()
(Closed)
Created 12 years, 9 months ago by bsalomon
Modified 12 years, 9 months ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0