gecko-dev/dom/canvas
Jonathan Kew bfa1d70def Bug 1715501 - patch 2 - Pass the presContext to platform font lookup methods so they can query it for font visibility. r=emilio
This does not in itself change user-visible behavior, but is a foundation for bug
1715507 where we will make the behavior per-context instead of global. This is basically
just plumbing, passing a pointer to the presContext that's asking for fonts to be
resolved all the way down to the gfx code that handles the font list and looks up
fonts.

For the immediate goal of making font visibility work per-context, it would be
sufficient to pass the desired visibility level in to the font-selection methods.
However, passing the actual presContext down (and not just its visibility level)
will enable us to report back via the dev console when a font is blocked (see bug
1715537), so the approach here provides the basis for that upcoming enhancement.

Depends on D124194

Differential Revision: https://phabricator.services.mozilla.com/D124195
2021-09-08 12:18:17 +00:00
..
crashtests Bug 1715515 - Part 1. Switch Windows 32 and mingwclang tests to WebRender. r=jmaher 2021-06-21 12:46:32 +00:00
gtest Bug 1722699 - Handle "RENOIR" RENDERER. r=lsalzman 2021-08-03 07:14:08 +00:00
test Bug 1693222 - And fix a shameless copy-paste of the same test fixed on the previous commit. 2021-09-02 20:08:03 +02:00
BasicRenderingContext2D.h Bug 1627014 - Implement CanvasRenderingContext2D.createConicGradient r=emilio 2021-01-01 01:50:52 +00:00
CacheInvalidator.cpp Bug 1622654 - update while(mCaches.size()) to use .empty() r=sylvestre 2020-04-01 21:32:54 +00:00
CacheInvalidator.h Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
CanvasGradient.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
CanvasGradient.h Bug 1697344 p3: Don't hold the GradientStops object on CanvasGradient. r=jrmuizel 2021-03-29 12:12:21 +00:00
CanvasImageCache.cpp Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
CanvasImageCache.h Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
CanvasPath.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
CanvasPattern.cpp Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
CanvasPattern.h Bug 1653193 - Remove public includes for CanvasRenderingContext2D.h. r=jgilbert 2020-07-21 08:39:53 +00:00
CanvasRenderingContext2D.cpp Bug 1715501 - patch 2 - Pass the presContext to platform font lookup methods so they can query it for font visibility. r=emilio 2021-09-08 12:18:17 +00:00
CanvasRenderingContext2D.h Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
CanvasRenderingContextHelper.cpp Bug 1693003 - Remove redundant nullptr checks of return value of infallible new in dom/. r=smaug 2021-02-16 15:52:10 +00:00
CanvasRenderingContextHelper.h Bug 1671599 - Make `dom/canvas` buildable outside of `unified-build` environment. r=jgilbert 2020-10-20 13:14:51 +00:00
CanvasUtils.cpp Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley 2021-09-03 16:52:08 +00:00
CanvasUtils.h Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
ClientWebGLContext.cpp Merge autoland to mozilla-central. a=merge 2021-09-04 12:38:27 +03:00
ClientWebGLContext.h Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
ClientWebGLExtensions.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
ClientWebGLExtensions.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
GeneratePlaceholderCanvasData.h Bug 1621433 - In RFP mode, turn canvas image extraction into a random 'poison pill' for fingerprinters r=tjr,jrmuizel 2020-05-14 13:56:55 +00:00
HostWebGLContext.cpp Bug 1727489 - Remove PLayerTransaction. r=jrmuizel,jgilbert 2021-08-26 04:59:57 +00:00
HostWebGLContext.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
ImageBitmap.cpp Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond,baku 2021-09-02 00:29:29 +00:00
ImageBitmap.h Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond,baku 2021-09-02 00:29:29 +00:00
ImageBitmapRenderingContext.cpp Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
ImageBitmapRenderingContext.h Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
ImageBitmapSource.h
ImageData.cpp Bug 1712725 - Stop clearing JS things when calling mozilla::DropJSObjects. r=mccr8 2021-05-27 08:35:40 +00:00
ImageData.h Bug 1673424 - Fix includes around JS/StructuredClone.h. 2020-11-23 16:06:52 +00:00
ImageUtils.cpp Bug 1670515 - Don't assume memory position of planes. r=mattwoodrow 2020-10-12 03:10:16 +00:00
ImageUtils.h
IpdlQueue.h Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
MurmurHash3.cpp
MurmurHash3.h Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi 2021-01-07 08:53:08 +00:00
OffscreenCanvas.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
OffscreenCanvas.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
PWebGL.ipdl Bug 1727489 - Remove PLayerTransaction. r=jrmuizel,jgilbert 2021-08-26 04:59:57 +00:00
QueueParamTraits.h Bug 1367251 - ignore gl.UNPACK_FLIP_Y_WEBGL & UNPACK_PREMULTIPLY_ALPHA for textures uploading ImageBitmap data as per spec. r=jgilbert 2021-09-02 00:29:28 +00:00
SanitizeRenderer.cpp Bug 1722699 - Handle "RENOIR" RENDERER. r=lsalzman 2021-08-03 07:14:08 +00:00
TexUnpackBlob.cpp Bug 1367251 - ignore gl.UNPACK_FLIP_Y_WEBGL & UNPACK_PREMULTIPLY_ALPHA for textures uploading ImageBitmap data as per spec. r=jgilbert 2021-09-02 00:29:28 +00:00
TexUnpackBlob.h Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman 2021-01-14 01:23:06 +00:00
TextMetrics.h
WebGL2Context.cpp
WebGL2Context.h Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj 2020-07-21 22:56:52 +00:00
WebGL2ContextBuffers.cpp Bug 1607940 - Stand up webgl.out-of-process:true path. r=handyman,nika,froydnj 2020-07-21 22:56:52 +00:00
WebGL2ContextFramebuffers.cpp
WebGL2ContextMRTs.cpp
WebGL2ContextQueries.cpp
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp Bug 1617326 - Fix WebGL CTS/conformance2/extensions/* on Windows. r=lsalzman 2020-02-23 04:22:54 +00:00
WebGL2ContextState.cpp Bug 1607940 - IPC TexImage. r=lsalzman,nika,handyman 2020-07-21 22:57:01 +00:00
WebGL2ContextSync.cpp Bug 1607940 - IPC TexImage. r=lsalzman,nika,handyman 2020-07-21 22:57:01 +00:00
WebGL2ContextTransformFeedback.cpp
WebGL2ContextUniforms.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLBuffer.cpp
WebGLBuffer.h
WebGLChild.cpp Bug 1699201 - Pretty-print Deserialize failure func name and badArgId. r=lsalzman 2021-04-17 03:45:10 +00:00
WebGLChild.h Bug 1665289 - Convert WebGLChild's kDefaultCmdsShmemSize to a pref. r=lsalzman 2020-09-16 15:22:22 +00:00
WebGLCommandQueue.h Bug 1699201 - Pretty-print Deserialize failure func name and badArgId. r=lsalzman 2021-04-17 03:45:10 +00:00
WebGLContext.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContext.h Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00
WebGLContextBuffers.cpp Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman 2020-02-26 00:44:26 +00:00
WebGLContextDraw.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextExtensions.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextFramebufferOperations.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextGL.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextLossHandler.cpp Bug 1647112 - P1. Make the canvas thread use BackgroundTaskQueue. r=KrisWright,jgilbert,andi 2020-07-01 17:45:36 +00:00
WebGLContextLossHandler.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
WebGLContextState.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextTextures.cpp Bug 1692832 - isTexUploadFromPbo iff isPboBound. r=lsalzman 2021-03-10 18:35:16 +00:00
WebGLContextUtils.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextUtils.h Bug 1653229 - Remove unnecessary includes for BindingUtils.h. r=jgilbert 2020-07-22 15:12:10 +00:00
WebGLContextValidate.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLContextVertexArray.cpp Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman 2020-02-26 00:44:26 +00:00
WebGLContextVertices.cpp Bug 1702382 - Forbid FIXED in vertexAttribPointer. r=lsalzman 2021-04-01 16:34:31 +00:00
WebGLExtensionColorBufferFloat.cpp
WebGLExtensionColorBufferHalfFloat.cpp
WebGLExtensionCompressedTextureASTC.cpp
WebGLExtensionCompressedTextureBPTC.cpp
WebGLExtensionCompressedTextureES3.cpp
WebGLExtensionCompressedTextureETC1.cpp
WebGLExtensionCompressedTexturePVRTC.cpp
WebGLExtensionCompressedTextureRGTC.cpp
WebGLExtensionCompressedTextureS3TC.cpp
WebGLExtensionCompressedTextureS3TC_SRGB.cpp
WebGLExtensionDepthTexture.cpp
WebGLExtensionDisjointTimerQuery.cpp
WebGLExtensionDrawBuffers.cpp
WebGLExtensionEXTColorBufferFloat.cpp
WebGLExtensionFragDepth.cpp
WebGLExtensionInstancedArrays.cpp
WebGLExtensionSRGB.cpp
WebGLExtensionShaderTextureLod.cpp
WebGLExtensionTextureFloat.cpp
WebGLExtensionTextureFloatLinear.cpp
WebGLExtensionTextureHalfFloat.cpp
WebGLExtensionTextureHalfFloatLinear.cpp
WebGLExtensions.cpp Bug 1662649 - Don't hard-assert IsSupported for pref-gated WebGL exts. r=lsalzman 2020-09-02 17:13:53 +00:00
WebGLExtensions.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLFormats.cpp Bug 1674592 - Shrink uploads based on byte size estimates. r=lsalzman 2020-11-13 23:24:13 +00:00
WebGLFormats.h Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
WebGLFramebuffer.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLFramebuffer.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLInternalFormatsTable.h
WebGLIpdl.h Backed out 2 changesets (bug 1720965) for causing bustages on nsContentUtils.cpp. CLOSED TREE 2021-08-04 03:14:29 +03:00
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLMethodDispatcher.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLObjectModel.h
WebGLParent.cpp Bug 1727489 - Remove PLayerTransaction. r=jrmuizel,jgilbert 2021-08-26 04:59:57 +00:00
WebGLParent.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers 2021-02-15 08:49:20 +00:00
WebGLProgram.cpp Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLProgram.h Bug 1726265 - Prototype webgl draft ext OES_draw_buffers_indexed. r=lsalzman,emilio,webidl 2021-08-27 01:47:14 +00:00
WebGLQuery.cpp Bug 1607940 - IPC TexImage. r=lsalzman,nika,handyman 2020-07-21 22:57:01 +00:00
WebGLQuery.h
WebGLQueueParamTraits.h Bug 1691606 - Clean up dead code following WebGL out-of-process stabilization. r=lsalzman 2021-02-09 07:57:03 +00:00
WebGLRenderbuffer.cpp
WebGLRenderbuffer.h
WebGLSampler.cpp
WebGLSampler.h
WebGLShader.cpp
WebGLShader.h
WebGLShaderValidator.cpp Backed out 2 changesets (bug 1717151) for Crashtest failures in dom/media/gmp/GMPServiceParent.cpp. CLOSED TREE 2021-08-03 01:56:11 +03:00
WebGLShaderValidator.h Bug 1671599 - Make `dom/canvas` buildable outside of `unified-build` environment. r=jgilbert 2020-10-20 13:14:51 +00:00
WebGLStrongTypes.h
WebGLSync.cpp
WebGLSync.h
WebGLTexelConversions.cpp Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
WebGLTexelConversions.h Bug 1723050 - Part 6: Replace typedef by using in dom/canvas/ r=jgilbert 2021-07-30 15:30:52 +00:00
WebGLTexture.cpp Bug 1696075 - Match spec for webgl sampling feedback detection. r=lsalzman 2021-03-04 03:14:50 +00:00
WebGLTexture.h Bug 1696075 - Match spec for webgl sampling feedback detection. r=lsalzman 2021-03-04 03:14:50 +00:00
WebGLTextureUpload.cpp Bug 1367251 - ignore gl.UNPACK_FLIP_Y_WEBGL & UNPACK_PREMULTIPLY_ALPHA for textures uploading ImageBitmap data as per spec. r=jgilbert 2021-09-02 00:29:28 +00:00
WebGLTransformFeedback.cpp Bug 1715690 - Generalize WebGL RENDERER into large buckets. r=lsalzman 2021-06-14 21:27:08 +00:00
WebGLTransformFeedback.h Bug 1653193 - Remove public includes for CanvasRenderingContext2D.h. r=jgilbert 2020-07-21 08:39:53 +00:00
WebGLTypes.h Bug 1367251 - ignore gl.UNPACK_FLIP_Y_WEBGL & UNPACK_PREMULTIPLY_ALPHA for textures uploading ImageBitmap data as per spec. r=jgilbert 2021-09-02 00:29:28 +00:00
WebGLValidateStrings.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
WebGLValidateStrings.h
WebGLVertexArray.cpp Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman 2020-02-26 00:44:26 +00:00
WebGLVertexArray.h Bug 1617785 - Optimize GetDrawFetchLimits and vertexAttribPointer. r=lsalzman 2020-02-26 00:44:26 +00:00
WebGLVertexArrayFake.cpp Bug 1671599 - Make `dom/canvas` buildable outside of `unified-build` environment. r=jgilbert 2020-10-20 13:14:51 +00:00
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp Bug 1671599 - Make `dom/canvas` buildable outside of `unified-build` environment. r=jgilbert 2020-10-20 13:14:51 +00:00
WebGLVertexArrayGL.h
XRWebGLLayer.cpp Bug 1712725 - Stop clearing JS things when calling mozilla::DropJSObjects. r=mccr8 2021-05-27 08:35:40 +00:00
XRWebGLLayer.h Bug 1633725 - Improve WebXR Garbage Collection. Respect XRRigidTransform.inverse and XRView.transform [SameObject] requirements. r=kip,daoshengmu,jgilbert 2020-05-01 01:42:39 +00:00
moz.build Bug 1722653 - Remove MOZ_CAIRO_CFLAGS. r=firefox-build-system-reviewers,jgilbert,andi 2021-07-29 23:38:31 +00:00
nsICanvasRenderingContextInternal.cpp Bug 1676356 - Avoid including PresShell.h from header files. r=emilio 2020-11-23 16:08:23 +00:00
nsICanvasRenderingContextInternal.h Backed out changeset 089962073382 (bug 1728903) for causing Bp-hybrid bustages on ImageBitmapRenderingContext.cpp. CLOSED TREE 2021-09-03 18:49:32 +03:00