[Mingw-w64-public] [PATCH] Add -Wno-expansion-to-defined when building with -Wextra

2018-11-08 Thread Steve Lhomme
Otherwise it leads to a lot of annoying warnings in intrin-impl.h like: #if __INTRINSIC_PROLOG(__stosd) ^~~ ./../mingw-w64-headers/include/psdk_inc/intrin-impl.h:1622:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]

[Mingw-w64-public] [PATCH v2] windowsapp: add gamemode.dll APIs

2018-11-08 Thread Steve Lhomme
--- mingw-w64-crt/Makefile.am | 1 + mingw-w64-crt/lib-common/gamemode.def | 7 +++ mingw-w64-crt/lib-common/windowsapp.mri | 1 + mingw-w64-crt/lib32/gamemode.def | 7 +++ mingw-w64-headers/include/expandedresources.h | 20

Re: [Mingw-w64-public] [PATCH] windowsapp: add gamemode.dll APIs

2018-11-08 Thread Steve Lhomme
On 08/11/2018 14:19, Liu Hao wrote: 在 2018/11/8 下午8:39, Steve Lhomme 写道: diff --git a/mingw-w64-crt/lib32/gamemode.def b/mingw-w64-crt/lib32/gamemode.def new file mode 100644 index ..d908c1d2 --- /dev/null +++ b/mingw-w64-crt/lib32/gamemode.def @@ -0,0 +1,7 @@ +LIBRARY gamemode.dll

Re: [Mingw-w64-public] [PATCH] windowsapp: add gamemode.dll APIs

2018-11-08 Thread Steve Lhomme
On 08/11/2018 14:24, Jacek Caban wrote: On 11/08/2018 02:07 PM, Martin Storsjö wrote: On Thu, 8 Nov 2018, Steve Lhomme wrote: The 3 calls defined in expandedresources.h are supposed to be linked with windowsapp.lib but actually use gamemode.dll. The DLL should be available on Win32 as well

Re: [Mingw-w64-public] [PATCH 2/2] crt: build libraries using our own headers

2018-11-08 Thread Steve Lhomme
On 08/11/2018 14:36, Jacek Caban wrote: On 11/08/2018 02:27 PM, Steve Lhomme wrote: In any case it doesn't seem right to rely on the system to build something that will overwrite it in the end. You change crt module, which will not override system headers (maybe system crt, if that's how you

Re: [Mingw-w64-public] [PATCH 2/2] crt: build libraries using our own headers

2018-11-08 Thread Steve Lhomme
On 08/11/2018 14:03, Martin Storsjö wrote: On Thu, 8 Nov 2018, Steve Lhomme wrote: don't depend on possibly outdated system ones --- mingw-w64-crt/Makefile.am | 220 +++--- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/mingw-w64-crt

[Mingw-w64-public] [PATCH 1/2] crt: use our own CRT headers to build

2018-11-08 Thread Steve Lhomme
The system ones may be outdated. --- mingw-w64-crt/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index e27557fc..68c966e8 100644 --- a/mingw-w64-crt/Makefile.am +++ b/mingw-w64-crt/Makefile.am @@ -57,7 +57,7

[Mingw-w64-public] [PATCH 2/2] crt: build libraries using our own headers

2018-11-08 Thread Steve Lhomme
don't depend on possibly outdated system ones --- mingw-w64-crt/Makefile.am | 220 +++--- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am index 68c966e8..4a4ce5a2 100644 ---

Re: [Mingw-w64-public] [PATCH] add dxgidebug.idl

2015-05-14 Thread Steve Lhomme
should not have such requirements since the goal is to run on a functional Windows. But it seems it's tied to Wine for definitions. Anyway, let us way for Wine's review on this. Regards, Kai 2015-05-12 16:40 GMT+02:00 Steve Lhomme rob...@videolabs.io: --- mingw-w64-headers/Makefile.am

[Mingw-w64-public] [PATCH] add dxgidebug.idl

2015-05-12 Thread Steve Lhomme
\ @HAVE_WIDL_TRUE@ include/filter.idl \ diff --git a/mingw-w64-headers/direct-x/include/dxgidebug.idl b/mingw-w64-headers/direct-x/include/dxgidebug.idl new file mode 100644 index 000..94f57da --- /dev/null +++ b/mingw-w64-headers/direct-x/include/dxgidebug.idl @@ -0,0 +1,44 @@ +/* + * Copyright 2015 Steve

[Mingw-w64-public] [PATCH] d3d11.idl: add the necessary interfaces to use the D3D11 video decoder

2015-05-11 Thread Steve Lhomme
--- These COM classes are needed by VLC --- mingw-w64-headers/direct-x/include/d3d11.h | 811 +++ mingw-w64-headers/direct-x/include/d3d11.idl | 199 +++ 2 files changed, 1010 insertions(+) diff --git a/mingw-w64-headers/direct-x/include/d3d11.h

Re: [Mingw-w64-public] [PATCH] d3d11.idl: add the necessary interfaces to use the D3D11 video decoder

2015-05-11 Thread Steve Lhomme
Discard this patch, I forgot some methods between the ones necessary and it doesn't work properly. On Mon, May 11, 2015 at 1:43 PM, Steve Lhomme rob...@videolabs.io wrote: --- These COM classes are needed by VLC --- mingw-w64-headers/direct-x/include/d3d11.h | 811

[Mingw-w64-public] [PATCH] d3d11: add the basic interfaces to enable video decoding

2015-05-11 Thread Steve Lhomme
--- mingw-w64-headers/direct-x/include/d3d11.h | 939 +++ mingw-w64-headers/direct-x/include/d3d11.idl | 201 ++ 2 files changed, 1140 insertions(+) diff --git a/mingw-w64-headers/direct-x/include/d3d11.h b/mingw-w64-headers/direct-x/include/d3d11.h index

<    1   2   3   4   5