gecko-dev/gfx/gl
Lee Salzman 80306e69c7 Bug 1875193 - Don't recycle SharedSurfaces from different SurfaceFactory. r=sotaro
It looks like we're accidentally putting SharedSurfaces that came from a different
SurfaceFactory back into a different one recycling. This happens because on context
loss in CanvasTranslator, the old GL context may go away, though the RemoteTextureOwnerClient
has a shared recycling bin that might accidentally keep the old surfaces.

This also tries to clear the old recycled surfaces as soon as possible on a context
loss now.

Differential Revision: https://phabricator.services.mozilla.com/D198918
2024-01-18 06:46:51 +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 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond 2024-01-04 18:38:52 +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 Bug 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond 2024-01-04 18:38:52 +00: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 1875193 - Don't recycle SharedSurfaces from different SurfaceFactory. r=sotaro 2024-01-18 06:46:51 +00:00
GLScreenBuffer.h Bug 1875193 - Don't recycle SharedSurfaces from different SurfaceFactory. r=sotaro 2024-01-18 06:46:51 +00:00
GLTextureImage.cpp
GLTextureImage.h
GLTypes.h
GLUploadHelpers.cpp
GLUploadHelpers.h
GLXLibrary.h
HeapCopyOfStackArray.h
moz.build Bug 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond 2024-01-04 18:38:52 +00: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