Lee Salzman
d1022ace1c
Bug 1881738 - Clean up ClientWebGLContext::GetFrontBuffer sync handling. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D206304
2024-04-02 15:07:46 +00:00
Lee Salzman
975610c0ab
Bug 1881738 - Don't send invalid remote texture owner id when WebGLChild is destroyed. r=aosmond
...
It seems like Canvas2D and WebGPU already avoid sending over invalid owner ids in GetFrontBuffer.
WebGL, however, can still blindly send an invalid texture owner id when the actor is being destroyed,
but the WebGL context is still alive.
Differential Revision: https://phabricator.services.mozilla.com/D206276
2024-04-01 20:34:25 +00:00
Kelsey Gilbert
af33d3ce1a
Bug 1886214 - Cache PWebGL::IsEnabled. r=gfx-reviewers,lsalzman,ipc-reviewers,mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D205091
2024-03-21 17:37:41 +00:00
Narcis Beleuzu
a420dc78ba
Backed out changeset 68318849486e (bug 1886214) for webgl failure on test_2_conformance2__extensions__oes-draw-buffers-indexed.html
2024-03-20 04:14:02 +02:00
unknown
8b4d30f9af
Bug 1886214 - Cache PWebGL::IsEnabled. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D205091
2024-03-20 01:22:49 +00:00
unknown
6b54094ea8
Bug 1885028 - PlainOldDataSerializer use removed from dom/canvas. r=gfx-reviewers,lsalzman,ahale
...
Differential Revision: https://phabricator.services.mozilla.com/D204432
2024-03-14 00:21:23 +00:00
Kelsey Gilbert
ecea021dd3
Bug 1883225 - webgl.texSubImage(video): re-enable gpu-blit for RGBA, and RGB iff RGB8+SRGB8 renderable. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D203698
2024-03-09 05:35:20 +00:00
Kelsey Gilbert
8ef95f8d10
Bug 1878930 - s/RawBuffer/Span/: TexImage: Use span, fix dtwebgl callers. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202027
2024-02-29 00:37:30 +00:00
Kelsey Gilbert
bace796669
Bug 1878930 - s/RawBuffer/Span/: TexImage: GetRangeFromData. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202025
2024-02-29 00:37:29 +00:00
Kelsey Gilbert
73a4bedb0b
Bug 1878930 - s/RawBuffer/Span/: UniformData. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202024
2024-02-29 00:37:28 +00:00
Kelsey Gilbert
d9f415a3d4
Bug 1878930 - s/RawBuffer/Span/: ReadPixels. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202023
2024-02-29 00:37:28 +00:00
Kelsey Gilbert
001a04e5b2
Bug 1878930 - s/RawBuffer/Span/: Buffer(Sub)Data, Invalidate(Sub)Framebuffer. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202022
2024-02-29 00:37:28 +00:00
zhanghe9702
5a12a40dd4
Bug 1881896 - fixed FuncScope of ClientWebGLContext::BindAttribLocation, just correct function name. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D202652
2024-02-28 17:47:19 +00:00
Sandor Molnar
d9c4b21b0d
Backed out 7 changesets (bug 1878930) for causing build bustages @ dom/canvas/WebGLTypes.h CLOSED TREE
...
Backed out changeset 631db0feebb4 (bug 1878930)
Backed out changeset 72ab4dbbf8ed (bug 1878930)
Backed out changeset e5119acd8c8f (bug 1878930)
Backed out changeset 3cd4b2423281 (bug 1878930)
Backed out changeset 4a5512ff4424 (bug 1878930)
Backed out changeset 6f5c64075e31 (bug 1878930)
Backed out changeset fb3b3487a529 (bug 1878930)
2024-02-20 21:25:02 +02:00
Kelsey Gilbert
15143f68a7
Bug 1878930 - s/RawBuffer/Span/: TexImage: Use span, fix dtwebgl callers. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202027
2024-02-20 17:59:08 +00:00
Kelsey Gilbert
2769782e2f
Bug 1878930 - s/RawBuffer/Span/: TexImage: GetRangeFromData. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202025
2024-02-20 17:59:07 +00:00
Kelsey Gilbert
2a1d0926b2
Bug 1878930 - s/RawBuffer/Span/: UniformData. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202024
2024-02-20 17:59:07 +00:00
Kelsey Gilbert
c50cc3dbf5
Bug 1878930 - s/RawBuffer/Span/: ReadPixels. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202023
2024-02-20 17:59:07 +00:00
Kelsey Gilbert
d6b80ba920
Bug 1878930 - s/RawBuffer/Span/: Buffer(Sub)Data, Invalidate(Sub)Framebuffer. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D202022
2024-02-20 17:59:06 +00:00
Kelsey Gilbert
48571379fb
Bug 1873866 - RawBuffer now forbids null/size-only. r=gfx-reviewers,ahale
...
Differential Revision: https://phabricator.services.mozilla.com/D199939
2024-02-01 23:32:14 +00:00
Kelsey Gilbert
b940c8ac31
Bug 1877541 - WebGL about:support prints per-context inProcess/outOfProcess bool status. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D200065
2024-01-31 17:12:53 +00:00
Lee Salzman
25a04a247d
Bug 1877010 - Track forwarder transaction ids for RemoteTextureMap with WebGL and WebGPU. r=sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D199876
2024-01-30 15:44:04 +00:00
Kelsey Gilbert
7ea4efbaf1
Bug 1876818 - ClientWebGLContext::Run serialization now coerces to HostWebGLContext arg types. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D199768
2024-01-30 00:15:10 +00:00
Stanca Serban
d637e86042
Backed out changeset 7b7eadc28250 (bug 1876818) for causing hazard-linux bustage in ClientWebGLContext.h. CLOSED TREE
2024-01-27 09:55:16 +02:00
Kelsey Gilbert
5d1f17b38f
Bug 1876818 - ClientWebGLContext::Run serialization now coerces to HostWebGLContext arg types. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D199768
2024-01-27 02:46:24 +00:00
Kelsey Gilbert
9321a69023
Bug 1655101 - Padded<T,PaddedSize> to paper over mingw-32's smaller sizeof(std::string). r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D197543
2024-01-04 18:38:53 +00:00
Kelsey Gilbert
0ce272935b
Bug 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D194943
2024-01-04 18:38:52 +00:00
Lee Salzman
be8b918d1b
Bug 1829026 - Remove unused ClientWebGLContext local extensions. r=jgilbert,aosmond
...
DrawTargetWebgl is transitioning away from using ClientWebGLContext, so
local extensions that were added to support that use-case are no longer necessary.
Differential Revision: https://phabricator.services.mozilla.com/D194346
2023-12-18 18:10:44 +00:00
Sebastian Hengst
cdce9d5ae9
Backed out 10 changesets (bug 1829026) for causing bug 1869760 and bug 1869738. a=backout
...
Backed out changeset 4c619422efe5 (bug 1829026)
Backed out changeset 77da89c7dab7 (bug 1829026)
Backed out changeset 19d28d8f75a4 (bug 1829026)
Backed out changeset 674b60ba54b1 (bug 1829026)
Backed out changeset 31935f164ef0 (bug 1829026)
Backed out changeset 13c9bf69085f (bug 1829026)
Backed out changeset 330a6732fc0b (bug 1829026)
Backed out changeset 974c08a3791b (bug 1829026)
Backed out changeset 3ba040642ddc (bug 1829026)
Backed out changeset 9d9b3a68858c (bug 1829026)
2023-12-13 19:20:00 +01:00
Lee Salzman
5e38cdd61d
Bug 1829026 - Remove unused ClientWebGLContext local extensions. r=jgilbert,aosmond
...
DrawTargetWebgl is transitioning away from using ClientWebGLContext, so
local extensions that were added to support that use-case are no longer necessary.
Differential Revision: https://phabricator.services.mozilla.com/D194346
2023-12-12 07:35:01 +00:00
Andrew Osmond
ed08ff90d5
Bug 1868397 - Make WebGL use VideoBridge to avoid copies with GPUVideoImage. r=jgilbert
...
This patch makes it so that WebGL that runs in the compositor process
can take advantage of the fact that GPUVideoImage should have an already
created TextureHost between the compositor process and the producing
utility process. For software decoders, this will allow us to avoid a
copy into a shmem from the utility process, and another copy into a
shmem to the compositor process.
Differential Revision: https://phabricator.services.mozilla.com/D195559
2023-12-06 19:31:32 +00:00
Cosmin Sabou
088aba68e8
Backed out 8 changesets (bug 1829026) for causing several mochitest failures. CLOSED TREE
...
Backed out changeset 790ba6aa65e4 (bug 1829026)
Backed out changeset 2ff1f5f41380 (bug 1829026)
Backed out changeset de6ddf5eb2a7 (bug 1829026)
Backed out changeset 773e7b31ac6e (bug 1829026)
Backed out changeset e09602ab096d (bug 1829026)
Backed out changeset fe16d4ac1049 (bug 1829026)
Backed out changeset c0fe0aea86c2 (bug 1829026)
Backed out changeset 53d6f69055f1 (bug 1829026)
2023-12-05 16:08:36 +02:00
Lee Salzman
9fefc77110
Bug 1829026 - Remove unused ClientWebGLContext local extensions. r=jgilbert,aosmond
...
DrawTargetWebgl is transitioning away from using ClientWebGLContext, so
local extensions that were added to support that use-case are no longer necessary.
Differential Revision: https://phabricator.services.mozilla.com/D194346
2023-12-05 09:37:01 +00:00
Cosmin Sabou
0db4b6a2ba
Backed out changeset 7aa58b8ef68a (bug 1655101) for causing bustages on dom/WebGLIpdl.h. CLOSED TREE
2023-11-30 21:06:53 +02:00
Kelsey Gilbert
b8e33d2390
Bug 1655101 - Allow webgl.texImage gpu-blit for RGB8 if supported. r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D194943
2023-11-30 17:40:42 +00:00
Kelsey Gilbert
a010588258
Bug 1855780 - Generate INVALID_ENUM in ProvokingVertex for bad mode. r=gfx-reviewers,nical
...
Differential Revision: https://phabricator.services.mozilla.com/D193828
2023-11-18 00:03:07 +00:00
Peter Van der Beken
4a7386597a
Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh
...
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-11 08:24:05 +00:00
Peter Van der Beken
6651aa0aff
Bug 1849037 - Make TypedArray::Create either take a length or a Span. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D191417
2023-11-11 08:24:04 +00:00
Peter Van der Beken
64b9731b0e
Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-11 08:24:04 +00:00
Stanca Serban
fa9cf4e6a5
Backed out 3 changesets (bug 1849037) for causing mochitests failures in test_gamepad_extensions.html.
...
Backed out changeset 27fd9f6f57ea (bug 1849037)
Backed out changeset 89aa49de2473 (bug 1849037)
Backed out changeset c336a8c78928 (bug 1849037)
2023-11-08 17:12:40 +02:00
Peter Van der Beken
d0efcee341
Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191418
2023-11-08 11:29:05 +00:00
Peter Van der Beken
5c8b0d6910
Bug 1849037 - Make TypedArray::Create either take a length or a Span. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D191417
2023-11-08 11:29:04 +00:00
Peter Van der Beken
5b25b370be
Bug 1849037 - Pass objects that support conversion to a Span directly to TypedArray::Create as a Span. r=necko-reviewers,extension-reviewers,media-playback-reviewers,profiler-reviewers,farre,padenot,jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D191416
2023-11-08 11:29:04 +00:00
Sandor Molnar
3a1231bada
Backed out changeset b09d48d2b473 (bug 1655101) for causing mochitest webgl failures on dom/canvas/TexUnpackBlob.cpp
2023-09-26 19:09:49 +03:00
Jamie Nicol
4a2f7a772b
Bug 1655101 - Allow blit to GL_RGB texture for webgl texture uploads. r=aosmond
...
On devices where GL_RGB is a color-renderable format, allow blitting
to GL_RGB textures to implement texture upload. This allows us to stay
on the fast-path when the source data is video and the target texture
format is GL_RGB. In fact, on Android this makes it work at all, as
the slow-path is not actually implemented.
Differential Revision: https://phabricator.services.mozilla.com/D167159
2023-09-26 14:58:09 +00:00
Andrew Osmond
461b1b50c5
Bug 1781526 - Implement means to use VideoFrame with WebGL. r=webidl,smaug,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D181118
2023-09-20 22:40:24 +00:00
Peter Van der Beken
e664ec3758
Bug 1690111 - Use new TypedArray APIs for processing data. r=farre,media-playback-reviewers,padenot,chunmin,sfink
...
Depends on D152497
Differential Revision: https://phabricator.services.mozilla.com/D152498
2023-09-20 09:42:02 +00:00
Cosmin Sabou
c3effd7450
Backed out 13 changesets (bug 1690111) for causing fetch related crashes.
...
Backed out changeset 5f2c25d194ad (bug 1690111)
Backed out changeset 76c408bcd053 (bug 1690111)
Backed out changeset 6d0649fdafff (bug 1690111)
Backed out changeset c1330b5e8c43 (bug 1690111)
Backed out changeset 5fa36d8fd2a5 (bug 1690111)
Backed out changeset daf7d747853a (bug 1690111)
Backed out changeset f70e09a7f5c6 (bug 1690111)
Backed out changeset 40c6d6eed7f8 (bug 1690111)
Backed out changeset 692f2a759573 (bug 1690111)
Backed out changeset 7140866dd9f6 (bug 1690111)
Backed out changeset 2865fe682139 (bug 1690111)
Backed out changeset 9dcd2416f8a5 (bug 1690111)
Backed out changeset 9c411bf84079 (bug 1690111)
2023-09-11 17:55:24 +03:00
Peter Van der Beken
312137a408
Bug 1690111 - Use new TypedArray APIs for processing data. r=farre,media-playback-reviewers,padenot,chunmin,sfink
...
Depends on D152497
Differential Revision: https://phabricator.services.mozilla.com/D152498
2023-09-11 12:52:20 +00:00
Markus Stange
70bd936589
Bug 1843484 - Use EventTarget* instead of nsISupports* for the event target parameter of the nsContentUtils::Dispatch methods. r=smaug
...
This saves a few queryInterface calls on the hot path.
Differential Revision: https://phabricator.services.mozilla.com/D186976
2023-08-28 23:38:42 +00:00