This test draw the letter "M" with a texture, a rounded rect AA clip and a mask filter. With AA clip turned on it will definitely hit texture units 0, 1 & 3. I'm not sure about #2.
I was wrong, this hits 0, 2 & 3. We cannot hit all four at ...
12 years, 7 months ago
(2012-05-01 20:44:22 UTC)
#3
I was wrong, this hits 0, 2 & 3. We cannot hit all four at once b.c. the glyphs
incorporate the mask into their own mask (so glyph drawing will never hit 1).
The path that does hit 1 (drawWithGPUMaskFilter) is only used for path drawing
(so it will never use 2). As a reminder here is the current allocation:
0: texture
1: mask
2: glyph
3: gpu AA mask
4: spare
Issue 6134058: GM to stress test texture units/samplers
(Closed)
Created 12 years, 7 months ago by robertphillips
Modified 12 years, 7 months ago
Reviewers: TomH
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0