Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: 648b1180 by june wilde at 2026-03-04T10:04:24+01:00 TB 44633: Move CreateDirect3D11DeviceFromDXGIDevice to mingw-webrtc.patch - - - - - 1 changed file: - projects/mingw-w64-clang/mingw-webrtc.patch Changes: ===================================== projects/mingw-w64-clang/mingw-webrtc.patch ===================================== @@ -1,9 +1,9 @@ diff --git a/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h new file mode 100644 -index 000000000..d7ff1be23 +index 000000000..d92535247 --- /dev/null +++ b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h -@@ -0,0 +1,160 @@ +@@ -0,0 +1,164 @@ +/*** Autogenerated by WIDL 8.0 from include/windows.graphics.directx.direct3d11.interop.idl - Do not edit ***/ + +#ifdef _WIN32 @@ -51,12 +51,16 @@ index 000000000..d7ff1be23 + +/* Headers for imported files */ + ++#include <dxgi.h> ++#include <inspectable.h> +#include <windows.graphics.directx.direct3d11.h> + +#ifdef __cplusplus +extern "C" { +#endif + ++HRESULT CreateDirect3D11DeviceFromDXGIDevice(IDXGIDevice *dxgiDevice,IInspectable **graphicsDevice); ++ +/***************************************************************************** + * IDirect3DDxgiInterfaceAccess interface + */ @@ -166,17 +170,37 @@ index 000000000..d7ff1be23 +#endif /* __windows_graphics_directx_direct3d11_interop_h__ */ diff --git a/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl new file mode 100644 -index 000000000..51e2845ea +index 000000000..b5ca72e40 --- /dev/null +++ b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl -@@ -0,0 +1,14 @@ +@@ -0,0 +1,34 @@ ++/* ++ * This library is free software; you can redistribute it and/or ++ * modify it under the terms of the GNU Lesser General Public ++ * License as published by the Free Software Foundation; either ++ * version 2.1 of the License, or (at your option) any later version. ++ * ++ * This library is distributed in the hope that it will be useful, ++ * but WITHOUT ANY WARRANTY; without even the implied warranty of ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ * Lesser General Public License for more details. ++ * ++ * You should have received a copy of the GNU Lesser General Public ++ * License along with this library; if not, write to the Free Software ++ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA ++ */ ++ +#ifdef __WIDL__ +#pragma winrt ns_prefix +#endif + ++import "dxgi.idl"; ++import "inspectable.idl"; +import "windows.graphics.directx.direct3d11.idl"; + +namespace Windows.Graphics.DirectX.Direct3D11 { ++ HRESULT CreateDirect3D11DeviceFromDXGIDevice([in] IDXGIDevice* dxgiDevice, [out] IInspectable** graphicsDevice); ++ + [ + uuid(A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1) + ] View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/64... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/64... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
Pier Angelo Vendrame (@pierov)