diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2015-02-03 12:40:49 +0100 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@theqtcompany.com> | 2015-02-12 20:33:28 +0000 |
commit | db5c011da1f3d8b233af17d104b6fecfc0d7d716 (patch) | |
tree | b295faa8b2cc1baccd08e2e5ae10edf26e6a4e7d /src/plugins | |
parent | 1b79d1cfe28a8fb77a3fb32438231d3670a268bc (diff) |
Cocoa: Improve QT_MAC_WANTS_LAYER for GL windows
Add the NSOpenGLPFANoRecovery pixel format attribute.
This disables the software rendering fallback and
makes compositing OpenGL and raster NSViews using
Core Animation layers possible.
With QT_MAC_WANTS_LAYER enabled, native NSViews now
stack correctly with QWindows with OpenGL content.
One known limitation is that this mode currently
supports main-thread rendering only.
Change-Id: I2060cceda846b305b33b47f2eba3cb7cb838039c
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions