gecko-dev/dom/canvas
Lee Salzman 98afe660d7 Bug 1784910 - Render bitmap fonts as light-on-dark text. r=aosmond
When we are rendering dark-on-light text, we invert the bitmap after
rendering to produce a standard white-on-black mask, since we must actually
render that as black-on-white to get CoreText to produce the correct dilation.

However, when we know we're rendering bitmap fonts for emoji, we don't actually
want this inversion to happen at all. So we need to ensure bitmaps go through
the normal light-on-dark path that doesn't do this.

Differential Revision: https://phabricator.services.mozilla.com/D154777
2022-08-16 16:49:10 +00:00
..
crashtests Bug 1771007 - Add testcase. r=aosmond 2022-07-31 15:36:59 +00:00
gtest Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
test Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop 2022-08-03 11:16:20 +00:00
BasicRenderingContext2D.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
CacheInvalidator.cpp
CacheInvalidator.h
CanvasGradient.cpp
CanvasGradient.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
CanvasImageCache.cpp
CanvasImageCache.h
CanvasPath.h
CanvasPattern.cpp
CanvasPattern.h
CanvasRenderingContext2D.cpp Bug 1780042 - Set CanvasPattern principal for main thread OffscreenCanvas. r=lsalzman 2022-08-02 15:51:45 +00:00
CanvasRenderingContext2D.h Bug 1782552 - Make CanvasRenderingContext2D::sErrorTarget threadsafe. r=lsalzman 2022-08-01 18:11:16 +00:00
CanvasRenderingContextHelper.cpp Bug 1769878, ensure objects owned by the worker thread are cleared when the worker is shutting down, r=asuth,aosmond 2022-06-22 14:06:31 +00:00
CanvasRenderingContextHelper.h Bug 1746750 - Part 3. Implement partial OffscreenCanvasRenderingContext2D. r=lsalzman,webidl,smaug 2022-02-03 20:00:25 +00:00
CanvasUtils.cpp Bug 1783309 - Convert OffscreenCanvas domain allowlist pref to DataMutexString. r=gfx-reviewers,lsalzman 2022-08-16 01:00:23 +00:00
CanvasUtils.h Bug 1779315 - Avoid tainting OffscreenCanvas if the principals match. r=lsalzman 2022-07-13 16:06:50 +00:00
ClientWebGLContext.cpp Bug 1782722 - Make WebGL override unmasked renderer/vendor pref accesses thread safe. r=gfx-reviewers,lsalzman,jgilbert 2022-08-16 01:00:22 +00:00
ClientWebGLContext.h Bug 1777872 - Use Shmem for backing DrawTargetWebgl's Skia target. r=jgilbert 2022-07-12 09:25:35 +00:00
ClientWebGLExtensions.cpp
ClientWebGLExtensions.h
DrawTargetWebgl.cpp Bug 1784910 - Render bitmap fonts as light-on-dark text. r=aosmond 2022-08-16 16:49:10 +00:00
DrawTargetWebgl.h Bug 1779681 - Mark WebGL framebuffer as initially valid in DrawTargetWebgl. r=aosmond,gfx-reviewers 2022-07-26 13:41:32 +00:00
DrawTargetWebglInternal.h Bug 1784315 - Ensure the clipping applied to glyph cache entries matches. r=aosmond,gfx-reviewers 2022-08-16 03:05:45 +00:00
GeneratePlaceholderCanvasData.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
HostWebGLContext.cpp Bug 1777426 - Support fast readbacks in CopyToSwapChain with async present. r=sotaro,jgilbert 2022-07-12 06:56:19 +00:00
HostWebGLContext.h Bug 1777426 - Support fast readbacks in CopyToSwapChain with async present. r=sotaro,jgilbert 2022-07-12 06:56:19 +00:00
ImageBitmap.cpp Bug 1776796 - Rename MarkAsContentSource r=media-playback-reviewers,alwu 2022-07-27 00:20:45 +00:00
ImageBitmap.h Bug 1777411 - Improve error messages when cloning ImageBitmap. r=gfx-reviewers,lsalzman 2022-06-30 13:36:34 +00:00
ImageBitmapRenderingContext.cpp Bug 1759527 - Ensure ImageBitmapRenderingContext checks for null surfaces. r=gfx-reviewers,jnicol 2022-03-15 12:41:02 +00:00
ImageBitmapRenderingContext.h Bug 1344524 - Change ContextCleanForFrameCapture flag to a Watchable FrameCaptureState. r=jgilbert 2022-01-24 15:31:14 +00:00
ImageBitmapSource.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
ImageData.cpp Bug 1763424 - Limit ImageData typed array to 2Gb when created using its constructor r=edgar 2022-04-07 19:46:47 +00:00
ImageData.h Bug 1682612 - Check for ArrayBuffer Detach/Transfer in texImage2D(ImageData). r=gfx-reviewers,aosmond 2022-03-21 23:21:42 +00:00
ImageUtils.cpp Bug 1778232 - ImageFormat::s/CAIRO_SURFACE/MOZ2D_SURFACE/. r=jrmuizel 2022-07-06 07:46:17 +00:00
ImageUtils.h Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre 2022-06-05 09:23:00 +00:00
MurmurHash3.cpp Bug 1771948 - Cleanup dom/canvas dom/geolocation and some dom/media includes r=sylvestre 2022-06-05 09:23:00 +00:00
MurmurHash3.h
OffscreenCanvas.cpp Bug 1776878 - Extract the WorkerRef initialization from the EventCallback constructor. r=smaug 2022-07-06 17:43:24 +00:00
OffscreenCanvas.h Bug 1769878 - Remove redundant RefPtr<nsIGlobalObject> from EncodeComplete callback. r=smaug 2022-06-22 14:06:30 +00:00
OffscreenCanvasDisplayHelper.cpp Bug 1784565 - Annotate OffscreenCanvasDisplayHelper's mutex. r=gfx-reviewers,lsalzman 2022-08-12 21:16:06 +00:00
OffscreenCanvasDisplayHelper.h Bug 1784565 - Annotate OffscreenCanvasDisplayHelper's mutex. r=gfx-reviewers,lsalzman 2022-08-12 21:16:06 +00:00
OffscreenCanvasRenderingContext2D.cpp Bug 1779227 - Enable the font attribute to be set on a disconnected <canvas> element without throwing an error. r=aosmond 2022-07-12 18:36:32 +00:00
OffscreenCanvasRenderingContext2D.h Bug 1779227 - Enable the font attribute to be set on a disconnected <canvas> element without throwing an error. r=aosmond 2022-07-12 18:36:32 +00:00
PWebGL.ipdl Bug 1777872 - Use Shmem for backing DrawTargetWebgl's Skia target. r=jgilbert 2022-07-12 09:25:35 +00:00
QueueParamTraits.h Bug 1778808 - Trim unused code, particularly in TiedFields.h. r=nika 2022-08-09 21:01:56 +00:00
SanitizeRenderer.cpp Bug 1519636 - Reformat recent changes to the Google coding style. r=sylvestre 2022-01-11 15:49:03 +00:00
SourceSurfaceWebgl.cpp Bug 1771007 - Avoid sending SourceSurfaceWebgl off-thread. r=jrmuizel,gfx-reviewers 2022-07-26 01:28:48 +00:00
SourceSurfaceWebgl.h Bug 1771007 - Avoid sending SourceSurfaceWebgl off-thread. r=jrmuizel,gfx-reviewers 2022-07-26 01:28:48 +00:00
TexUnpackBlob.cpp Bug 1777872 - Use Shmem for backing DrawTargetWebgl's Skia target. r=jgilbert 2022-07-12 09:25:35 +00:00
TexUnpackBlob.h
TextMetrics.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
TiedFields.h Bug 1778808 - Trim unused code, particularly in TiedFields.h. r=nika 2022-08-09 21:01:56 +00:00
TupleUtils.h Bug 1778808 - Trim unused code, particularly in TiedFields.h. r=nika 2022-08-09 21:01:56 +00:00
WebGL2Context.cpp
WebGL2Context.h
WebGL2ContextBuffers.cpp
WebGL2ContextFramebuffers.cpp
WebGL2ContextMRTs.cpp Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGL2ContextQueries.cpp
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp
WebGL2ContextState.cpp
WebGL2ContextSync.cpp
WebGL2ContextTransformFeedback.cpp
WebGL2ContextUniforms.cpp
WebGLBuffer.cpp Bug 1747299 - [UniqueBuffer] Use UniqueBuffer::Take instead of copy constructors for void*. r=gfx-reviewers,sotaro 2021-12-25 00:31:48 +00:00
WebGLBuffer.h
WebGLChild.cpp Bug 1777656: Delete mozilla::ipc::SharedMemory::SharedMemorytype. r=nika,media-playback-reviewers,padenot 2022-07-05 20:08:31 +00:00
WebGLChild.h Bug 1738734 - Directly pass around handles rather than using TransportDescriptor, r=jld,media-playback-reviewers,alwu 2022-02-08 23:53:45 +00:00
WebGLCommandQueue.h Bug 1519636 - First reformat with clang-format 13.0.0. r=firefox-build-system-reviewers,sylvestre,mhentges 2021-11-16 08:07:30 +00:00
WebGLContext.cpp Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGLContext.h Bug 1781064 - Get buffer size directly from BufferTextureData. r=aosmond,gfx-reviewers 2022-08-05 18:48:48 +00:00
WebGLContextBuffers.cpp
WebGLContextDraw.cpp Bug 1778144 - Add limit webgl.fake-verts.max=10M. r=gfx-reviewers,lsalzman 2022-08-03 06:11:14 +00:00
WebGLContextExtensions.cpp
WebGLContextFramebufferOperations.cpp Bug 1449575 - Don't attempt ColorMask elision in WebGL. r=gfx-reviewers,aosmond 2022-03-24 19:39:06 +00:00
WebGLContextGL.cpp Bug 1778549 - Don't crash on validation failure in ReadPixelsPbo. r=gfx-reviewers,lsalzman 2022-08-03 06:10:31 +00:00
WebGLContextLossHandler.cpp
WebGLContextLossHandler.h
WebGLContextState.cpp
WebGLContextTextures.cpp
WebGLContextUtils.cpp Bug 1768190 - Forbid same tex unit different sampler types even if unbound. r=gfx-reviewers,lsalzman 2022-08-02 05:56:20 +00:00
WebGLContextUtils.h
WebGLContextValidate.cpp Bug 1764589 - Remove vertex_array_object extension requirement for WebGL. r=gfx-reviewers,jgilbert 2022-05-25 11:38:01 +00:00
WebGLContextVertexArray.cpp
WebGLContextVertices.cpp Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGLExtensions.cpp
WebGLExtensions.h
WebGLFormats.cpp Bug 1778549 - Don't crash on validation failure in ReadPixelsPbo. r=gfx-reviewers,lsalzman 2022-08-03 06:10:31 +00:00
WebGLFormats.h Bug 1778549 - Don't crash on validation failure in ReadPixelsPbo. r=gfx-reviewers,lsalzman 2022-08-03 06:10:31 +00:00
WebGLFramebuffer.cpp Bug 1449575 - Don't attempt ColorMask elision in WebGL. r=gfx-reviewers,aosmond 2022-03-24 19:39:06 +00:00
WebGLFramebuffer.h Bug 1754130 - Support presenting a WebGLFramebuffer to its own swap chain without opaque FB. r=aosmond,jgilbert 2022-02-11 19:49:56 +00:00
WebGLInternalFormatsTable.h
WebGLIpdl.h Backed out 9 changesets (bug 1771374) for causing mochitest-webgl failures. CLOSED TREE 2022-08-02 03:38:09 +03:00
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLMethodDispatcher.h Bug 1755780 - Support CopyToSwapChain on WebGLContext. r=jgilbert 2022-02-21 17:33:09 +00:00
WebGLObjectModel.h
WebGLParent.cpp Bug 1777872 - Use Shmem for backing DrawTargetWebgl's Skia target. r=jgilbert 2022-07-12 09:25:35 +00:00
WebGLParent.h Bug 1777872 - Use Shmem for backing DrawTargetWebgl's Skia target. r=jgilbert 2022-07-12 09:25:35 +00:00
WebGLProgram.cpp Bug 1725074 - Allow attribs with the same names as uniforms. r=gfx-reviewers,lsalzman 2021-12-13 20:42:30 +00:00
WebGLProgram.h Bug 1768190 - Forbid same tex unit different sampler types even if unbound. r=gfx-reviewers,lsalzman 2022-08-02 05:56:20 +00:00
WebGLQuery.cpp
WebGLQuery.h
WebGLQueueParamTraits.h Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
WebGLRenderbuffer.cpp
WebGLRenderbuffer.h
WebGLSampler.cpp
WebGLSampler.h
WebGLShader.cpp Bug 1747299 - [UniqueBuffer] Use UniqueBuffer::Take instead of copy constructors for void*. r=gfx-reviewers,sotaro 2021-12-25 00:31:48 +00:00
WebGLShader.h
WebGLShaderValidator.cpp
WebGLShaderValidator.h Bug 1768189 - Part 7: Apply modernize-concat-nested-namespaces to dom/cache/FileUtilsImpl.h ... r=andi 2022-05-09 20:41:05 +00:00
WebGLStrongTypes.h
WebGLSync.cpp
WebGLSync.h
WebGLTexelConversions.cpp Backed out changeset 4e76508f9136 (bug 1677183) for causing mochitest failures on test_queue_copyExternalImageToTexture.html CLOSED TREE 2022-08-08 14:03:15 +03:00
WebGLTexelConversions.h Backed out changeset 4e76508f9136 (bug 1677183) for causing mochitest failures on test_queue_copyExternalImageToTexture.html CLOSED TREE 2022-08-08 14:03:15 +03:00
WebGLTexture.cpp Backed out 2 changesets (bug 1781728) for causing bustages on WebGLTexture.cpp. CLOSED TREE 2022-08-15 09:33:13 +03:00
WebGLTexture.h Backed out 2 changesets (bug 1781728) for causing bustages on WebGLTexture.cpp. CLOSED TREE 2022-08-15 09:33:13 +03:00
WebGLTextureUpload.cpp Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
WebGLTransformFeedback.cpp
WebGLTransformFeedback.h
WebGLTypes.h Bug 1778808 - Trim unused code, particularly in TiedFields.h. r=nika 2022-08-09 21:01:56 +00:00
WebGLValidateStrings.cpp
WebGLValidateStrings.h
WebGLVertexArray.cpp
WebGLVertexArray.h
WebGLVertexArrayFake.cpp
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp
WebGLVertexArrayGL.h
XRWebGLLayer.cpp Bug 1596772 - Make nsICanvasRenderingContextInternal::GetParentObject off-screen compatible. r=aosmond 2021-12-14 14:21:10 +00:00
XRWebGLLayer.h
moz.build Bug 1778808 - Use stricter TiedFields instead of IsTriviallySerializable in WebGL's QueueParamTraits. r=lsalzman,nika 2022-08-09 21:01:55 +00:00
nsICanvasRenderingContextInternal.cpp Bug 1780042 - Set CanvasPattern principal for main thread OffscreenCanvas. r=lsalzman 2022-08-02 15:51:45 +00:00
nsICanvasRenderingContextInternal.h Bug 1780385 - Remove canvas hit region api. r=jrmuizel 2022-07-20 16:52:47 +00:00