Fatih Uzunoglu
dc64361e71
qt: fix nativeEventFilter() signature
3 years ago
Fatih Uzunoglu
fd12435507
qt: do not use `setClearBeforeRendering()` in compositor_win7
Qt docs: The color buffer is cleared by default.
2 years ago
Fatih Uzunoglu
ef6d533d51
qt: remove d3d version check in compositor_win7 for Qt 6
2 years ago
Fatih Uzunoglu
9f076c3b23
qt: add platform checks to compositor_dcomp and compositor_win7
2 years ago
Prince Gupta
16c952f0df
qt: remove unused member variable
3 years ago
Pierre Lamot
f250473ebb
qt: remove include of window.h from compositor header
3 years ago
Pierre Lamot
5ebdaa848b
qt: pass and act on the main widget in InterfaceWindowHandler when available
changing directly the window visibility on the QWindow doesn't allways work as
expected on X11. pass and use the QMainWidget in this case
4 years ago
Rémi Denis-Courmont
84c253cdd1
window: rename vout_window* to vlc_window*
The baseline windowing code has not been specific to the video output
for a while.
4 years ago
Pierre Lamot
1068bfec51
qt: ensure MainUI is destroyed after the QMLEngine
4 years ago
Steve Lhomme
8c5672ce86
qt: avoid some a ton of D3D11 warnings
mingw/wine define some things that the C++ compilers don't like.
We currently don't use these helpers anyway.
4 years ago
Benjamin Arnaud
c8b9045445
qt/compositor(s): Add activeFocusItem getter
4 years ago
Pierre Lamot
cea5406265
qt: rename MainInterface to MainCtx
MainInterface was the actual QWidget interface in VLC 3.0, now it's the
application context
only rename classes and files, no functional changes
4 years ago
Pierre Lamot
66e297e7cb
qt: factorize interface construction across compositor
5 years ago
Pierre Lamot
12676dcb85
qt: factorize vout window callbacks
5 years ago
Pierre Lamot
df7d632545
qt: move MainInterface instantiation outside of the compositor
5 years ago
Pierre Lamot
71c7f79d60
qt: delete explicitly the InterfaceWindowHandler before destroying the interface
using Qt parenting auto deletion leads to using the window in
InterfaceWindowHandler destructor while it's partially destroyed
5 years ago
Pierre Lamot
de8fb517c1
qt: bind maximization request from the interface window handler
5 years ago
Pierre Lamot
121d07d217
qt: expose main window in Compositor
5 years ago
Pierre Lamot
11f7c19c4d
qt: don't use MainInterface as the root window in Win7 compositor
fixes : #25865
5 years ago
Pierre Lamot
6725dc70e1
qt: initialize compositor in two phases
some compositor requires to set Qt Attributes before Qt application
is started such as selecting the right graphical backend (ie: dcomp needs to set
OpenGLES). And some compositor needs know wich QPA is in use (ie: x11 vs
wayland), this can only be known after QApp is started.
Co-authored-by: Guillaume Nicolussi Castellan <nullgemm@videolabs.io>
6 years ago
Pierre Lamot
b60ad66fdb
qt: allow to partially unload the interface
this allows to unload the GUI part of the interface without destroying the
windows that may still be used by the vout window part.
5 years ago
Pierre Lamot
ec1a167076
qt: allow passing a global vout close callback to the compositor
5 years ago
Pierre Lamot
4044fe3bdf
qt: alias intf_thread_t as qt_intf_t
This is a preparatory commit
5 years ago
Prince Gupta
a787392be5
qt: move CSD handling to interface_window_handler
only interface_window_handler knows correct root window
fixes CSD settings not updating and aero snap not working with
win7 compositor
5 years ago
Prince Gupta
d118f1d0fc
qt: expose type of compositor through its interface
5 years ago
Pierre Lamot
b949973015
qt: implement PIP for win7
6 years ago
Pierre Lamot
019ee62de2
qt: fix frameless window for Win7 compositor
6 years ago
Pierre Lamot
5e8452d7d0
qt: distinguish enabled from video embed in video surface
6 years ago
Pierre Lamot
4394ce475a
qt: fix release order in Win7 Compositor
6 years ago
Pierre Lamot
e3ead9cbdd
qml: add support for client side decoration
6 years ago
Pierre Lamot
05738f575b
qt: provide video integration for windows 7
this class is also used on windows when D3D isn't supported, because the dummy
compositor uses QQuickWidget which requires opengl offscreen rendering (trough
angle on windows)
6 years ago