gecko-dev/gfx/gl
Barret Rennie b09ba3de12 Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert
It was pointed out in a review by jgilbert that glMapBuffer only supports
writing to the mapped range on an OpenGL ES profile and using it to read is
undefined behaviour. We now use glMapBufferRange when available, which does
support reading on both OpenGL and OpenGL ES profiles, and allows capturing
screenshots on Android. When it is not available, we fall back to glMapBuffer
(e.g., for macOS).

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

--HG--
extra : moz-landing-system : lando
2018-11-20 18:32:10 +00:00
..
AndroidNativeWindow.h
AndroidSurfaceTexture.cpp
AndroidSurfaceTexture.h
DecomposeIntoNoRepeatTriangles.cpp
DecomposeIntoNoRepeatTriangles.h
EGLUtils.cpp Bug 1451183 - Make EGLLibrary destroyable r=jgilbert 2018-06-04 11:09:29 +09:00
EGLUtils.h Bug 1451183 - Make EGLLibrary destroyable r=jgilbert 2018-06-04 11:09:29 +09:00
ForceDiscreteGPUHelperCGL.h Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
GfxTexturesReporter.cpp
GfxTexturesReporter.h
GLBlitHelper.cpp Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
GLBlitHelper.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
GLBlitHelperD3D.cpp Bug 1497294 - P7. Add P016 and P010 surface format support. r=jgilbert 2018-10-10 22:21:53 +00:00
GLConsts.h Bug 1494809 - Update gfx/gl/GLConsts.h. - r=kvark 2018-10-10 18:13:09 -07:00
GLContext.cpp Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert 2018-11-20 18:32:10 +00:00
GLContext.h Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert 2018-11-20 18:32:10 +00:00
GLContextCGL.h Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextEAGL.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
GLContextEGL.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
GLContextFeatures.cpp Bug 1457546 - Use glMapBufferRange instead of glMapBuffer to capture screenshots r=jgilbert 2018-11-20 18:32:10 +00:00
GLContextGLX.h Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextProvider.h Bug 1460255 - Use GLContextProviderWayland GL provider on Wayland enabled builds, r=lsalzman 2018-05-15 16:16:19 +02:00
GLContextProviderCGL.mm Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextProviderEAGL.mm Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextProviderEGL.cpp Bug 1504904 - Don't use GDK_IS_WAYLAND_DISPLAY() as it's missing on Gtk+ X11 only builds, r=jhorak 2018-11-12 15:25:38 +00:00
GLContextProviderGLX.cpp Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextProviderImpl.h
GLContextProviderNull.cpp
GLContextProviderWayland.cpp Bug 1460255 - Implement GLContextProviderWayland, r=lsalzman 2018-05-15 16:15:35 +02:00
GLContextProviderWGL.cpp Backed out 4 changesets (bug 1399501) per developer's request for causing Bug 1502286 on Android,Bug 1502305 and Bug 1502292 a=backout 2018-10-26 19:30:48 +03:00
GLContextSymbols.h Bug 1495892 - Aggregates in c++2a can't have deleted ctors. r=dholbert 2018-10-16 19:39:37 +00:00
GLContextTypes.cpp
GLContextTypes.h Bug 1492723 - Use EGL_MOZ_context_create_provoking_vertex_dont_care. r=mattwoodrow 2018-09-27 17:31:30 +12:00
GLContextWGL.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
GLDebugUtils.cpp
GLDebugUtils.h
GLDefs.h
GLLibraryEGL.cpp Bug 1504904 - Don't use GDK_IS_WAYLAND_DISPLAY() as it's missing on Gtk+ X11 only builds, r=jhorak 2018-11-12 15:25:38 +00:00
GLLibraryEGL.h Bug 1492723 - Use EGL_MOZ_context_create_provoking_vertex_dont_care. r=mattwoodrow 2018-09-27 17:31:30 +12:00
GLLibraryLoader.cpp
GLLibraryLoader.h
GLParseRegistryXML.py Bug 1494809 - Fix python lint errors. 2018-10-10 18:13:19 -07:00
GLReadTexImageHelper.cpp
GLReadTexImageHelper.h
GLScreenBuffer.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
GLScreenBuffer.h Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark 2018-08-24 15:32:12 +00:00
GLTextureImage.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
GLTextureImage.h
GLTypes.h
GLUploadHelpers.cpp
GLUploadHelpers.h
GLXLibrary.h Bug 1484782 - Enable Video Memory Purge extension if available. r=jgilbert 2018-08-28 05:15:00 +03:00
HeapCopyOfStackArray.h
moz.build Bug 1489664 - Re-enable clang-cl warnings-as-errors in gfx/gl/ 2018-09-07 21:12:02 +09:00
MozFramebuffer.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
MozFramebuffer.h
ScopedGLHelpers.cpp Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
ScopedGLHelpers.h
SharedSurface.cpp Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
SharedSurface.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00
SharedSurfaceANGLE.cpp Bug 1488701 - Remove misleading std::move's - r=froydnj 2018-09-06 08:28:34 +00:00
SharedSurfaceANGLE.h
SharedSurfaceD3D11Interop.cpp Bug 1488701 - Remove misleading std::move's - r=froydnj 2018-09-06 08:28:34 +00:00
SharedSurfaceD3D11Interop.h
SharedSurfaceEGL.cpp Bug 1487825 - Don't WaitForBufferOwnership if the surface is already Available r=jgilbert 2018-09-01 03:26:03 +03:00
SharedSurfaceEGL.h Bug 1478754 - WebGL crash when webgl.enable-surface-texture is enabled on Android; r=jgilbert,rbarker 2018-07-28 12:33:55 +02:00
SharedSurfaceGL.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
SharedSurfaceGL.h
SharedSurfaceGLX.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
SharedSurfaceGLX.h
SharedSurfaceIO.cpp Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj 2018-06-01 17:59:07 +02:00
SharedSurfaceIO.h
SkiaGLGlue.cpp Bug 1502152 - Skia m71 GL glue fixes. r=rhunt 2018-10-30 22:17:35 -04:00
SkiaGLGlue.h
SurfaceTypes.cpp
SurfaceTypes.h
TextureImageEGL.cpp Bug 1451183 - Make EGLLibrary destroyable r=jgilbert 2018-06-04 11:09:29 +09:00
TextureImageEGL.h
WGLLibrary.h Bug 1482974 - Prefer to initialize members at declaration in gfx/gl. r=jrmuizel 2018-08-17 22:21:26 +00:00