gecko-dev/gfx/gl
sotaro 7d06300567 Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman
gecko uses IDXGIResource::GetSharedHandle(). But it is recommend not to use anymore to retrieve the handle to a shared resource.
IDXGIResource1::CreateSharedHandle() with D3D11_RESOURCE_MISC_SHARED_NTHANDLE flag should be used instead of the GetSharedHandle().

The CreateSharedHandle() could be called only once for a shared resource. Later calls fail.

HANDLEs of ID3D11Texture2D are replaced by gfx::FileHandleWrappers.

Differential Revision: https://phabricator.services.mozilla.com/D192173
2023-12-19 09:23:21 +00:00
..
gtest
AndroidNativeWindow.h
AndroidSurfaceTexture.cpp
AndroidSurfaceTexture.h
AutoMappable.h
Colorspaces.cpp
Colorspaces.h
ForceDiscreteGPUHelperCGL.h
GfxTexturesReporter.cpp
GfxTexturesReporter.h
GLBlitHelper.cpp Bug 1833855 [Linux] Build dmabuf support on Linux/Gtk and don't request Wayland for it r=lsalzman 2023-06-22 13:42:38 +00:00
GLBlitHelper.h Bug 1833855 [Linux] Build dmabuf support on Linux/Gtk and don't request Wayland for it r=lsalzman 2023-06-22 13:42:38 +00:00
GLBlitHelperD3D.cpp Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
GLConsts.h
GLConsts.py
GLContext.cpp Bug 1829026 - Allow invalidating the current TLS context on establishing TLS scope. r=aosmond 2023-12-18 18:10:46 +00:00
GLContext.h Bug 1829026 - Allow invalidating the current TLS context on establishing TLS scope. r=aosmond 2023-12-18 18:10:46 +00:00
GLContextCGL.h
GLContextEAGL.h
GLContextEGL.h Bug 1856560 [Wayland] Rename SavedGLSurface to WaylandOffscreenGLSurface r=lsalzman 2023-11-15 08:54:58 +00:00
GLContextFeatures.cpp
GLContextGLX.h
GLContextProvider.h
GLContextProviderCGL.mm Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
GLContextProviderEAGL.mm Bug 1851529 - Set clang-format ColumnLimit consistently. r=sylvestre,necko-reviewers,kershaw 2023-09-05 11:23:01 +00:00
GLContextProviderEGL.cpp Bug 1843782 - WebGL software rendering when mesa/vmwgfx driver detected r=gfx-reviewers,bradwerth,jrmuizel,jgilbert 2023-11-29 21:45:27 +00:00
GLContextProviderGLX.cpp
GLContextProviderImpl.h
GLContextProviderLinux.cpp
GLContextProviderNull.cpp
GLContextProviderWGL.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=emilio,media-playback-reviewers,padenot 2023-12-04 10:09:36 +00:00
GLContextSymbols.h
GLContextTypes.h Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
GLContextWGL.h
GLDebugUtils.cpp
GLDebugUtils.h
GLDefs.h
GLLibraryEGL.cpp Bug 1843782 - WebGL software rendering when mesa/vmwgfx driver detected r=gfx-reviewers,bradwerth,jrmuizel,jgilbert 2023-11-29 21:45:27 +00:00
GLLibraryEGL.h Bug 1868825 - Leak EGLDisplays on Samsung S22 devices. r=gfx-reviewers,nical,ahale 2023-12-13 11:29:18 +00:00
GLLibraryLoader.cpp
GLLibraryLoader.h
GLReadTexImageHelper.cpp Bug 1863367 - Part 2. Refactor ReadPixelsIntoDataSurface to allow reading into buffers. r=gfx-reviewers,lsalzman 2023-11-14 02:04:04 +00:00
GLReadTexImageHelper.h Bug 1863367 - Part 2. Refactor ReadPixelsIntoDataSurface to allow reading into buffers. r=gfx-reviewers,lsalzman 2023-11-14 02:04:04 +00:00
GLScreenBuffer.cpp Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
GLScreenBuffer.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
GLTextureImage.cpp
GLTextureImage.h
GLTypes.h
GLUploadHelpers.cpp
GLUploadHelpers.h
GLVendor.h Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
GLXLibrary.h
HeapCopyOfStackArray.h
moz.build Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
MozFramebuffer.cpp
MozFramebuffer.h
ScopedGLHelpers.cpp
ScopedGLHelpers.h
SharedSurface.cpp Bug 1833855 [Linux] Build dmabuf support on Linux/Gtk and don't request Wayland for it r=lsalzman 2023-06-22 13:42:38 +00:00
SharedSurface.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SharedSurfaceAndroidHardwareBuffer.cpp
SharedSurfaceAndroidHardwareBuffer.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SharedSurfaceANGLE.cpp Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
SharedSurfaceANGLE.h Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
SharedSurfaceD3D11Interop.cpp Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
SharedSurfaceD3D11Interop.h Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
SharedSurfaceDMABUF.cpp Bug 1833855 [Linux] Build dmabuf support on Linux/Gtk and don't request Wayland for it r=lsalzman 2023-06-22 13:42:38 +00:00
SharedSurfaceDMABUF.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SharedSurfaceEGL.cpp Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SharedSurfaceEGL.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SharedSurfaceGL.cpp
SharedSurfaceGL.h
SharedSurfaceIO.cpp
SharedSurfaceIO.h Bug 1664063 - Ensure we consistently handle all errors from IDXGIKeyedMutex::AcquireSync. r=gfx-reviewers,lsalzman 2023-12-18 16:41:54 +00:00
SurfaceTypes.h
WGLLibrary.h