OSDN Git Service

fixes with find drawing in layers
authorCary Clark <cary@android.com>
Fri, 5 Mar 2010 14:29:34 +0000 (09:29 -0500)
committerCary Clark <cary@android.com>
Fri, 5 Mar 2010 14:35:30 +0000 (09:35 -0500)
commitc657c686e52dc255b3967ab8744c2e9cde4a16de
tree11ef522ae275f74b129c44a68b9ce4139d64ce15
parente58dffb37ac1ec127575ed17b47adf1ed731cf0a
fixes with find drawing in layers

Clipping the match picture before drawing prevents layer
pictures from drawing outside of their intended bounds.

Rearranging the layer picture draw call causes it to restore
the canvas matrix, which causes extras like finds and cursor
rings to draw correctly.

Also, added more layer debugging, and a function to show
layer state in the console window.

http://b/2488516
http://b/2488509
WebCore/platform/graphics/android/LayerAndroid.cpp
WebKit/android/nav/FindCanvas.cpp