Hi, I have hardware that requires me to allocate a different kind of surface depending or whether or not OpenGL (RGB vs. BGR) is used. The usage of the setSurfaceType() appears to be inconsistent though. E.g. EGLFS is the platform plugin that calls this method on activation of the OpenGLContext, the usage inside QtDeclarative appears to be inconsistent too.
One way to go forward would be to support ABGR8888 inside Qt. The other way to go forward would be to consolidate the QWindow/QPlatformWindow handling. Is it feasible to require calling setSurfaceType _before_ the QPlatformWindow will be created and forbid any changes to the surfaceType when the QPlatformWindow is present? Right now a QPlatformWindow is not informed about changes of the surface type. any idea what ::surfaceType() was meant to be used for? holger _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
