Steve Lhomme
2ceca598c0
qt: automatically release the IDCompositionDevice3 by using WRL
It was not released otherwise and we don't need to micromanage its lifecycle.
2 years ago
Fatih Uzunoglu
f7d6216fb1
qt: remove obsolete version check in compositor_dcomp_acrylicsurface
2 years ago
Fatih Uzunoglu
9f27d8b812
qt: update compositor_dcomp to use QRhi
2 years ago
Fatih Uzunoglu
dc64361e71
qt: fix nativeEventFilter() signature
3 years ago
Prince Gupta
5969401387
qt, dcomp: remove requestReset from acrylic surface
code is not used anymore
2 years ago
Prince Gupta
1bb350fcae
qt, windows: fix flickering of acrylic
don't reset acrylic surface on window position change
fixes #27603
2 years ago
Steve Lhomme
6f992b755a
modules: explicitly include windows.h when needed
3 years ago
Pierre Lamot
4d5606c58d
qt: disable acrylic effect when high-contrast theme is used on windows
3 years ago
Johannes Kauffmann
8bf6f81181
qt: maininterface: unname unused parameters
4 years ago
Johannes Kauffmann
65e2f4337f
qt/CompositorDComp: use format string for msg_Err
/home/videolan/vlc/extras/package/win32/../../../modules/gui/qt/maininterface/compositor_dcomp_acrylicsurface.cpp:203:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
msg_Err(m_intf, err.what());
^~~~~~~~~~
/home/videolan/vlc/extras/package/win32/../../../include/vlc_messages.h:102:38: note: expanded from macro 'msg_Err'
msg_Generic(p_this, VLC_MSG_ERR, __VA_ARGS__)
^~~~~~~~~~~
/home/videolan/vlc/extras/package/win32/../../../include/vlc_messages.h:98:30: note: expanded from macro 'msg_Generic'
__func__, __VA_ARGS__)
^~~~~~~~~~~
4 years ago
Steve Lhomme
0b0eebfefd
win32: use IID_PPV_ARGS instead of custom calls
This will avoid a mismatch of the UUID type.
4 years ago
Prince Gupta
f71cc89e75
qt (windows): fix acrylic on multi monitor setup
fixes acrylic effect when secondary monitor is left to the primary
4 years ago
Steve Lhomme
eca4944d6d
qt/CompositorDComp: avoid using GetAddressOf with ComPtr
It's better not to use it when reference counting is not involved. Otherwise
operator& and ReleaseAndGetAddressOf() are better.
And use ComPtr::As() rather than interface::QueryInterface() to avoid using
GetAddressOf.
4 years ago
Alexandre Janniaux
6b7a57f984
modules: fix typos
Typos found and reworked from codespell.
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
Prince Gupta
a0b220223a
qt/DCompositionAcrylic: increase blur
based on user feedback
4 years ago
Prince Gupta
710489dd77
qt: add transition to acrylic
4 years ago
Prince Gupta
44db1d71c8
qt: directly take required args in DCompositionAcrylicSurface
4 years ago
Prince Gupta
858640bbef
qt/dcompositor_acrylic: correctly adjust clipping for virtual screen
5 years ago
Prince Gupta
7447a6082c
qt, windows: fix cutoff acrylic with display scaling
5 years ago
Prince Gupta
ed2896097a
qt/DCompositorAcrylicSurface: check pointer before use
5 years ago
Prince Gupta
ed47ae165c
qt: follow system settings for acrylic effect (windows)
5 years ago
Prince Gupta
c6afb90ae4
qt/compositor_dcomp: implement acrylicsurface
5 years ago