Kelsey Gilbert
2fc4d570e3
Bug 1885032 - Support EXT_depth_clamp in webgl. r=gfx-reviewers,webidl,lsalzman,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D215713
2024-07-17 21:12:23 +00:00
Cristian Tuns
eaf1eefde7
Backed out 2 changesets (bug 1899874) It is crashing the browser on windows and linux, Bug 1906687. CLOSED TREE
...
Backed out changeset cd0e7d18bbff (bug 1899874)
Backed out changeset 347c3fe4a18f (bug 1899874)
2024-07-09 17:48:05 -04:00
Kelsey Gilbert
8ee0e704a2
Bug 1892542 - Webgl e.g. createBuffer() made infallible. r=gfx-reviewers,webidl,saschanaz,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D208050
2024-07-08 17:24:12 +00:00
Kelsey Gilbert
800ebc4c42
Bug 1784338 - Clamp webgl.blendColor in no-ext webgl1. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D215672
2024-07-03 20:25:23 +00:00
Tom Ritter
e336c97393
Bug 1899874: Add a privileged forceSoftwareRendering attribute to Canvas Attributes. r=jgilbert,webidl,smaug
...
willReadFrequently does basically what we want for Canvas2D;
however it won't work on Windows _and_ it doesn't exist for WebGL
So we will just add our own (privileged) attribute we can set
Differential Revision: https://phabricator.services.mozilla.com/D212177
2024-07-03 08:29:51 +00:00
Stanca Serban
81b1ce4a56
Backed out 20 changesets (bug 1900828, bug 1900863, bug 1902359, bug 1901771, bug 1902671, bug 1901291, bug 1902003, bug 1901799, bug 1897271, bug 1901260, bug 1899874, bug 1903609, bug 1902086, bug 1902364) for causing multiple failures. CLOSED TREE
...
Backed out changeset 93cd1edda657 (bug 1900828)
Backed out changeset 693209b2919f (bug 1899874)
Backed out changeset b73df6e562de (bug 1899874)
Backed out changeset a93ca984ca88 (bug 1903609 )
Backed out changeset 8303598ec6b0 (bug 1903609 )
Backed out changeset e3a3c98b34fd (bug 1903609 )
Backed out changeset 962fe23bb97a (bug 1903609 )
Backed out changeset 00f2e924c9f2 (bug 1903609 )
Backed out changeset 0ade4bbe618d (bug 1901291)
Backed out changeset a13f96530518 (bug 1901260)
Backed out changeset 510bc857cdf4 (bug 1902671)
Backed out changeset 754801e10b4b (bug 1902364)
Backed out changeset 7dc2bd362cb9 (bug 1902359)
Backed out changeset 502943b3d954 (bug 1902086)
Backed out changeset 1368337eb6d5 (bug 1902086)
Backed out changeset 0add6564e69b (bug 1902003)
Backed out changeset 929d9508ad19 (bug 1901799)
Backed out changeset 5baeea7c14f6 (bug 1901771)
Backed out changeset 8cf0f72c6a98 (bug 1897271 )
Backed out changeset f32d78084462 (bug 1900863)
2024-06-25 16:08:06 +03:00
Tom Ritter
939c788e8b
Bug 1899874: Add a privileged forceSoftwareRendering attribute to Canvas Attributes. r=jgilbert,webidl,smaug
...
willReadFrequently does basically what we want for Canvas2D;
however it won't work on Windows _and_ it doesn't exist for WebGL
So we will just add our own (privileged) attribute we can set
Differential Revision: https://phabricator.services.mozilla.com/D212177
2024-06-25 11:53:33 +00:00
Kelsey Gilbert
f72ec6e498
Bug 1885447 - Tonemap/color-manage webgl sdr/wcg output into Display profile as pre-compositor post-process. r=gfx-reviewers,webidl,smaug,ahale
...
Differential Revision: https://phabricator.services.mozilla.com/D207651
2024-05-06 23:36:51 +00:00
Stanca Serban
8996a6a522
Backed out changeset 995596d4362c (bug 1885447) for causing build bustages in AutoMappable.h. CLOSED TREE
2024-04-23 22:19:00 +03:00
Kelsey Gilbert
7393b7c768
Bug 1885447 - Tonemap/color-manage webgl sdr/wcg output into Display profile as pre-compositor post-process. r=gfx-reviewers,webidl,smaug,ahale
...
Differential Revision: https://phabricator.services.mozilla.com/D207651
2024-04-23 16:54:05 +00:00
Kelsey Gilbert
d280c37494
Bug 1887335 - ClientWaitSync max-timeout check move to child, remove from parent. r=gfx-reviewers,aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D206381
2024-04-02 20:36:26 +00:00
Kelsey Gilbert
3590c64ad0
Bug 1887335 - ClientWaitSync warns when forgetting to flush. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D206296
2024-04-02 20:36:26 +00:00
Kelsey Gilbert
4a79a6f495
Bug 1887335 - AutoEnqueueFlush in FenceSync, EnqueueError/Warning. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D206295
2024-04-02 20:36:25 +00:00
Kelsey Gilbert
e4080e620a
Bug 1887335 - Poll=4ms for WebGLSync completion, async-notify child. r=gfx-reviewers,lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D206294
2024-04-02 20:36:25 +00:00
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