gecko-dev/dom/canvas
Lee Salzman 60ec99a7d2 Bug 1872087 - Share recycling across WebGL framebuffers on a single context. r=aosmond,gfx-reviewers
This was a change for bug 1872087 that somehow got lost when I was rebasing. The idea
here is that DrawTargetWebgls use a single shared WebGL context, so it makes sense for
them to share recycle texture data, much like CanvasTranslator shares recycling of
texture data for D2D. This should increase the efficiency of use-cases that create and
destroy a lot of canvases every frame and would not normally benefit from recycling.

Depends on D197375

Differential Revision: https://phabricator.services.mozilla.com/D197376
2023-12-28 20:29:58 +00:00
..
crashtests Bug 1865385 - remove win7/win-aarch64 annotations from reftest manifests. r=gbrown 2023-12-05 21:49:04 +00:00
gtest Backed out 3 changesets (bug 1826040) for causing mochitest failures on dom/canvas/test/webgl-mochitest/test_renderer_strings.html CLOSED TREE 2023-09-19 03:22:53 +03:00
test Backed out 3 changesets (bug 1871467) for causing reftest failures on transformations-1.html. CLOSED TREE 2023-12-22 10:12:28 +02:00
CacheInvalidator.cpp
CacheInvalidator.h
CanvasGradient.cpp
CanvasGradient.h
CanvasImageCache.cpp Bug 1851395 - Remove canvas.createConicGradient.enabled pref r=webidl,peterv 2023-09-18 22:09:35 +00:00
CanvasImageCache.h Bug 1781527 - Part 3. Implement support for surfaces requiring scaling/crop rects with canvas. r=lsalzman 2023-07-10 00:26:47 +00:00
CanvasPath.h Bug 1846079 - Ensure pruned point begins first sub-path if necessary. r=aosmond 2023-07-30 14:31:09 +00:00
CanvasPattern.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
CanvasPattern.h
CanvasRenderingContext2D.cpp Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
CanvasRenderingContext2D.h Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
CanvasRenderingContextHelper.cpp Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
CanvasRenderingContextHelper.h Bug 1804746 - Make HTMLCanvasElement's toBlob to work with OffscreenCanvas. r=gfx-reviewers,lsalzman 2023-09-19 11:58:11 +00:00
CanvasUtils.cpp Bug 1713619 - Exempt chrome/resource (incl PDF.js) principals from canvas randomization/placeholders. r=lsalzman 2023-12-22 13:38:39 +00:00
CanvasUtils.h Bug 1856732 - WebExtensions should not be subject to random canvas noise for fingerprint resistance. r=timhuang,gfx-reviewers,lsalzman 2023-12-13 11:33:25 +00:00
ClientWebGLContext.cpp Bug 1829026 - Remove unused ClientWebGLContext local extensions. r=jgilbert,aosmond 2023-12-18 18:10:44 +00:00
ClientWebGLContext.h Bug 1829026 - Remove unused ClientWebGLContext local extensions. r=jgilbert,aosmond 2023-12-18 18:10:44 +00:00
ClientWebGLExtensions.cpp Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
ClientWebGLExtensions.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
DrawTargetWebgl.cpp Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
DrawTargetWebgl.h Bug 1829026 - Optimize circle drawing in DrawTargetWebgl. r=aosmond 2023-12-18 18:10:47 +00:00
DrawTargetWebglInternal.h Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
GeneratePlaceholderCanvasData.h
HostWebGLContext.cpp Bug 1829026 - Allow WebGLContext to work without a host or client wrapper. r=jgilbert,aosmond 2023-12-18 18:10:45 +00:00
HostWebGLContext.h Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
ImageBitmap.cpp Bug 1799173 - Override Predispatch/PostDispatch of CreateImageBitmapFromBlobRunnable to mute the noise of WorkerRunnable dispatching assertion. r=dom-worker-reviewers,asuth 2023-11-21 13:04:42 +00:00
ImageBitmap.h Bug 1839286. Use one shutdown observer for all ImageBitmaps. r=gfx-reviewers,lsalzman 2023-07-19 06:15:22 +00:00
ImageBitmapRenderingContext.cpp Bug 1850871 - Resize canvas in ImageBitmapRenderingContext::TransferFromImageBitmap. r=gfx-reviewers,lsalzman 2023-10-16 11:23:43 +00:00
ImageBitmapRenderingContext.h Bug 1812932 - Add size outvar to GetImageBuffer. r=gfx-reviewers,bradwerth 2023-03-21 18:05:09 +00:00
ImageBitmapSource.h Bug 1781527 - Part 2. Implement means to use VideoFrame with ImageBitmap and CanvasRenderingContext2D. r=chunmin,webidl,gfx-reviewers,smaug,lsalzman 2023-07-10 00:26:47 +00:00
ImageData.cpp Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
ImageData.h
ImageUtils.cpp
ImageUtils.h
MurmurHash3.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
MurmurHash3.h
OffscreenCanvas.cpp Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
OffscreenCanvas.h Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
OffscreenCanvasDisplayHelper.cpp Backed out 12 changesets (bug 1795296, bug 1855742) as requested by aosmond a=backout 2023-12-19 17:25:55 +02:00
OffscreenCanvasDisplayHelper.h Backed out 12 changesets (bug 1795296, bug 1855742) as requested by aosmond a=backout 2023-12-19 17:25:55 +02:00
OffscreenCanvasRenderingContext2D.cpp Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
OffscreenCanvasRenderingContext2D.h Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00
PWebGL.ipdl Bug 1839314 - Force sync IPC if there are many flushed cmds without calling ClientWebGLContext::GetFrontBuffer() r=ipc-reviewers,nika,gfx-reviewers,lsalzman 2023-06-27 18:23:41 +00:00
QueueParamTraits.h Bug 1277372 - Move away from "mozilla/TypeTraits.h". r=geckoview-reviewers,sergesanspaille,m_kato 2023-04-17 13:50:11 +00:00
SanitizeRenderer.cpp Backed out 3 changesets (bug 1826040) for causing mochitest failures on dom/canvas/test/webgl-mochitest/test_renderer_strings.html CLOSED TREE 2023-09-19 03:22:53 +03:00
SourceSurfaceWebgl.cpp Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
SourceSurfaceWebgl.h Bug 1829026 - Support using DrawTargetWebgl via remote canvas. r=aosmond 2023-12-18 18:10:46 +00:00
TexUnpackBlob.cpp Bug 1868397 - Make WebGL use VideoBridge to avoid copies with GPUVideoImage. r=jgilbert 2023-12-06 19:31:32 +00:00
TexUnpackBlob.h Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
TextMetrics.h
TiedFields.h Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
TupleUtils.h
WebGL2Context.cpp
WebGL2Context.h Bug 1829026 - Allow WebGLContext to work without a host or client wrapper. r=jgilbert,aosmond 2023-12-18 18:10:45 +00:00
WebGL2ContextBuffers.cpp
WebGL2ContextFramebuffers.cpp
WebGL2ContextMRTs.cpp
WebGL2ContextQueries.cpp
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp
WebGL2ContextState.cpp
WebGL2ContextSync.cpp
WebGL2ContextTransformFeedback.cpp
WebGL2ContextUniforms.cpp
WebGLBuffer.cpp Bug 1827591 - Avoid setting GL_MAP_INVALIDATE_RANGE_BIT on Adreno devices. r=gfx-reviewers,lsalzman 2023-04-12 11:49:58 +00:00
WebGLBuffer.h Bug 1826134 - Avoid interleaving glBufferSubData calls with draw calls in DrawTargetWebgl. r=gfx-reviewers,jgilbert,lsalzman 2023-04-07 07:25:50 +00:00
WebGLChild.cpp Bug 1845697 - Always enable IPC congestion check in WebGLChild::FlushPendingCmds() r=jgilbert,gfx-reviewers,lsalzman 2023-08-01 00:18:12 +00:00
WebGLChild.h Bug 1845697 - Always enable IPC congestion check in WebGLChild::FlushPendingCmds() r=jgilbert,gfx-reviewers,lsalzman 2023-08-01 00:18:12 +00:00
WebGLCommandQueue.h Bug 1798703 - Enforce alignment for UniformData via union rather than overalignment. r=lsalzman 2022-11-07 07:24:43 +00:00
WebGLContext.cpp Bug 1872087 - Share recycling across WebGL framebuffers on a single context. r=aosmond,gfx-reviewers 2023-12-28 20:29:58 +00:00
WebGLContext.h Bug 1829026 - Allow WebGLContext::PushRemoteTexture to specify an explicit pid. r=aosmond 2023-12-18 18:10:45 +00:00
WebGLContextBuffers.cpp Bug 1849433 - Code cleanups in dom/canvas/WebGL. r=gfx-reviewers,gw 2023-08-31 21:45:35 +00:00
WebGLContextDraw.cpp Bug 1849433: apply code formatting via Lando 2023-08-31 21:52:56 +00:00
WebGLContextExtensions.cpp Bug 1819497 - Don't race on static bool for initialization. r=gfx-reviewers,aosmond 2023-09-13 21:50:14 +00:00
WebGLContextFramebufferOperations.cpp
WebGLContextGL.cpp Bug 1793526 - Remove IsCurrent checks in webgl code. r=gfx-reviewers,lsalzman 2023-09-19 22:04:17 +00:00
WebGLContextLossHandler.cpp
WebGLContextLossHandler.h
WebGLContextState.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
WebGLContextTextures.cpp Bug 1850883 - Remove always-true OnHighSierraOrLater() and OnCatalinaOrLater() version checks. r=gfx-reviewers,lsalzman 2023-09-07 23:07:57 +00:00
WebGLContextUtils.cpp Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
WebGLContextUtils.h
WebGLContextValidate.cpp Backed out changeset b09d48d2b473 (bug 1655101) for causing mochitest webgl failures on dom/canvas/TexUnpackBlob.cpp 2023-09-26 19:09:49 +03:00
WebGLContextVertexArray.cpp
WebGLContextVertices.cpp
WebGLExtensions.cpp
WebGLExtensions.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLFormats.cpp
WebGLFormats.h
WebGLFramebuffer.cpp
WebGLFramebuffer.h
WebGLInternalFormatsTable.h
WebGLIpdl.h Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLMethodDispatcher.h Bug 1825673 - Implement WEBGL_provoking_vertex. r=gfx-reviewers,webidl,lsalzman,saschanaz 2023-04-01 00:33:25 +00:00
WebGLObjectModel.h
WebGLParent.cpp Bug 1868397 - Make WebGL use VideoBridge to avoid copies with GPUVideoImage. r=jgilbert 2023-12-06 19:31:32 +00:00
WebGLParent.h Bug 1868397 - Make WebGL use VideoBridge to avoid copies with GPUVideoImage. r=jgilbert 2023-12-06 19:31:32 +00:00
WebGLProgram.cpp Bug 1800301 - Use Vector instead of custom inlining_vector. r=jgilbert 2022-11-15 08:05:09 +00:00
WebGLProgram.h Bug 1849433 - Code cleanups in dom/canvas/WebGL. r=gfx-reviewers,gw 2023-08-31 21:45:35 +00:00
WebGLQuery.cpp
WebGLQuery.h
WebGLQueueParamTraits.h Bug 1849433 - Code cleanups in dom/canvas/WebGL. r=gfx-reviewers,gw 2023-08-31 21:45:35 +00:00
WebGLRenderbuffer.cpp Bug 1793526 - Remove IsCurrent checks in webgl code. r=gfx-reviewers,lsalzman 2023-09-19 22:04:17 +00:00
WebGLRenderbuffer.h
WebGLSampler.cpp
WebGLSampler.h
WebGLShader.cpp
WebGLShader.h
WebGLShaderValidator.cpp Bug 1794292: apply code formatting via Lando 2023-03-30 22:44:59 +00:00
WebGLShaderValidator.h
WebGLStrongTypes.h
WebGLSync.cpp
WebGLSync.h
WebGLTexelConversions.cpp
WebGLTexelConversions.h
WebGLTexture.cpp
WebGLTexture.h
WebGLTextureUpload.cpp Bug 1841050. r=gfx-reviewers,nical,ahale 2023-10-25 00:21:00 +00:00
WebGLTextureUpload.h Bug 1781526 - Implement means to use VideoFrame with WebGL. r=webidl,smaug,lsalzman 2023-09-20 22:40:24 +00:00
WebGLTransformFeedback.cpp
WebGLTransformFeedback.h Bug 1849433 - Code cleanups in dom/canvas/WebGL. r=gfx-reviewers,gw 2023-08-31 21:45:35 +00:00
WebGLTypes.h Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE 2023-11-30 21:06:53 +02:00
WebGLValidateStrings.cpp
WebGLValidateStrings.h
WebGLVertexArray.cpp
WebGLVertexArray.h
WebGLVertexArrayFake.cpp
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp
WebGLVertexArrayGL.h
XRWebGLLayer.cpp Bug 1805931, part 2 - Automated removal of uses of ROOT and UNROOT CC macros. r=smaug 2022-12-15 19:45:01 +00:00
XRWebGLLayer.h
moz.build Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
nsICanvasRenderingContextInternal.cpp Bug 1816189 - Part 4: Add random noise when extracting data from canvas element when canvas randomization is enabled. r=tjr,lsalzman 2023-05-08 14:04:35 +00:00
nsICanvasRenderingContextInternal.h Bug 1870957 - Part 4. Refactor canvas shutdown to be synchronized with CanvasManagerChild. r=lsalzman 2023-12-20 13:01:19 +00:00