gecko-dev/dom/canvas
Timothy Nikkel 4a902a6a3e Bug 1768593. Allow createImageBitmap to work on img elements whose src is an svg with no specified size of resizeWidth/Height is specified. r=lsalzman
Just need to pass the resizeWidth/Height down into SurfaceFromElement for html image elements so we can ask for a frame of the right size from the image.

We have to annotate the new test that I add as failing, just like all of the existing tests, because we don't yet support the resizeQuality option, so we fail that part of the test and pass all of the rest of it. The part that we are fixing here passes.

Differential Revision: https://phabricator.services.mozilla.com/D147739
2022-06-02 03:31:43 +00:00
..
crashtests Bug 1765063 - Disable mozCurrentTransform on early beta and earlier. r=lsalzman,gfx-reviewers,emilio 2022-05-19 01:07:54 +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 1765063 - Disable mozCurrentTransform on early beta and earlier. r=lsalzman,gfx-reviewers,emilio 2022-05-19 01:07:54 +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 1771564 - Constify ComputedStyle usage in nsComputedDOMStyle. r=dholbert 2022-05-28 01:04:24 +00:00
CanvasRenderingContext2D.h Bug 1760928 - Evict cached textures on memory pressure. r=aosmond 2022-05-11 17:22:22 +00:00
CanvasRenderingContextHelper.cpp
CanvasRenderingContextHelper.h
CanvasUtils.cpp Bug 1768195 - Add an origin trial for OffscreenCanvas. r=aosmond 2022-05-11 12:32:11 +00:00
CanvasUtils.h
ClientWebGLContext.cpp Bug 1766282 - Do not use SharedHandle of ID3D11Texture2D of hardware decoded video during no video copy r=jgilbert,jrmuizel,gfx-reviewers 2022-05-20 04:37:53 +00:00
ClientWebGLContext.h Bug 1763503 - Hold layers::CanvasRenderer in ClientWebGLContext::mNotLost r=jgilbert,gfx-reviewers 2022-05-13 00:17:42 +00:00
ClientWebGLExtensions.cpp
ClientWebGLExtensions.h
DrawTargetWebgl.cpp Bug 1771415 - Properly support subpixel AA in DrawTargetWebgl. r=aosmond,gfx-reviewers 2022-05-27 16:07:15 +00:00
DrawTargetWebgl.h Bug 1771415 - Properly support subpixel AA in DrawTargetWebgl. r=aosmond,gfx-reviewers 2022-05-27 16:07:15 +00:00
DrawTargetWebglInternal.h Bug 1765911 - Support cloning Patterns with internal weak references. r=aosmond 2022-04-27 18:48:59 +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
HostWebGLContext.h
ImageBitmap.cpp Bug 1768593. Allow createImageBitmap to work on img elements whose src is an svg with no specified size of resizeWidth/Height is specified. r=lsalzman 2022-06-02 03:31:43 +00:00
ImageBitmap.h
ImageBitmapRenderingContext.cpp
ImageBitmapRenderingContext.h
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
ImageUtils.cpp
ImageUtils.h
MurmurHash3.cpp
MurmurHash3.h
OffscreenCanvas.cpp Bug 1753302 - Part 1. Integrate WebGPU with OffscreenCanvas plumbing. r=gfx-reviewers,jgilbert 2022-04-04 16:42:02 +00:00
OffscreenCanvas.h Bug 1753302 - Part 1. Integrate WebGPU with OffscreenCanvas plumbing. r=gfx-reviewers,jgilbert 2022-04-04 16:42:02 +00:00
OffscreenCanvasDisplayHelper.cpp Bug 1771154 - Ensure we readback the pixel data for offscreen WebGL-backed canvas 2D contexts. r=lsalzman 2022-05-25 14:41:37 +00:00
OffscreenCanvasDisplayHelper.h Bug 1753302 - Part 1. Integrate WebGPU with OffscreenCanvas plumbing. r=gfx-reviewers,jgilbert 2022-04-04 16:42:02 +00:00
OffscreenCanvasRenderingContext2D.cpp Bug 1759686 - patch 5 - Adapt canvas2d text methods to allow use from worker threads without a Document or PresShell. r=aosmond 2022-05-04 17:13:16 +00:00
OffscreenCanvasRenderingContext2D.h Bug 1759686 - patch 5 - Adapt canvas2d text methods to allow use from worker threads without a Document or PresShell. r=aosmond 2022-05-04 17:13:16 +00:00
PWebGL.ipdl
QueueParamTraits.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
SanitizeRenderer.cpp
SourceSurfaceWebgl.cpp
SourceSurfaceWebgl.h
TexUnpackBlob.cpp
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
WebGL2Context.cpp
WebGL2Context.h
WebGL2ContextBuffers.cpp
WebGL2ContextFramebuffers.cpp
WebGL2ContextMRTs.cpp
WebGL2ContextQueries.cpp
WebGL2ContextRenderbuffers.cpp
WebGL2ContextSamplers.cpp
WebGL2ContextState.cpp
WebGL2ContextSync.cpp
WebGL2ContextTransformFeedback.cpp
WebGL2ContextUniforms.cpp
WebGLBuffer.cpp
WebGLBuffer.h
WebGLChild.cpp
WebGLChild.h
WebGLCommandQueue.h
WebGLContext.cpp Bug 1703654 - Deal with Maybe<> not trivially_copyable on build-linux64-base-toolchains. r=gfx-reviewers,lsalzman 2022-05-02 23:54:10 +00:00
WebGLContext.h Bug 1765195 - Remove unused ICRData. r=gfx-reviewers,lsalzman 2022-04-18 20:16:09 +00:00
WebGLContextBuffers.cpp
WebGLContextDraw.cpp Bug 1759844 - WebGLContextDraw.cpp: use .empty() instead of .size(). r=andi 2022-04-11 11:30:17 +00:00
WebGLContextExtensions.cpp
WebGLContextFramebufferOperations.cpp
WebGLContextGL.cpp Bug 1743767 - Tighten bounds and add asserts for row-by-row ReadPixels. r=gfx-reviewers,lsalzman 2022-05-12 03:23:40 +00:00
WebGLContextLossHandler.cpp
WebGLContextLossHandler.h
WebGLContextState.cpp
WebGLContextTextures.cpp
WebGLContextUtils.cpp
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
WebGLExtensions.cpp
WebGLExtensions.h
WebGLFormats.cpp
WebGLFormats.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
WebGLFramebuffer.cpp
WebGLFramebuffer.h
WebGLInternalFormatsTable.h
WebGLIpdl.h Bug 1703654 - Deal with Maybe<> not trivially_copyable on build-linux64-base-toolchains. r=gfx-reviewers,lsalzman 2022-05-02 23:54:10 +00:00
WebGLMemoryTracker.cpp
WebGLMemoryTracker.h
WebGLMethodDispatcher.h
WebGLObjectModel.h
WebGLParent.cpp
WebGLParent.h
WebGLProgram.cpp
WebGLProgram.h
WebGLQuery.cpp
WebGLQuery.h
WebGLQueueParamTraits.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
WebGLRenderbuffer.cpp
WebGLRenderbuffer.h
WebGLSampler.cpp
WebGLSampler.h
WebGLShader.cpp
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
WebGLTexelConversions.h
WebGLTexture.cpp
WebGLTexture.h
WebGLTextureUpload.cpp
WebGLTransformFeedback.cpp
WebGLTransformFeedback.h
WebGLTypes.h Bug 1703654 - Deal with Maybe<> not trivially_copyable on build-linux64-base-toolchains. r=gfx-reviewers,lsalzman 2022-05-02 23:54:10 +00:00
WebGLValidateStrings.cpp
WebGLValidateStrings.h
WebGLVertexArray.cpp
WebGLVertexArray.h
WebGLVertexArrayFake.cpp
WebGLVertexArrayFake.h
WebGLVertexArrayGL.cpp
WebGLVertexArrayGL.h
XRWebGLLayer.cpp
XRWebGLLayer.h
moz.build Bug 1766375 - Disable implicit-fallthrough warnings in Windows builds like other platforms. r=firefox-build-system-reviewers,andi 2022-04-27 22:12:53 +00:00
nsICanvasRenderingContextInternal.cpp Backed out 3 changesets (bug 1755704, bug 1765816) for causing reftest failures on webgl-color-test.html 2022-04-24 02:33:33 +03:00
nsICanvasRenderingContextInternal.h Backed out 3 changesets (bug 1755704, bug 1765816) for causing reftest failures on webgl-color-test.html 2022-04-24 02:33:33 +03:00