Description[PDF] Fix setting of existing clip for layers.
The current approach of setting the existing clip just before drawing a layer into a device doesn't work. SkDevice::clear() uses existing clip before that and if we need to put the content in a transparency group (i.e. for SrcIn xfermode), we need a valid existing clip. Instead, change the factory to use a special constructor when creating a layer device.
Committed: http://code.google.com/p/skia/source/detail?r=1270
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase and fix nit #Patch Set 3 : Add missing public #
MessagesTotal messages: 4
|