commit | 7687882800f49e3fc3a14f1d7540412f77d6bd4d | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Mar 30 14:54:22 2012 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Mar 30 14:54:22 2012 -0700 |
tree | 3b38974c6be410fd680387244355e37457a29ed5 | |
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