commit | 370ab062a0a18723531258896b352d5f5dd55ae7 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue May 21 12:15:07 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue May 21 12:15:07 2013 -0700 |
tree | 5ed7f605b658c66f14fc192a11a97d03f376a277 | |
parent | b2f6842d5528345e02a91218fbe58c3e0ca8bafb [diff] |
Avoid extraneous EGL surface allocations Bug #8667873 windowShouldResize means we need to layout the window, it doesn't mean the dimensions of the surface have changed. We should only check the width and the height. With this fix we can avoid a surface allocation every time the window shade is opened or closed. Change-Id: I8afe97b820a865723f2aab7a5aa4ddc8eaaec6e1