diff options
author | Romain Guy <romainguy@google.com> | 2012-03-30 14:54:22 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2012-03-30 14:54:22 -0700 |
commit | 7687882800f49e3fc3a14f1d7540412f77d6bd4d (patch) | |
tree | 3b38974c6be410fd680387244355e37457a29ed5 /graphics/java/android/renderscript/Program.java | |
parent | 5eeee5e0bbf5aba0097a510b3e9dbb286b2b30cd (diff) |
Detect surface resizes
HardwareRenderer normally relies on the window manager to be notified of
surface dimension changes. It is however possible to execute a drawing pass
before receiving the window manager notification. We must therefore compare
the actual size of the target surface to the window size and perform a full
redraw when they are not the same.
Change-Id: Idccc8592f3f777edee1ef67a98a4c2a825dcfba7
Diffstat (limited to 'graphics/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions