diff options
author | Cary Clark <cary@android.com> | 2010-08-24 14:59:58 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2010-08-24 15:36:08 -0400 |
commit | 75796bbef7cc2cc510460790afd7a6abc6034e98 (patch) | |
tree | 3b7587f3d3adbe9c5799611a566d5c914924cabd /graphics/java/android/renderscript/ProgramRaster.java | |
parent | 970e33e69638f0a91eb534ffe45103c7efe218b9 (diff) |
communicate drawing pause to webkit to pause gif animation
Gif frames continue even if the webkit changes aren't drawn.
When we suspend drawing, suspend the gif animation as well.
This is accomplished by fooling webkit into thinking the
browser window is offscreen. When the webkit drawing is
resumed, invalidate the entire content so the gif animations
start up once more.
requires companion change in external/webkit
http://b/2621902
Change-Id: I1814aa41630820872d62752b75ae94383fdcc5fc
Diffstat (limited to 'graphics/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions