Comment 4 for bug 1351097

Revision history for this message
Robert Carr (robertcarr) wrote :

The problem is some of the client surface size state fails to update when the surface is resized to 770 pixels tall from 800 pixels tall on start up (due to panel). In particular see qtubuntu glcontext.cpp l121. These eglQuerySurface calls will continue to return 800 pixels tall even after the mir client library reports seeing a buffer 770 pixels tall. A look in to goldfish device source shows that yes, the implemtnation of eglQuerySurface WIDTH/HEIGHT will never change.

One fix may be querying the native window for width/height at buffer swap time...but this seems incorrect and I need to think more and understand the GL translation passthrough mechanism thingy a little better.