On 2012/07/20 14:53:50, TomH wrote: > Added helper. Half the places we're building things are ...
12 years, 4 months ago
(2012-07-20 15:41:32 UTC)
#4
On 2012/07/20 14:53:50, TomH wrote:
> Added helper. Half the places we're building things are on GrPaint instead of
> GrDrawState, but this is at least somewhat more concise.
LGTM. It seems like we could make GrPaint::setTexture/setMask() do the same
thing as GrDrawState::createTextureEffect() once we kill that last use of the
existing setTexture.
It looks like this caused a pretty severe performance regression of the picture_playback benchmarks - ...
12 years, 4 months ago
(2012-07-23 14:20:02 UTC)
#7
It looks like this caused a pretty severe performance regression of the
picture_playback benchmarks - worst on Linux, mildest on Windows - and will need
further modification or rollback. When I'm back in the office tomorrow I'll see
if we're now hitting memory management and need to test Brian's technique.
For the record: using GrMemoryPool recovers most of the regression, but SkTLS is slowing that ...
12 years, 4 months ago
(2012-08-01 20:14:15 UTC)
#8
For the record: using GrMemoryPool recovers most of the regression, but SkTLS is
slowing that down. For now we've accepted the performance loss and filed a bug
to watch it.
Issue 6425055: Remove all easily-removable uses of setTexture()
(Closed)
Created 12 years, 5 months ago by TomH
Modified 12 years, 4 months ago
Reviewers: bsalomon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 2