DescriptionThis change is require in order to implement the code review comment posted here: http://codereview.appspot.com/5430058/
The comment in question was:
"I think this change is too broad, for all raster devices to be marked volatile.
We call notifyPixelsChanged() on each draw to the device, so perhaps you can use
the generationID or some other signal."
Using notifyPixelsChanged is actually a much more efficient approach because it allows the the flushing of deferred draw commands to be postponed until the source image data is actually about to be invalidated. A little extra plumbing is necessary to make that happen, hence this change.
Patch Set 1 #Patch Set 2 : patch 2 #
MessagesTotal messages: 3
|