diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-09-11 11:09:05 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-09-12 14:28:23 +0000 |
commit | ef78a2e8f9bade867e43c75892353e38d48c595c (patch) | |
tree | 9d8fb1978ef71e70e095f22b4b8daf74b9e1b6c6 /src/gui/rhi/qrhi_p.h | |
parent | 8fef0ffc16ec9a88169349adfa8aafc9f375e94b (diff) |
rhi: Add a flag to indicate preferring a software adapter
...if there is one and the concept is applicable in the first place.
Change-Id: Iab202c1c1cdd229f4910159de4cae7ce30805ea9
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h index 51e70af18e..6f0b8e0b04 100644 --- a/src/gui/rhi/qrhi_p.h +++ b/src/gui/rhi/qrhi_p.h @@ -1294,7 +1294,8 @@ public: enum Flag { EnableProfiling = 1 << 0, - EnableDebugMarkers = 1 << 1 + EnableDebugMarkers = 1 << 1, + PreferSoftwareRenderer = 1 << 2 }; Q_DECLARE_FLAGS(Flags, Flag) |