summaryrefslogtreecommitdiffstats
path: root/src/core/compositor/display_overrides.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Split NativeSkiaOutputDevicePeter Varga2024-01-121-22/+73
| | | | | | | | | Separate NativeSkiaOutputDevice::texture() implementations according to the type of native texture is used by Qt Quick Scene Graph. Pick-to: 6.7 Change-Id: Ib62752d98313f32105296ea865e6d733509ff0ad Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Move Vulkan support to NativeSkiaOutputDevicePeter Varga2024-01-121-1/+5
| | | | | | | | | | | | Ozone: keep using Vulkan backend for Chromium rendering and export the Vulkan texture from NativePixmap. Windows: use Angle backend for Chromium rendering and export the Vulkan texture from Direct3D11 texture. Pick-to: 6.7 Change-Id: I8b05a5d29d0ff74e41390dd632162895fc0d9e61 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support ANGLE to CGL paintingAllan Sandfeld Jensen2023-07-061-0/+3
| | | | | | | | | | Support opengl backend for macOS without CGL support in Chromium. Means we can remove a lot of hacks. Pick-to: 6.6 Change-Id: I3773fab24ab851bc471411fb31baf93727b9c110 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Rework painting integration and support Metal RHI over ANGLEAllan Sandfeld Jensen2023-04-121-1/+12
| | | | | | | | | | | | | Move graphics details into compositor, and add support for a native buffer mode uses ANGLE on the Chromium side. The initially support is for Metal. Pick-to: 6.5 Fixes: QTBUG-112282 Task-number: QTBUG-112280 Change-Id: I066ba1d3e72508e047d259ae5797659d45335fb2 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Adapt to painting cleanupAllan Sandfeld Jensen2023-04-041-24/+3
| | | | | | | | | | Pass through alphaChannel requirement correctly, instead of having a nonfunctional hasAlphaChannel(). Pick-to: 6.5 Change-Id: I99adb17aa38fd91ea8fd93b86a352bc476690837 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Adaptations for 104-basedAllan Sandfeld Jensen2022-11-281-12/+0
| | | | | | Change-Id: Ieb44b5c98b3342adca38916d8b77c54e8ed8e1d7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-221-38/+2
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Enable no opengl buildsMichal Klocek2021-09-041-0/+4
| | | | | | | | | | | | | By mistake opengl was marked as required library, but should be just optional. Fix compilation issues. This should enable build on yet another coin node. Pick-to: 6.2 Change-Id: Id87404928e6b042d902fcfe0a7fed99a6806456f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add DisplaySkiaOutputDevice for skia-on-gl renderingJüri Valdmann2021-06-221-0/+11
| | | | | | Pick-to: 6.2 Change-Id: Ia855e60e74f79a5750e68f2b97ccba1e747a3ef6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crash on fence create after failure to make context currentKirill Burtsev2020-04-091-1/+4
| | | | | | | | | | | | GLFence::Create requires valid current gl context, which is not the case if InProcCommandBuffer::MakeCurrent fails: driver and api structures will be null after context loss (for examples on os resume with desktop gl), that triggers access violation. Fixes: QTBUG-82656 Change-Id: If46a252147d1d3a0be7d2b19f7bbc36ac1dd338a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Build fix for when configuring with -no-openglAndy Shaw2020-01-181-0/+5
| | | | | Change-Id: Ifb5f7c866c26746f989ab4e8c49c48bcbdb50077 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adaptations for Chromium 77Allan Sandfeld Jensen2019-10-111-9/+6
| | | | | | Fixes: QTBUG-77267 Change-Id: I181e24cf80ebee6991b95dde6c636f0d169b40a4 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Use ui::CompositorJüri Valdmann2019-08-221-0/+80
Needs corresponding 3rdparty change. Fixes: QTBUG-71885 Change-Id: I791bc3da5a7a66e03470e9e05bf25a997101b018 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>