diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-07-14 09:28:39 +0000 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-07-14 13:24:43 +0000 |
commit | 845ea8921108c860da329ccfa34f0842958a6901 (patch) | |
tree | 70543a8c9de2117883a641968381640207b028f5 /src/corelib | |
parent | a61bf508e3c138c429e0a73498c745c3c0d3f0f7 (diff) |
Revert "Windows QPA: Add MSWindowsNoRedirectionBitmap flag"
This reverts commit 417bb463526d3ec3d80d66b029c1064fde88391f.
The API addition was premature, as it can potentially be handled
by the platform plugin automatically, and if not, should possibly
live in QSurfaceFormat instead.
Change-Id: I5c7050ce9c50b6c6a93ddfa6d2e842db0b9eed0d
Reviewed-by: Yuhang Zhao <2546789017@qq.com>
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.h | 1 | ||||
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 4da4e4ab0e..dd70e91a8f 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -228,7 +228,6 @@ namespace Qt { WindowOverridesSystemGestures = 0x00100000, WindowDoesNotAcceptFocus = 0x00200000, MaximizeUsingFullscreenGeometryHint = 0x00400000, - MSWindowsNoRedirectionBitmap = 0x00800000, CustomizeWindowHint = 0x02000000, WindowStaysOnBottomHint = 0x04000000, diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 34640107b0..000001c1bf 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2190,14 +2190,6 @@ \value MSWindowsOwnDC Gives the window its own display context on Windows. - \value MSWindowsNoRedirectionBitmap This flag is useful to windows that - only use 3D graphics API to do the rendering, such as D3D11. - This flag was introduced in Qt 6.4 - - \note Changing this flag after the native window has been created will - have no effect. You can only enable it before the native window is - actually created. - \value BypassWindowManagerHint This flag can be used to indicate to the platform plugin that "all" window manager protocols should be disabled. This flag will behave different depending on what operating system the application is running on and |