DescriptionIntroduce ui::PaintRecorder and use it for CursorWindowDelegate.
This makes the mouse cursor appear in slimming-ui impl-side painting.
In the CursorWindowDelegate, we don't have invalidation, so we don't
expect to be asked to repaint the layer after the first time. For that
reason we don't cache the SkPicture in the delegate. This makes use of
the TakeDisplayItem() helper method.
Conversely in View we intend to cache the SkPicture, so it pulls the
SkPicture itself out of the recorder, with a TODO to cache it in
upcoming changes, and inserts the SkPicture into the DisplayItemList
itself.
R=enne, piman@chromium.org, sadrul, sky
BUG=466426
Patch Set 1 #
Total comments: 3
Patch Set 2 : slimmingui-paintrecorder: . #
Total comments: 2
Patch Set 3 : slimmingui-paintrecorder: rebase #
Messages
Total messages: 16 (2 generated)
|