aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleImage.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-11-30 09:06:42 -0500
committerDerek Sollenberger <djsollen@google.com>2011-11-30 14:31:48 -0500
commit717c009190af219a2f9e248d6fa13ad71cfdb0b1 (patch)
tree9e6f4da4d41acd4bd44e1fdfc26d5342ac2dbcc6 /samplecode/SampleImage.cpp
parent9f673923c0f587590b722b94bf078312921411ac (diff)
Fix rendering bug in pages with shadowed text.
Shadowed text currently does not get subjected to culling until immediately prior to rendering each glyph. This is problematic for any page with an axis greater than 32k as we can't covert the glyph coordinates to fixed point. Additionally, this is a large perf hit as we look at every shadowed glyph on the page for every draw call regardless of the canvas' clip. This fix enables shadowed text to be quickly rejected based on the canvas' clip when the draw text command is executed. Finally, a mirror image of this CL is currently under review for inclusion in the open-source Skia project. bug: 5571685 Change-Id: I5df94eccecbd7d77a08004b5cbcca02120e390f7
Diffstat (limited to 'samplecode/SampleImage.cpp')
0 files changed, 0 insertions, 0 deletions