gecko-dev/gfx/gl
Martin Stransky 905e0e97e8 Bug 1614568 [Wayland] Implement fence sync to dmabuf surfaces for WebGL rendering, r=jgilbert
Use ANDROID_native_fence_sync to synchronize WebGL renderin. It's similar to KHR_fence_sync
but it the fence can be exported to file descriptor and shared among processes so we can create
the fence by WebGL producer and then wait in renderer.

Use glFinish() as a fallback when ANDROID_native_fence_sync is not available.

Differential Revision: https://phabricator.services.mozilla.com/D62712

--HG--
extra : moz-landing-system : lando
2020-02-19 15:13:28 +00:00
..
AndroidNativeWindow.h
AndroidSurfaceTexture.cpp
AndroidSurfaceTexture.h
DecomposeIntoNoRepeatTriangles.cpp
DecomposeIntoNoRepeatTriangles.h
ForceDiscreteGPUHelperCGL.h
GfxTexturesReporter.cpp
GfxTexturesReporter.h
GLBlitHelper.cpp Bug 1613358 [Wayland] Implement WaylandDMABUFSurfaceImage dmabuf image, r=sotaro 2020-02-06 15:15:02 +00:00
GLBlitHelper.h
GLBlitHelperD3D.cpp Bug 1577336: Part 6 - Make SurfaceDescriptorGPUVideo a union that contains SurfaceDescriptorRemoteDecoder r=mattwoodrow,jolin 2019-11-20 21:55:06 +00:00
GLConsts.h
GLConsts.py
GLContext.cpp Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLContext.h Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLContextCGL.h Bug 1579664 - Migrate compositor GLContexts to the active GPU after a GPU switch. r=jgilbert 2019-11-19 08:52:00 +00:00
GLContextEAGL.h
GLContextEGL.h Bug 1614208 - Remove some include dependencies in nsStyleConsts.h. r=jfkthame,jgilbert 2020-02-11 01:23:37 +00:00
GLContextFeatures.cpp
GLContextGLX.h
GLContextProvider.h
GLContextProviderCGL.mm Bug 1614208 - Remove some include dependencies in nsStyleConsts.h. r=jfkthame,jgilbert 2020-02-11 01:23:37 +00:00
GLContextProviderEAGL.mm Bug 1596248 - Remove unused GLContextProvider::CreateForWindow. r=jgilbert 2019-11-19 03:12:13 +00:00
GLContextProviderEGL.cpp Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLContextProviderGLX.cpp Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLContextProviderImpl.h Bug 1596248 - Remove unused GLContextProvider::CreateForWindow. r=jgilbert 2019-11-19 03:12:13 +00:00
GLContextProviderNull.cpp Bug 1596248 - Remove unused GLContextProvider::CreateForWindow. r=jgilbert 2019-11-19 03:12:13 +00:00
GLContextProviderWayland.cpp Bug 1605934 - Use nested namespaces r=sg 2020-01-18 13:48:34 +00:00
GLContextProviderWGL.cpp Bug 1596248 - Remove unused GLContextProvider::CreateForWindow. r=jgilbert 2019-11-19 03:12:13 +00:00
GLContextSymbols.h
GLContextTypes.h Bug 1596248 - Add CreateContextFlags::PREFER_MULTITHREADED and change the pref name from gl to webgl. r=jgilbert 2019-11-19 21:49:01 +00:00
GLContextWGL.h
GLDebugUtils.cpp
GLDebugUtils.h
GLDefs.h Bug 1597887 - Improve performance of DirectComposition mode with WR. r=sotaro 2019-11-20 07:12:42 +00:00
GLLibraryEGL.cpp Bug 1474281 - Remove unneeded debug print. r=jgilbert 2020-01-31 17:17:49 +00:00
GLLibraryEGL.h Bug 1484812 - Use SwapBuffersWithDamage on EGL platforms (Wayland/Android) r=jnicol,mstange,jgilbert 2020-01-30 10:46:54 +00:00
GLLibraryLoader.cpp
GLLibraryLoader.h
GLReadTexImageHelper.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
GLReadTexImageHelper.h
GLScreenBuffer.cpp Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLScreenBuffer.h Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
GLTextureImage.cpp
GLTextureImage.h
GLTypes.h
GLUploadHelpers.cpp
GLUploadHelpers.h
GLXLibrary.h
HeapCopyOfStackArray.h
moz.build Bug 1586696 [Wayland] Use wayland dmabuf as WebGL backend, r=jgilbert 2020-02-05 06:32:25 +00:00
MozFramebuffer.cpp Bug 1592038 - Allow sharing depth and stencil buffers between multiple MozFramebuffers. r=jgilbert 2019-12-19 03:26:19 +00:00
MozFramebuffer.h Bug 1592038 - Allow sharing depth and stencil buffers between multiple MozFramebuffers. r=jgilbert 2019-12-19 03:26:19 +00:00
ScopedGLHelpers.cpp
ScopedGLHelpers.h
SharedSurface.cpp Bug 1609996 - Remove mozilla::Swap in favor of std::swap. r=froydnj 2020-01-20 16:17:06 +00:00
SharedSurface.h
SharedSurfaceANGLE.cpp
SharedSurfaceANGLE.h
SharedSurfaceD3D11Interop.cpp
SharedSurfaceD3D11Interop.h
SharedSurfaceDMABUF.cpp Bug 1614568 [Wayland] Implement fence sync to dmabuf surfaces for WebGL rendering, r=jgilbert 2020-02-19 15:13:28 +00:00
SharedSurfaceDMABUF.h Bug 1613364 [Wayland] Update gfx code to derived WaylandDMABufSurfaceRGBA class, r=sotaro 2020-02-12 22:35:02 +00:00
SharedSurfaceEGL.cpp
SharedSurfaceEGL.h Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman 2020-01-08 22:19:23 +00:00
SharedSurfaceGL.cpp Bug 1477756 - Fix all webgl regression tests according to CI. r=handyman 2020-01-08 22:19:23 +00:00
SharedSurfaceGL.h
SharedSurfaceGLX.cpp Bug 1615751 - Prune unused parts of GLScreenBuffer. r=lsalzman 2020-02-15 22:48:36 +00:00
SharedSurfaceGLX.h
SharedSurfaceIO.cpp
SharedSurfaceIO.h
SurfaceTypes.h Bug 1586696 [Wayland] Use wayland dmabuf as WebGL backend, r=jgilbert 2020-02-05 06:32:25 +00:00
TextureImageEGL.cpp
TextureImageEGL.h
WGLLibrary.h