summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthread.cpp
diff options
context:
space:
mode:
authorYuhang Zhao <zhaoyuhang@rankyee.com>2023-05-25 13:50:17 +0800
committerYuhang Zhao <yuhangzhao@deepin.org>2023-06-24 02:19:15 +0000
commit838fc606c170fac112f7bb5971c2507b7b56d08a (patch)
treec6838febec50930c335d7cd3fc2318cc127b227e /src/corelib/thread/qthread.cpp
parent2a1772a6499d440b9ee2435a5f0c22d93b9d8897 (diff)
Windows QPA: introduce a way to disable redirection surface
Why do we need this feature: to give user the possibility to explore different interesting graphics features (currently only compatible with D3D with the new FLIP model). Why do we need to modify QPA directly: touch this flag after the window has been created has no effect. It can only be used when we call CreateWindow(), so we can't add this flag through SetWindowLong(). However, Qt doesn't provide any public or private interface to control how Qt call CreateWindow(), and providing such interface is also dangerous. Using environment variable to control this behavior is the simplest solution and is commonly used inside Qt code base. Change-Id: I12440ed498d97cc17640e6c7498e42770b813737 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions