summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-05-11 14:04:23 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-05-11 14:04:23 -0700
commita2ea1d376524346e3f601694751e423ce2711d6b (patch)
tree37aa8affdec6850e4b362095c084df97d189b901 /libs/ui/FramebufferNativeWindow.cpp
parente292086e6b5124a8e6b9435609d41c9ab2ef5e22 (diff)
parent24443ea3992e372e47daa50266b0f2ec38cac388 (diff)
Merge change 1371 into donut
* changes: Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions