Kelsey Gilbert
66805a5f69
Bug 1746135 - Fix a crash on (some) tier2 Android. r=gfx-reviewers,sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D133972
2021-12-16 08:01:42 +00:00
Kelsey Gilbert
c3603037db
Bug 1746111
- (Re)serialize WebRTC frame SurfaceDescriptorBuffers for convert-and-upload on WebGLParent. r=gfx-reviewers,nika,lsalzman
...
Also generally de-inline (WebGLParent::TexImage not DispatchCommand)
TexImage(SurfaceDescriptor).
Differential Revision: https://phabricator.services.mozilla.com/D132851
2021-12-15 01:54:21 +00:00
sotaro
d184dc0218
Bug 1742739 - Remove HasIntermediateBuffer r=gfx-reviewers,jnicol
...
HasIntermediateBuffer is always false. It could be removed.
Differential Revision: https://phabricator.services.mozilla.com/D131996
2021-11-28 11:40:16 +00:00
Andrew Osmond
72d1c14b24
Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-11-27 11:47:40 +00:00
Sandor Molnar
f5bbecdcc2
Backed out 13 changesets (bug 1711061) on devs request. CLOSED TREE
...
Backed out changeset c4f073f7e3a3 (bug 1711061)
Backed out changeset aced4b672fb4 (bug 1711061)
Backed out changeset 3687e798f665 (bug 1711061)
Backed out changeset 7b471990ea86 (bug 1711061)
Backed out changeset 1014a95f540e (bug 1711061)
Backed out changeset a37b3091281d (bug 1711061)
Backed out changeset 96a0ef35881b (bug 1711061)
Backed out changeset 38890cc266fb (bug 1711061)
Backed out changeset be73004c0850 (bug 1711061)
Backed out changeset b964576ae53d (bug 1711061)
Backed out changeset d453c5219255 (bug 1711061)
Backed out changeset 0145b538175b (bug 1711061)
Backed out changeset 41ba2e2a2d13 (bug 1711061)
2021-10-29 00:36:30 +03:00
Andrew Osmond
c49ed44331
Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-10-27 01:24:36 +00:00
Sandor Molnar
6632079d8d
Backed out 13 changesets (bug 1711061) for causing browser-chrome failures in test/performance/browser_startup_images. CLOSED TREE
...
Backed out changeset 5988220f56b8 (bug 1711061)
Backed out changeset cb7721d7ce49 (bug 1711061)
Backed out changeset 343746ffae73 (bug 1711061)
Backed out changeset 000940244dcf (bug 1711061)
Backed out changeset 27565d5ae08d (bug 1711061)
Backed out changeset f3b2379d971b (bug 1711061)
Backed out changeset d4b3d0fa1771 (bug 1711061)
Backed out changeset 9af5b3f2225f (bug 1711061)
Backed out changeset da992effeff1 (bug 1711061)
Backed out changeset 6b2bc6c16b9f (bug 1711061)
Backed out changeset ac2792d42be2 (bug 1711061)
Backed out changeset cb00177e655e (bug 1711061)
Backed out changeset 8d5261184226 (bug 1711061)
2021-10-26 18:04:34 +03:00
Andrew Osmond
6ee464104f
Bug 1711061 - Part 13. Remove the now unused ImageContainer and related code for images. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D126606
2021-10-26 13:28:27 +00:00
Matt Woodrow
0405a7b508
Bug 1653902 - Allocate a buffer for BuildSurfaceDescriptorBuffer using the computed destination layout. r=jbauman
...
Differential Revision: https://phabricator.services.mozilla.com/D111595
2021-04-19 04:24:43 +00:00
Simon Giesecke
b399a8194c
Bug 1691913 - Add some convenience methods to LookupResult and EntryHandle. r=xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D105475
2021-03-01 09:59:29 +00:00
Gerald Squelart
2416d881e2
Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian
...
There are no code changes, only #include changes.
It was a fairly mechanical process: Search for all "AUTO_PROFILER_LABEL", and in each file, if only labels are used, convert "GeckoProfiler.h" into "ProfilerLabels.h" (or just add that last one where needed).
In some files, there were also some marker calls but no other profiler-related calls, in these cases "GeckoProfiler.h" was replaced with both "ProfilerLabels.h" and "ProfilerMarkers.h", which still helps in reducing the use of the all-encompassing "GeckoProfiler.h".
Differential Revision: https://phabricator.services.mozilla.com/D104588
2021-02-16 04:44:19 +00:00
Simon Giesecke
8df74b1582
Bug 1688833 - Migrate LookupForAdd to WithEntryHandle in gfx. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D104216
2021-02-09 18:19:40 +00:00
Jeff Gilbert
a8926ffa47
Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D101061
2021-01-14 01:23:06 +00:00
Simon Giesecke
971b645fe3
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Jean-Yves Avenard
5de404e405
Bug 1595994 - P1D. Properly serialize display size when sending image over IPC. r=mattwoodrow
...
The code always assumed that the size of the image with the Y plane dimensions, which, while often the case, isn't correct.
We remove the assertions that the display offset was always (0,0) and properly carry the actual data over IPC.
Remoting the theora decoder and enabling fast video copy exposed several other related issues in the various D3D11 image types.
Various WPT uses theora YUV44 images (because we do not support YUV444 H264 ones). Those images are made of 32 pixels planes with a display size set to 20 pixels. Prior P1D the backend image was a ShareYCbCrPlanar image which correctly handled the size settings.
Like the image serializer, the various D3D11 images always assumed that the Y plane size was the image size.
This however expose existing issues where the offset position of the display is completely ignored for some image type. See bug 1669054
All those problems explain why sometimes we displayed more pixels than we should have.
Depends on D91914
Differential Revision: https://phabricator.services.mozilla.com/D92233
2020-10-20 23:30:04 +00:00
Jean-Yves Avenard
bdebf533e7
Bug 1668840 - P2. Fix GPUVideoTextureHost and renable recycle allocator with OGL. r=mattwoodrow
...
call unbindTextureSource and NotifyNotUsed on wrapped texture.
Differential Revision: https://phabricator.services.mozilla.com/D92707
2020-10-09 03:57:08 +00:00
Jean-Yves Avenard
10c246bc45
Bug 1668840 - P1. Add SharedRGBImage constructor for TextureClientRecycleAllocator. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D92361
2020-10-09 03:51:52 +00:00
Emilio Cobos Álvarez
8e6234de91
Bug 1665373 - Stop using nsCountedRef in the image container classes. r=aosmond
...
Instead, use NS_ReleaseOnMainThread. This requires exactly the same number of
special-cases, but let me know if you instead want a separate
MainThreadSurfaceRef which implements RefPtrTraits and releases on the main
thread or something...
Depends on D90398
Differential Revision: https://phabricator.services.mozilla.com/D90399
2020-09-16 15:13:51 +00:00
Simon Giesecke
96f3e7e019
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-04 11:27:07 +00:00
Matt Woodrow
553c2d162d
Bug 1653409
- Upload software decoded video directly to IOSurface on OSX. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D85105
2020-08-04 01:18:14 +00:00
Noemi Erli
381fca9783
Backed out 4 changesets (bug 1654992, bug 1654991) for causing timeous in mask-opacity-1e.html
...
Backed out changeset 11f0f54c6e0a (bug 1654992)
Backed out changeset a353dd5b3f08 (bug 1654991)
Backed out changeset 6a7964ba549f (bug 1654991)
Backed out changeset cf3bfb91d98c (bug 1654991)
2020-08-03 22:09:36 +03:00
Simon Giesecke
032d2ac9d3
Bug 1654992 - Use std::move instead of SwapElements where possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D84807
2020-08-03 14:54:18 +00:00
sotaro
3f0b08deb4
Bug 1645579 - Disable RecycleAllocator for RDD process when WebRender is disabled on Mac r=nical
...
Recycling caused rendering problem on a MacOS PC with OpenGL compositor. TextureHost reuse with OpenGL compositor seemed to have a problem.
Adds pref layers.recycle-allocator-rdd for disable/enable the RecycleAllocator.
Differential Revision: https://phabricator.services.mozilla.com/D79639
2020-06-16 18:14:46 +00:00
Simon Giesecke
82dc9b2271
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 10:46:14 +00:00
Butkovits Atila
e3dce68834
Backed out 3 changesets (bug 1643289, bug 1642949) for causing failure at test_headless_screenshot.html. CLOSED TREE
...
Backed out changeset 98c420f73380 (bug 1643289)
Backed out changeset 9447ea8910aa (bug 1643289)
Backed out changeset 0c827da9d847 (bug 1642949)
2020-06-10 10:07:23 +03:00
Simon Giesecke
d419f0ff08
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 05:49:28 +00:00
alwu
4562999fec
Bug 1612557
- part3 : add Graphic label in `ImageContainer::SetCurrentImages()`. r=mattwoodrow
...
This patch will do :
- add a graphic label in `ImageContainer::SetCurrentImages()`
The advantage of doing so :
- to mark following profiling frames as graphic, so we can know the time of spending on graphic and media respectively
Differential Revision: https://phabricator.services.mozilla.com/D74173
2020-05-08 01:19:14 +00:00
Simon Giesecke
f87a1f858f
Bug 1626570 - Improve handling of copying arrays in gfx/layers/. r=botond
...
Differential Revision: https://phabricator.services.mozilla.com/D73633
2020-05-05 12:59:26 +00:00
sotaro
2e6730be8d
Bug 1618429 - Add RecycleAllocator support to ImageContainer for RDD process r=nical
...
Differential Revision: https://phabricator.services.mozilla.com/D64508
--HG--
extra : moz-landing-system : lando
2020-03-11 10:52:48 +00:00
Simon Giesecke
dce1e48caf
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in gfx. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D65288
--HG--
extra : moz-landing-system : lando
2020-03-04 15:39:20 +00:00
sotaro
ffd2e427ea
Bug 1618458 - Clean up TextureClientRecycleAllocator r=nical
...
Preparation for Bug 1618429.
Differential Revision: https://phabricator.services.mozilla.com/D64530
--HG--
extra : moz-landing-system : lando
2020-02-27 13:34:08 +00:00
Sylvestre Ledru
cc2040bf21
Bug 1605934
- Use nested namespaces r=sg
...
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files
Differential Revision: https://phabricator.services.mozilla.com/D58217
--HG--
extra : moz-landing-system : lando
2020-01-18 13:48:34 +00:00
Dorel Luca
506e65bcab
Backed out changeset bbb39655cf71 (bug 1605934
) for build bustage in widget/gtk/mozwayland/mozwayland.c
2020-01-18 15:39:55 +02:00
Sylvestre Ledru
6689a37527
Bug 1605934
- Use nested namespaces r=sg
...
Done with:
./mach static-analysis check --checks="-*, modernize-concat-nested-namespaces" --fix .
and then clang-format on the files
Differential Revision: https://phabricator.services.mozilla.com/D58217
--HG--
extra : moz-landing-system : lando
2020-01-18 13:16:39 +00:00
Jean-Yves Avenard
de19fb7f7e
Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
...
Add code for YCbCr buffer and IOSurface backend.
Differential Revision: https://phabricator.services.mozilla.com/D27213
--HG--
extra : moz-landing-system : lando
2019-07-26 08:45:31 +00:00
Narcis Beleuzu
e84980d8b1
Backed out 15 changesets (bug 1543359) for wrench bustages on image.rs . CLOSED TREE
...
Backed out changeset 548006270186 (bug 1543359)
Backed out changeset c9585e9d9f3c (bug 1543359)
Backed out changeset 1c7ca95a2a9b (bug 1543359)
Backed out changeset d742d80b892f (bug 1543359)
Backed out changeset 210eee703fd9 (bug 1543359)
Backed out changeset 4eb933d55d88 (bug 1543359)
Backed out changeset fb9b71ed9f4b (bug 1543359)
Backed out changeset 98b968443458 (bug 1543359)
Backed out changeset a85bd4691bea (bug 1543359)
Backed out changeset b576317853e9 (bug 1543359)
Backed out changeset 095bca5c9b1a (bug 1543359)
Backed out changeset 48eb0ebf9f2e (bug 1543359)
Backed out changeset b22b0eb708b8 (bug 1543359)
Backed out changeset 52187d9320b1 (bug 1543359)
Backed out changeset fa6792c1c2e8 (bug 1543359)
2019-07-26 11:40:33 +03:00
Jean-Yves Avenard
37515d5cc9
Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
...
Add code for YCbCr buffer and IOSurface backend.
Differential Revision: https://phabricator.services.mozilla.com/D27213
--HG--
extra : moz-landing-system : lando
2019-07-26 06:13:37 +00:00
Cosmin Sabou
ae7e8fbf55
Backed out 14 changesets (bug 1543359) for causing build bustages. CLOSED TREE
...
Backed out changeset 87c99ef85813 (bug 1543359)
Backed out changeset cd0afc5758ba (bug 1543359)
Backed out changeset 101ac87ff017 (bug 1543359)
Backed out changeset 348e748e3451 (bug 1543359)
Backed out changeset d9e937f5caf4 (bug 1543359)
Backed out changeset 2f4eb6501552 (bug 1543359)
Backed out changeset 0d316ef8c668 (bug 1543359)
Backed out changeset bf238b58c694 (bug 1543359)
Backed out changeset 496f206d03d6 (bug 1543359)
Backed out changeset 7c3a1f23baa8 (bug 1543359)
Backed out changeset 90fff717198b (bug 1543359)
Backed out changeset b2ce591ca398 (bug 1543359)
Backed out changeset a63968f077e3 (bug 1543359)
Backed out changeset ca660ab1e0c1 (bug 1543359)
2019-07-26 07:39:11 +03:00
Jean-Yves Avenard
63be56621d
Bug 1543359 - P6. Add backend for color range information. r=mattwoodrow.
...
Add code for YCbCr buffer and IOSurface backend.
Differential Revision: https://phabricator.services.mozilla.com/D27213
--HG--
extra : moz-landing-system : lando
2019-07-22 08:24:30 +00:00
sotaro
e615d8edf3
Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical
...
Differential Revision: https://phabricator.services.mozilla.com/D33928
--HG--
extra : moz-landing-system : lando
2019-06-07 12:27:05 +00:00
Jeff Gilbert
544759b391
Bug 1545892 - Reduce includes in gfx2DGlue.h, nsLayoutUtils.h, nsPresContext.h. r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D28266
--HG--
extra : moz-landing-system : lando
2019-04-22 19:58:52 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrew Osmond
918b734a20
Bug 1504699 - Part 5. Stop sharing code between SharedUserData and SharedSurfacesAnimation. r=nical
...
Originally it made sense to share the code, but now the latter has
become too specialized to reuse it. Fork it off here and update it later
parts in this series.
Differential Revision: https://phabricator.services.mozilla.com/D10901
2018-11-21 06:47:17 -05:00
Michael Froman
36306e253f
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-14 18:05:28 +00:00
Bogdan Tara
fc8134a16a
Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
...
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)
--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman
d79a368a51
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:48 +00:00
Dorel Luca
cb089b0bc4
Backed out 9 changesets (bug 1471535) for Mochitest failures in build/src/dom/media/ipc/VideoDecoderChild.cpp
...
Backed out changeset 1342e21cf613 (bug 1471535)
Backed out changeset 8dc9b4d59f90 (bug 1471535)
Backed out changeset 8082f226b52d (bug 1471535)
Backed out changeset f53e1e7bd538 (bug 1471535)
Backed out changeset 1a991ac2e1f8 (bug 1471535)
Backed out changeset a32288737e57 (bug 1471535)
Backed out changeset a094c1ac3afe (bug 1471535)
Backed out changeset fe9b5cdf78f9 (bug 1471535)
Backed out changeset 3a8a75389c42 (bug 1471535)
2018-11-09 12:14:50 +02:00
Michael Froman
3ccc68c776
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-08 03:46:32 +00:00
Andrew Osmond
aa6a92d381
Bug 1428558
- Part 6. Integrate SharedSurfacesAnimation with ImageContainer. r=nical
...
This patch embeds a SharedSurfacesAnimation object inside an
ImageContainer. This allows any consumers of the container to get the
single shared ImageKey for an animation, despite whatever surfaces may
be held inside the container at a given time.
Differential Revision: https://phabricator.services.mozilla.com/D7503
2018-11-02 09:09:52 -04:00