searching for reviewer(jgilbert)
f4ca141515981352c83015b0caacfae70d2f12e0: Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 23:53:12 +0000 - rev 605122
Push 156428 by alwu@mozilla.com at Thu, 20 Jan 2022 23:55:43 +0000
Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert Differential Revision: https://phabricator.services.mozilla.com/D134352
002c71e3c3f77c6a7f21dcb0d831d6609559b6ed: Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 23:53:10 +0000 - rev 605119
Push 156428 by alwu@mozilla.com at Thu, 20 Jan 2022 23:55:43 +0000
Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers This implements a customized buffer allocator for ffmpeg decoder to allow it to store decoded data on shmem, so decoded data can be shared with the compositor process without doing extra copy. As ffmpeg decoder needs a special alignment which will be larger than the actual image, we would need to crop the planes by telling plane descriptor correct place size in order to display image correctly. Otherwise, showing a larger image causes visible incorrect border on the right and bottom of the actual image. This will help improve the performance of software decoding while using ffmpeg and ffvpx, which is about h264 and vpx on Linux, vpx on Windows and MacOS. Inaddition, Here is a result [1] showing that how much improvement using shmem can help. [1] https://bit.ly/3dy4rya Differential Revision: https://phabricator.services.mozilla.com/D130220
23f61716bce46b31932eeb16fc157eb8ae32b431: Bug 1751238 - Handle empty device extension strings in glxtest, r=gfx-reviewers,jgilbert
Robert Mader <robert.mader@posteo.de> - Thu, 20 Jan 2022 22:45:22 +0000 - rev 605097
Push 156419 by robert.mader@posteo.de at Thu, 20 Jan 2022 22:47:45 +0000
Bug 1751238 - Handle empty device extension strings in glxtest, r=gfx-reviewers,jgilbert While the string should never be empty when the extension is actually supported (which is checked above), there seem to be edge-cases where that is the case. Handle that gracefully. Differential Revision: https://phabricator.services.mozilla.com/D136534
dd5ae29f1c845c54ade30a89bab65bb888df15e1: Bug 1751053 - Avoid intermediate surface allocation to premultiply in ClientWebGLContext::GetSurfaceSnapshot. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 20 Jan 2022 12:33:46 +0000 - rev 605035
Push 156375 by aosmond@mozilla.com at Thu, 20 Jan 2022 12:47:40 +0000
Bug 1751053 - Avoid intermediate surface allocation to premultiply in ClientWebGLContext::GetSurfaceSnapshot. r=jgilbert The intermediate allocation could fail and it was not handled, causing an infrequent OOM crash. This patch makes it so we just reuse the surface buffer we have and does the premultiply inline without requiring an additional allocation. Differential Revision: https://phabricator.services.mozilla.com/D136410
cee073e045a3bfb3ce39fe1cf277f1078070e3a1: Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 05:50:55 +0000 - rev 605005
Push 156355 by alwu@mozilla.com at Thu, 20 Jan 2022 05:53:25 +0000
Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert Differential Revision: https://phabricator.services.mozilla.com/D134352
f8814abefa20065745cbc74d0668e5e52f4705c6: Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 05:50:54 +0000 - rev 605002
Push 156355 by alwu@mozilla.com at Thu, 20 Jan 2022 05:53:25 +0000
Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers This implements a customized buffer allocator for ffmpeg decoder to allow it to store decoded data on shmem, so decoded data can be shared with the compositor process without doing extra copy. As ffmpeg decoder needs a special alignment which will be larger than the actual image, we would need to crop the planes by telling plane descriptor correct place size in order to display image correctly. Otherwise, showing a larger image causes visible incorrect border on the right and bottom of the actual image. This will help improve the performance of software decoding while using ffmpeg and ffvpx, which is about h264 and vpx on Linux, vpx on Windows and MacOS. Inaddition, Here is a result [1] showing that how much improvement using shmem can help. [1] https://bit.ly/3dy4rya Differential Revision: https://phabricator.services.mozilla.com/D130220
12a9f3fad4819a9f93cddaf925b793bf2d097860: Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 04:11:50 +0000 - rev 605000
Push 156353 by alwu@mozilla.com at Thu, 20 Jan 2022 05:05:25 +0000
Bug 1713276 - part4 : adjust fuzzy range for some reftests. r=gfx-reviewers,jgilbert Differential Revision: https://phabricator.services.mozilla.com/D134352
13ce7037ff27f15be5c2219c1c77c4288f6b5904: Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers
alwu <alwu@mozilla.com> - Thu, 20 Jan 2022 04:11:48 +0000 - rev 604997
Push 156353 by alwu@mozilla.com at Thu, 20 Jan 2022 05:05:25 +0000
Bug 1713276 - part1 : allocate shmem for ffmpeg to store decoded data directly. r=stransky,gfx-reviewers,sotaro,jgilbert,media-playback-reviewers This implements a customized buffer allocator for ffmpeg decoder to allow it to store decoded data on shmem, so decoded data can be shared with the compositor process without doing extra copy. As ffmpeg decoder needs a special alignment which will be larger than the actual image, we would need to crop the planes by telling plane descriptor correct place size in order to display image correctly. Otherwise, showing a larger image causes visible incorrect border on the right and bottom of the actual image. This will help improve the performance of software decoding while using ffmpeg and ffvpx, which is about h264 and vpx on Linux, vpx on Windows and MacOS. Inaddition, Here is a result [1] showing that how much improvement using shmem can help. [1] https://bit.ly/3dy4rya Differential Revision: https://phabricator.services.mozilla.com/D130220
ed2285c6cf09106f201ba5da9586d1897666662d: Bug 1688999 - Fix crash with null GL_VERSION string on Linux. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Wed, 19 Jan 2022 21:50:07 +0000 - rev 604963
Push 156330 by aosmond@mozilla.com at Wed, 19 Jan 2022 21:52:43 +0000
Bug 1688999 - Fix crash with null GL_VERSION string on Linux. r=jgilbert It appears fGetString(LOCAL_GL_VERSION) can return a nullptr on Linux. This causes a crash when we try to assign it to an std::string. This appears to happen predominantly llvmpipe users (although generally that should return a GL verison string as well). This patch ensures we gracefully fail to init GL instead. Differential Revision: https://phabricator.services.mozilla.com/D136412
c333871e1c59abe6daf30c396e5e0a09591ac440: Bug 1736793 - Add SurfaceTexture support to GLBlitHelper::BlitSdToFramebuffer() r=jgilbert,gfx-reviewers
sotaro <sotaro.ikeda.g@gmail.com> - Wed, 19 Jan 2022 02:13:48 +0000 - rev 604868
Push 156266 by sikeda.birchill@mozilla.com at Wed, 19 Jan 2022 03:30:15 +0000
Bug 1736793 - Add SurfaceTexture support to GLBlitHelper::BlitSdToFramebuffer() r=jgilbert,gfx-reviewers Blit support of android SurfaceTexture was removed by Bug 1640607. Differential Revision: https://phabricator.services.mozilla.com/D128992
6dcb3a75b392b9ef15a2c89fb34fe319b30433ac: Bug 1747176 - Make ClientWebGLContext::TexImage2D with a DOM element work with OffscreenCanvas. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Tue, 18 Jan 2022 23:45:17 +0000 - rev 604847
Push 156253 by aosmond@mozilla.com at Tue, 18 Jan 2022 23:47:39 +0000
Bug 1747176 - Make ClientWebGLContext::TexImage2D with a DOM element work with OffscreenCanvas. r=jgilbert We cannot access DOM elements off the main thread, so any uses of that must be a mistake. Also, if we are in use with an OffscreenCanvas, we won't have an HTMLCanvasElement, so we need to make sure we pull the nsIPrincipal from the OffscreenCanvas object instead. Differential Revision: https://phabricator.services.mozilla.com/D136275
28880b7218fcc32ada0c9110a9bdf6b71cd756d9: Bug 1736605- Enable out-of-process WebGL without HW accel r=jgilbert
Chris Martin <cmartin@mozilla.com> - Wed, 12 Jan 2022 19:08:42 +0000 - rev 604427
Push 155949 by cmartin@mozilla.com at Wed, 12 Jan 2022 19:11:03 +0000
Bug 1736605- Enable out-of-process WebGL without HW accel r=jgilbert Currently, there are situations where Remote WebGL is disabled due to lack of HW support (For example, if it is run in a Virtual Machine) This makes it so that the WebGL remoting is enabled anyway, since it is needed for Win32k Lockdown. Differential Revision: https://phabricator.services.mozilla.com/D135649
17df17e408c34794f643dea0df1f22c95a92fe23: Bug 1749119 - Silence warning in DMABufSurface::FenceWait(), r=stransky,jgilbert
Robert Mader <robert.mader@posteo.de> - Sun, 09 Jan 2022 20:23:03 +0000 - rev 604045
Push 155765 by robert.mader@posteo.de at Sun, 09 Jan 2022 20:25:23 +0000
Bug 1749119 - Silence warning in DMABufSurface::FenceWait(), r=stransky,jgilbert We call into `FenceWait()` via `SharedSurface::WaitForBufferOwnership()` and it's a valid case that the fence was already deleted via `ReleaseTextures()`. Thus don't warn here. While on it, fix a typo. Differential Revision: https://phabricator.services.mozilla.com/D135444
93290e795ab060f5c8b2eec6a79d4eec9f7e5bd6: Bug 1737313: Switch Angle over to the new angle-type source hosting r=jgilbert,jewilde
Tom Ritter <tom@mozilla.com> - Wed, 05 Jan 2022 19:52:45 +0000 - rev 603841
Push 155619 by tritter@mozilla.com at Wed, 05 Jan 2022 20:06:15 +0000
Bug 1737313: Switch Angle over to the new angle-type source hosting r=jgilbert,jewilde Depends on D129536 Differential Revision: https://phabricator.services.mozilla.com/D132591
e619e81734570758d31efc06cd34e5d69e65b54b: Bug 1737313: Pass the correct revision to update angle to r=jewilde,jgilbert
Tom Ritter <tom@mozilla.com> - Wed, 05 Jan 2022 19:52:45 +0000 - rev 603840
Push 155619 by tritter@mozilla.com at Wed, 05 Jan 2022 20:06:15 +0000
Bug 1737313: Pass the correct revision to update angle to r=jewilde,jgilbert Depends on D129435 Differential Revision: https://phabricator.services.mozilla.com/D129536
c08f3298082d93599638b2a467ab71f548c71074: Bug 1737313: Implement a wrapper around update-angle.py r=jewilde,jgilbert
Tom Ritter <tom@mozilla.com> - Wed, 05 Jan 2022 19:52:44 +0000 - rev 603839
Push 155619 by tritter@mozilla.com at Wed, 05 Jan 2022 20:06:15 +0000
Bug 1737313: Implement a wrapper around update-angle.py r=jewilde,jgilbert This will set up all of the env vars that are needed for running update-angle, and also grab the angle repo, set it up and run the update Differential Revision: https://phabricator.services.mozilla.com/D129435
5eb178a25c316efd7b1d77ec5296b2293c610249: Bug 1743688: Add a new type of source hosting for angle to look for the upstream branch on chrome beta r=jgilbert,jewilde
Tom Ritter <tom@mozilla.com> - Tue, 04 Jan 2022 20:53:28 +0000 - rev 603682
Push 155540 by tritter@mozilla.com at Tue, 04 Jan 2022 20:56:10 +0000
Bug 1743688: Add a new type of source hosting for angle to look for the upstream branch on chrome beta r=jgilbert,jewilde Depends on D129533 Differential Revision: https://phabricator.services.mozilla.com/D129534
0f18059b15a621590e8eef6da87e6237d8948ddf: Bug 1737313 - Add the License file from Angle which I couldn't find in-tree r=jgilbert
Tom Ritter <tom@mozilla.com> - Mon, 03 Jan 2022 16:24:50 +0000 - rev 603582
Push 155468 by tritter@mozilla.com at Mon, 03 Jan 2022 16:27:12 +0000
Bug 1737313 - Add the License file from Angle which I couldn't find in-tree r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D129313
41cc41a6eff79d6932f2a200f3a08517fba1251c: Bug 1737313: Rename py -> python3 in update-angle r=jgilbert
Tom Ritter <tom@mozilla.com> - Mon, 03 Jan 2022 16:24:49 +0000 - rev 603581
Push 155468 by tritter@mozilla.com at Mon, 03 Jan 2022 16:27:12 +0000
Bug 1737313: Rename py -> python3 in update-angle r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D129285
12e924c8fb414068aa6f6e9b45d5cd63b2b26451: Bug 1596921 - Use nsICanvasRenderingContextInternal::GetParentObject in WebGLContext::MakeXRCompatible. r=jgilbert
msub2 <msub2official@gmail.com> - Thu, 23 Dec 2021 23:52:08 +0000 - rev 603296
Push 155272 by apavel@mozilla.com at Thu, 23 Dec 2021 23:54:30 +0000
Bug 1596921 - Use nsICanvasRenderingContextInternal::GetParentObject in WebGLContext::MakeXRCompatible. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D133824
2cb4a2403bd0856cdf4da19467bde16908f49e8d: Bug 1746095 - Avoid crashing when we get memory pressure events with OffscreenCanvas. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Wed, 15 Dec 2021 21:21:39 +0000 - rev 602199
Push 154815 by aosmond@mozilla.com at Wed, 15 Dec 2021 21:27:31 +0000
Bug 1746095 - Avoid crashing when we get memory pressure events with OffscreenCanvas. r=jgilbert We will implement this properly in bug 1746260, but for now, let's spare users with OffscreenCanvas turned on, who have low memory, a content process crash. Handling it is somewhat complicated because we need to shuttle over the message to the worker. Differential Revision: https://phabricator.services.mozilla.com/D133939
8d5765d00edda9e19e9d0bc020786d88832d2449: Bug 1740127 - Combine copy/swizzle/premultiply operations in ClientWebGLContext::GetFrontBufferSnapshot. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Wed, 15 Dec 2021 12:15:36 +0000 - rev 602121
Push 154770 by aosmond@mozilla.com at Wed, 15 Dec 2021 12:17:58 +0000
Bug 1740127 - Combine copy/swizzle/premultiply operations in ClientWebGLContext::GetFrontBufferSnapshot. r=jgilbert The swizzling operations were showing up in talos profiles on Linux with GLX and using OOP WebGL. If DMABuf has been disabled, similar performance should be observed with EGL as well. This patch combines the necessary copies, swizzling between RGBA and BGRA, and premultiplication operations as much as possible for GetFrontBufferSnapshot. It also has the advantage of unblocking the WebGL thread in the compositor process sooner since it is a sync IPC call and moving that work to the caller which would be blocked anyways. Differential Revision: https://phabricator.services.mozilla.com/D130690
855506d23432778eb3af09af8a7f8947a567b697: Bug 1745213 - Re-enable some passing canvas mochitests and clean up the manifest a bit. r=jgilbert
Ryan VanderMeulen <ryanvm@gmail.com> - Mon, 13 Dec 2021 23:35:51 +0000 - rev 601935
Push 154671 by rvandermeulen@mozilla.com at Mon, 13 Dec 2021 23:38:11 +0000
Bug 1745213 - Re-enable some passing canvas mochitests and clean up the manifest a bit. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D133380
a441516deed774c24c791213ccef6643b5a9ea5a: Bug 1736177 - Part 12. Fix/mark more OffscreenCanvas related tests as passing. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:56 +0000 - rev 601713
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 12. Fix/mark more OffscreenCanvas related tests as passing. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130789
bc1b6e82d67fd6018b946c384efa6be9a5a5af16: Bug 1736177 - Part 11. Plumb in OffscreenCanvasDisplayHelper. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:55 +0000 - rev 601712
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 11. Plumb in OffscreenCanvasDisplayHelper. r=jgilbert This patch integrates OffscreenCanvasDisplayHelper with HTMLCanvasElement, OffscreenCanvas and nsDisplayCanvas to allow asynchronous display of an OffscreenCanvas. Differential Revision: https://phabricator.services.mozilla.com/D130787
7b946576bafadd65a9acfe4e4b825252707e6d69: Bug 1736177 - Part 10. Add OffscreenCanvasDisplayHelper implementation. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:55 +0000 - rev 601711
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 10. Add OffscreenCanvasDisplayHelper implementation. r=jgilbert This helper class manages the necessary state to facilitate the display pipeline for an OffscreenCanvas created through HTMLCanvasElement's transferControlToOffscreen. Differential Revision: https://phabricator.services.mozilla.com/D130786
7e5591aad25abca8ece0094fe997782d8df5637e: Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:55 +0000 - rev 601710
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika Right now, if we wanted to get a snapshot of an OffscreenCanvas context on a worker thread from the main thread, we would need to block the main thread on the worker thread, and from the worker thread, issue a sync IPC call get the front buffer snapshot. This patch adds an alternative which allows the main thread to go directly to the canvas owning thread in the compositor process to get the snapshot, thereby bypassing the worker thread in content process entirely. All it needs as the unique ID of the CanvasManagerChild instance, and the protocol ID of the WebGLChild instance. This will be used for Firefox screenshots, New Tab tiles, and printing. Differential Revision: https://phabricator.services.mozilla.com/D130785
047bcbf3769f8dcdeda5f00e8dd1b0cad893e602: Bug 1736177 - Part 8. Remove unused visibility observer from HTMLCanvasElement. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:54 +0000 - rev 601709
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 8. Remove unused visibility observer from HTMLCanvasElement. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130784
2859a91f3a73b4121cee1b6e1df01ac9f2a0893c: Bug 1736177 - Part 7. Remove some main thread dependencies from (Client)WebGLContext. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:54 +0000 - rev 601708
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 7. Remove some main thread dependencies from (Client)WebGLContext. r=jgilbert Workers require all runnables to implement nsIDiscardableRunnable. This is because the worker may want to terminate after going out of scope, and want to discard any pending events. It should be safe to simply drop any WebGL related events since we are going to tear down the context / actors as well. Also ensure that we record dirty events even without an associated HTMLCanvasElement so that the OffscreenCanvas is notified properly. Differential Revision: https://phabricator.services.mozilla.com/D130783
26e52340910f2a26fd3483589226ed94b5ebee0d: Bug 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:53 +0000 - rev 601707
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert This patch separates out new helper methods that are shared with the OffscreenCanvas display integration in a later part in this series. It also standardizes on SupportsWeakPtr/WeakPtr instead of mixing in C++ standard library versions. Differential Revision: https://phabricator.services.mozilla.com/D130782
e8c475e9e8e4b2661b5bad0fa8708a317383b78f: Bug 1736177 - Part 5. Implement OffscreenCanvas::ConvertToBlob. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:53 +0000 - rev 601706
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 5. Implement OffscreenCanvas::ConvertToBlob. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130781
f5814b14480c1b2624d55900f96027728633c8b8: Bug 1736177 - Part 4. Expose missing WebGL interfaces to workers. r=dom-worker-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:53 +0000 - rev 601705
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 4. Expose missing WebGL interfaces to workers. r=dom-worker-reviewers,jgilbert,smaug Differential Revision: https://phabricator.services.mozilla.com/D130780
25ca519aa6fc61f63feb42446740a9f68170c8c2: Bug 1736177 - Part 3. Update OffscreenCanvas WebIDL to be more current. r=dom-worker-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:52 +0000 - rev 601704
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 3. Update OffscreenCanvas WebIDL to be more current. r=dom-worker-reviewers,jgilbert,smaug Differential Revision: https://phabricator.services.mozilla.com/D130779
6cbaee34e535cfa7f5da5ecda84d9630bb12d718: Bug 1736177 - Part 2. Add variants of CanvasRenderingContextHelper::ToBlob. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:52 +0000 - rev 601703
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 2. Add variants of CanvasRenderingContextHelper::ToBlob. r=jgilbert This patch contains no functional changes but sets us up for refactoring in a later part in this series. Differential Revision: https://phabricator.services.mozilla.com/D130778
5ad078db7d7b025ae400922fde028352a430592d: Bug 1736177 - Part 1. Rename CanvasRenderingContextHelper::GetContext to GetOrCreateContext. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:51 +0000 - rev 601702
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1736177 - Part 1. Rename CanvasRenderingContextHelper::GetContext to GetOrCreateContext. r=jgilbert This patch contains no functional changes but sets us up for refactoring in a later part in this series. It also helps silence a bunch of compiler warnings. Differential Revision: https://phabricator.services.mozilla.com/D130777
e59ba9934ecea0e94b4501fcd428884c9994a557: Bug 1738971 - Part 5. Implement AnimationFrameProvider for dedicated workers. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:51 +0000 - rev 601701
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1738971 - Part 5. Implement AnimationFrameProvider for dedicated workers. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug Differential Revision: https://phabricator.services.mozilla.com/D130266
4ec1575e57c5b1ff7abdc5161118335e7bd39fc0: Bug 1738971 - Part 4. Add VsyncWorkerChild to get vsync events. r=gfx-reviewers,dom-worker-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:51 +0000 - rev 601700
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1738971 - Part 4. Add VsyncWorkerChild to get vsync events. r=gfx-reviewers,dom-worker-reviewers,jgilbert,smaug requestAnimationFrame callbacks are supposed to be synchronized with the vsync events into the refresh driver for the window. This patch adds an IPDL actor implementation for workers to subscribe as necessary to vsync events. Differential Revision: https://phabricator.services.mozilla.com/D130265
f7a9a9186e2b6b52f2a9324aa64bde8b42d81816: Bug 1738971 - Part 3. Rework VsyncChild to allow multiple implementations. r=gfx-reviewers,jgilbert
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:50 +0000 - rev 601699
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1738971 - Part 3. Rework VsyncChild to allow multiple implementations. r=gfx-reviewers,jgilbert VsyncChild is main thread only, and we would like to reuse PVsync on the worker threads via PBackgroundChild which already implements it. This patch does the necessary refactoring to have multiple implementations of PVsyncChild. Differential Revision: https://phabricator.services.mozilla.com/D130264
33119564bca19f692e15db66f55a652021dce9dd: Bug 1738971 - Part 2. Add WorkerDocumentListener to get visibility events. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Fri, 10 Dec 2021 02:57:50 +0000 - rev 601698
Push 154511 by aosmond@mozilla.com at Fri, 10 Dec 2021 03:11:54 +0000
Bug 1738971 - Part 2. Add WorkerDocumentListener to get visibility events. r=dom-worker-reviewers,gfx-reviewers,jgilbert,smaug requestAnimationFrame callbacks are supposed to be delayed if the worker's owning document is no longer visible. This patch adds the ability for a WorkerGlobalScope to listen to changes in the visiblility state of the Document which owns the worker. Differential Revision: https://phabricator.services.mozilla.com/D130263
78f599401a07bbb8dd9e64e9b87460ed0c866033: Bug 1743667 - Hook up WebGPU device limits and features r=jgilbert,webidl,smaug
Dzmitry Malyshau <dmalyshau@mozilla.com> - Fri, 10 Dec 2021 01:09:04 +0000 - rev 601692
Push 154506 by dmalyshau@mozilla.com at Fri, 10 Dec 2021 03:05:50 +0000
Bug 1743667 - Hook up WebGPU device limits and features r=jgilbert,webidl,smaug Differential Revision: https://phabricator.services.mozilla.com/D133280
828633114de21a2199e9b267e1f2c80a53edbc79: Bug 1736177 - Part 12. Fix/mark more OffscreenCanvas related tests as passing. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:29 +0000 - rev 601650
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 12. Fix/mark more OffscreenCanvas related tests as passing. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130789
5be8557c4721b4d1a2ac07bf5ae0516d9f2da2bc: Bug 1736177 - Part 11. Plumb in OffscreenCanvasDisplayHelper. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:28 +0000 - rev 601649
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 11. Plumb in OffscreenCanvasDisplayHelper. r=jgilbert This patch integrates OffscreenCanvasDisplayHelper with HTMLCanvasElement, OffscreenCanvas and nsDisplayCanvas to allow asynchronous display of an OffscreenCanvas. Differential Revision: https://phabricator.services.mozilla.com/D130787
49f8b4205a465387de8e8b1f013b196ce72fa458: Bug 1736177 - Part 10. Add OffscreenCanvasDisplayHelper implementation. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:28 +0000 - rev 601648
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 10. Add OffscreenCanvasDisplayHelper implementation. r=jgilbert This helper class manages the necessary state to facilitate the display pipeline for an OffscreenCanvas created through HTMLCanvasElement's transferControlToOffscreen. Differential Revision: https://phabricator.services.mozilla.com/D130786
2610d4464ad5238f1d3e8058b4a9439de417d355: Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:28 +0000 - rev 601647
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 9. Add plumbing to snapshot worker canvas contexts from the main thread. r=jgilbert,ipc-reviewers,nika Right now, if we wanted to get a snapshot of an OffscreenCanvas context on a worker thread from the main thread, we would need to block the main thread on the worker thread, and from the worker thread, issue a sync IPC call get the front buffer snapshot. This patch adds an alternative which allows the main thread to go directly to the canvas owning thread in the compositor process to get the snapshot, thereby bypassing the worker thread in content process entirely. All it needs as the unique ID of the CanvasManagerChild instance, and the protocol ID of the WebGLChild instance. This will be used for Firefox screenshots, New Tab tiles, and printing. Differential Revision: https://phabricator.services.mozilla.com/D130785
6d6c78c31c28c6d6827abfb392ccab10a24381ad: Bug 1736177 - Part 8. Remove unused visibility observer from HTMLCanvasElement. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:27 +0000 - rev 601646
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 8. Remove unused visibility observer from HTMLCanvasElement. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130784
d55f1ee88bb98e1272fd380fa2d98f1bbb94e73e: Bug 1736177 - Part 7. Remove some main thread dependencies from (Client)WebGLContext. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:27 +0000 - rev 601645
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 7. Remove some main thread dependencies from (Client)WebGLContext. r=jgilbert Workers require all runnables to implement nsIDiscardableRunnable. This is because the worker may want to terminate after going out of scope, and want to discard any pending events. It should be safe to simply drop any WebGL related events since we are going to tear down the context / actors as well. Also ensure that we record dirty events even without an associated HTMLCanvasElement so that the OffscreenCanvas is notified properly. Differential Revision: https://phabricator.services.mozilla.com/D130783
bf588f8ffcf1edb36335b97b2de7d29adc1dfa13: Bug 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:26 +0000 - rev 601644
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 6. Refactor WebRender display list building integration. r=kvark,jgilbert This patch separates out new helper methods that are shared with the OffscreenCanvas display integration in a later part in this series. It also standardizes on SupportsWeakPtr/WeakPtr instead of mixing in C++ standard library versions. Differential Revision: https://phabricator.services.mozilla.com/D130782
86f6f6d86c6c2acf5839f85dd7e02c7a3f25662f: Bug 1736177 - Part 5. Implement OffscreenCanvas::ConvertToBlob. r=jgilbert
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:26 +0000 - rev 601643
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 5. Implement OffscreenCanvas::ConvertToBlob. r=jgilbert Differential Revision: https://phabricator.services.mozilla.com/D130781
f400c75c582913f5705582ac1311986ee8665dcc: Bug 1736177 - Part 4. Expose missing WebGL interfaces to workers. r=dom-worker-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:25 +0000 - rev 601642
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 4. Expose missing WebGL interfaces to workers. r=dom-worker-reviewers,jgilbert,smaug Differential Revision: https://phabricator.services.mozilla.com/D130780
4a34124d5f4e6c13e6a77c9f239bacd103117398: Bug 1736177 - Part 3. Update OffscreenCanvas WebIDL to be more current. r=dom-worker-reviewers,jgilbert,smaug
Andrew Osmond <aosmond@mozilla.com> - Thu, 09 Dec 2021 19:25:24 +0000 - rev 601641
Push 154482 by aosmond@mozilla.com at Thu, 09 Dec 2021 20:22:19 +0000
Bug 1736177 - Part 3. Update OffscreenCanvas WebIDL to be more current. r=dom-worker-reviewers,jgilbert,smaug Differential Revision: https://phabricator.services.mozilla.com/D130779