summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2012-03-05 14:37:29 -0800
committerRomain Guy <romainguy@google.com>2012-03-05 14:37:29 -0800
commit7e4e561bc717a6eea4e0d06ec4173ad27420425f (patch)
tree3f01d44a6d26494572a10318595895e4bdaf77cf /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfb9c41c2060497a459d16c30122e1d082895e5d1 (diff)
Ignore draw requests when the display is off
When WindowManagerService's events are enabled/disabled, the state of the display is dispatched to the known windows. This allows ViewRootImpl to ignore draw requests until the screen is turned back on. This can potentially lead to significant battery savings. For instance, a launcher widget showing a repeating animation will cause the CPU and the GPU to wake up regularly without this change. (Change submitted by Intel and merged manually) Change-Id: I7f93b0e60c3e6de1705f619e80860c36b1cdb978
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions