[vlc-commits] [Git][videolan/vlc][master] 25 commits: control/dummy: make dummy-quiet obsolete on all Windows
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon May 22 07:52:17 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
cf06cc15 by Steve Lhomme at 2023-05-22T07:14:29+00:00
control/dummy: make dummy-quiet obsolete on all Windows
It doesn't matter if it's in UWP builds or not.
That option is not even used in 3.0.
- - - - -
d00ede66 by Steve Lhomme at 2023-05-22T07:14:29+00:00
es_out_timeshift: explicitely use GetTempPathW
The API is available in UWP builds. _wgetcwd() should work as well.
- - - - -
158bb80a by Steve Lhomme at 2023-05-22T07:14:29+00:00
d3d9: don't check for UWP build
We should never build D3D9 in UWP builds.
Ref. 582f0af3c5fa8f63bd21e6c4f8a8e21ebc6b003b
- - - - -
3f5d63e2 by Steve Lhomme at 2023-05-22T07:14:29+00:00
win32: thread: use _beginthreadex in UWP builds
It was only forbidden in Win8 UWP:
https://learn.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps?view=msvc-160#windows-8x-store-apps-and-windows-phone-8x-apps
This is also what winpthreads uses, so we've been using it anyway.
Ref. f9bfd84b2eda703e8cbc41ef1543de9b924314fa.
- - - - -
3e3ff436 by Steve Lhomme at 2023-05-22T07:14:29+00:00
win32: filesystem: enable vlc_getcwd() in UWP
_wgetcwd() is only forbidden in Win8 UWP:
https://learn.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps?view=msvc-160#windows-8x-store-apps-and-windows-phone-8x-apps
- - - - -
6ae9f073 by Steve Lhomme at 2023-05-22T07:14:29+00:00
d3d11_fmt: use the local BUILD_FOR_UAP to enable desktop API's
- - - - -
0380ff9d by Steve Lhomme at 2023-05-22T07:14:29+00:00
freetype: always link directly with dwrite.lib
Now that we have a minimum of Win7 we could always do it [1].
However IDWriteFactory2 is only supported since 8.1 [2].
[1] https://learn.microsoft.com/en-us/windows/win32/api/dwrite/nf-dwrite-dwritecreatefactory
[2] https://learn.microsoft.com/en-us/windows/win32/directwrite/idwritefactory2
- - - - -
3e73ac16 by Steve Lhomme at 2023-05-22T07:14:29+00:00
help: allow getting the console width in UWP 10.0.16299
- - - - -
42748438 by Steve Lhomme at 2023-05-22T07:14:29+00:00
cli: allow using the console width in UWP 10.0.16299
- - - - -
5efb0485 by Steve Lhomme at 2023-05-22T07:14:29+00:00
screen/dxgi: use WINAPI_FAMILY to check cursor availability
- - - - -
c1f84a9d by Steve Lhomme at 2023-05-22T07:14:29+00:00
d3d11: use WINAPI_FAMILY to check UWP code running on xbox
- - - - -
8ee38606 by Steve Lhomme at 2023-05-22T07:14:29+00:00
avcodec: use WINAPI_FAMILY to reduce HEVC decoding memory on Xbox
It's actually done for all UWP builds. But we're not modifying that for now.
- - - - -
63b5054c by Steve Lhomme at 2023-05-22T07:14:29+00:00
help: use WINAPI_FAMILY to disable Windows console hack
- - - - -
e847a77f by Steve Lhomme at 2023-05-22T07:14:29+00:00
cli: use WINAPI_FAMILY to disable non-quiet mode
It's using freopen("CONOUT$") which is not supported in UWP.
- - - - -
73f8c8d4 by Steve Lhomme at 2023-05-22T07:14:29+00:00
frame: use WINAPI_FAMILY to use XXXFromApp API's
- - - - -
3ec542ba by Steve Lhomme at 2023-05-22T07:14:29+00:00
update: use WINAPI_FAMILY to use ShellExecuteW
- - - - -
7272112f by Steve Lhomme at 2023-05-22T07:14:29+00:00
missing: use WINAPI_FAMILY to disable spawn API's
- - - - -
2797d6a3 by Steve Lhomme at 2023-05-22T07:14:29+00:00
bank: use WINAPI_FAMILY to do the UWP plugin lookup
- - - - -
282f3552 by Steve Lhomme at 2023-05-22T07:14:29+00:00
d3d11: use WINAPI_FAMILY to disable DLL loading
We link directly with the proper DLLs.
- - - - -
9e5bcf98 by Steve Lhomme at 2023-05-22T07:14:29+00:00
d3d11: use WINAPI_FAMILY to disable internal swapchain
- - - - -
ae5bae4f by Steve Lhomme at 2023-05-22T07:14:29+00:00
direct3d11: use WINAPI_FAMILY to assume d3d11d is forces in UWP
- - - - -
0368d311 by Steve Lhomme at 2023-05-22T07:14:29+00:00
lua: use WINAPI_FAMILY to enable the console API
It's using freopen( "CONOUT$") which is not going to work.
- - - - -
94457c74 by Steve Lhomme at 2023-05-22T07:14:29+00:00
freetype: use WINAPI_FAMILY to disable GDI fallback
- - - - -
c4596696 by Steve Lhomme at 2023-05-22T07:14:29+00:00
freetype: handle the UWP specific MakeFilePath in win32
The code is similar, apart from the Fully Qualified Name (FQN) support.
But such a path would fail in UWP anyway. It's not handled on desktop
Window either.
- - - - -
9e2cb735 by Steve Lhomme at 2023-05-22T07:14:29+00:00
remove VLC_WINSTORE_APP define
It's not used anymore. We can detect locally what is available or not.
We only need to know in make files how to link in the case.
- - - - -
30 changed files:
- config.h.meson
- configure.ac
- meson.build
- modules/access/screen/dxgi.cpp
- modules/access/screen/screen.h
- modules/codec/avcodec/d3d11va.c
- modules/codec/avcodec/video.c
- modules/control/cli/cli.c
- modules/control/dummy.c
- modules/lua/extension.c
- modules/lua/intf.c
- modules/lua/libs/win.c
- modules/text_renderer/Makefile.am
- modules/text_renderer/freetype/fonts/backends.h
- modules/text_renderer/freetype/fonts/dwrite.cpp
- modules/text_renderer/freetype/fonts/win32.c
- modules/text_renderer/freetype/platform_fonts.c
- modules/video_chroma/d3d11_fmt.c
- modules/video_chroma/d3d9_fmt.c
- modules/video_output/win32/common.c
- modules/video_output/win32/common.h
- modules/video_output/win32/d3d11_swapchain.h
- modules/video_output/win32/d3d_dynamic_shader.c
- modules/video_output/win32/direct3d11.cpp
- src/config/help.c
- src/input/es_out_timeshift.c
- src/misc/frame.c
- src/misc/update.c
- src/missing.c
- src/modules/bank.c
The diff was not included because it is too large.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/163b42403aa935a63e0d0c39390df490c676b0cb...9e2cb735a45cb4de66145153d73333a341166d78
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/163b42403aa935a63e0d0c39390df490c676b0cb...9e2cb735a45cb4de66145153d73333a341166d78
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list