- Mar 10, 2022
-
-
Lee Salzman authored
Differential Revision: https://phabricator.services.mozilla.com/D139656
-
smolnar authored
Backed out changeset 36c6350bc7d1 (bug 1757067) for causing build bustages in gfx/gl/GLBlitHelperD3D.cpp CLOSED TREE
-
Lee Salzman authored
Differential Revision: https://phabricator.services.mozilla.com/D139656
-
- Feb 22, 2022
-
-
Lee Salzman authored
This makes WR properly handle mPicSize when RenderBufferTextureHost is used. The main change is that we need to take care to pass in display().Size() from the descriptor, and then further use that to carefully limit the size of the CbCr texture, as it doesn't necessarily maintain an appropriate half-sized scale with respect to the Y texture if it is padded. Given that mPicSize should now actually work, we should no longer need any of the previous mCroppedSize mechanisms that were added to work around this, and so they are removed in this patch. Differential Revision: https://phabricator.services.mozilla.com/D139267
-
- Sep 24, 2021
-
-
Chris Peterson authored
Building with ac_add_options --disable-unified-build on macOS hits the following warnings-as-errors: gfx/2d/FilterNodeSoftware.cpp:1022:10 [-Wunreachable-code-return] 'return' will never be executed gfx/2d/DrawTargetCairo.cpp:1957:20 [-Wunused-function] unused function 'GfxMatrixToPixmanTransform' gfx/thebes/gfxHarfBuzzShaper.cpp:1008:23: warning: unused variable 'sDageshForms' [-Wunused-const-variable] gfx/thebes/gfxMacPlatformFontList.mm:818:31 [-Wunused-const-variable] unused variable 'kLangFontsDirs' gfx/tests/gtest/TestSwizzle.cpp:221:21 [-Wunreachable-code] code will never be executed gfx/tests/gtest/TestTreeTraversal.cpp:16:11 [-Wunused-const-variable] unused variable 'PERFORMANCE_TREE_DEPTH' gfx/tests/gtest/TestTreeTraversal.cpp:17:11 [-Wunused-const-variable] unused variable 'PERFORMANCE_TREE_CHILD_COUNT' gfx/tests/gtest/TestTreeTraversal.cpp:18:11 [-Wunused-const-variable] unused variable 'PERFORMANCE_TREE_LEAF_COUNT' gfx/tests/gtest/TestTreeTraversal.cpp:19:11 [-Wunused-const-variable] unused variable 'PERFORMANCE_REGION_XWRAP' gfx/vr/VRDisplayPresentation.cpp:151:3 [-Wunreachable-code-loop-increment] loop will run at most once (loop increment never executed) gfx/ycbcr/scale_yuv_argb.cpp:61:21 [-Wunused-function] unused function 'Abs' Differential Revision: https://phabricator.services.mozilla.com/D126592
-
- Aug 24, 2021
-
-
Jon Bauman authored
Differential Revision: https://phabricator.services.mozilla.com/D123378
-
Sandor Molnar authored
Backed out changeset d0f659f7ea9b (bug 1696045) for causing gtest failures in image/decoders/nsAVIFDecoder. CLOSED TREE
-
Jon Bauman authored
Differential Revision: https://phabricator.services.mozilla.com/D123378
-
Jon Bauman authored
Differential Revision: https://phabricator.services.mozilla.com/D123378
-
- Aug 22, 2021
-
-
Andi-Bogdan Postelnicu authored
Differential Revision: https://phabricator.services.mozilla.com/D122343
-
- May 19, 2021
-
-
Yuan Tong authored
Fix for ConvertYCbCrToRGB32 to use full range convert functions for full range data. Some changes of libyuv are backported from newer version, to get support of full range BT.709 and BT.2020 colorspace. Differential Revision: https://phabricator.services.mozilla.com/D105937
-
- Jan 26, 2021
-
-
Jon Bauman authored
Differential Revision: https://phabricator.services.mozilla.com/D102852
-
- Dec 17, 2020
-
-
Chun-Min Chang authored
Fix a typo caused by Bug 1654462. The mistake is made in: https://hg.mozilla.org/mozilla-central/rev/c1478d03a451c946784194a781bb1ec2ef3621a6#l3.52 In Bug 1654462, we move the main logic of `ConvertYCbCrToRGB` to `ConvertYCbCrToRGBInternal` and leave `gfx::SwizzleData` behind. The `gfx::SwizzleData` needs a `IntSize` parameter to perform the task. However, the initial parameter is from a variable that is moved from `ConvertYCbCrToRGB` to `ConvertYCbCrToRGBInternal`. The `IntSize` parameter represents the picture size (`PlanarYCbCrData::mPicSize`) of the picture of the passed image data. which won't be changed after `ConvertYCbCrToRGBInternal` is performed (see: https://hg.mozilla.org/mozilla-central/file/301cb0eb1e488475ab9f48210c12b87887d7ae0b/gfx/ycbcr/YCbCrUtils.cpp#l120). Therefore, we can pass the original picture size of the image data to the `gfx::SwizzleData`. That should do the same job as before. Differential Revision: https://phabricator.services.mozilla.com/D100030
-
- Dec 16, 2020
-
-
Chun-Min Chang authored
This patch implements the transparency support for AVIF image files. To convert the decoded YCbCr and Alpha data to RGBA, a function named `ConvertYCbCrAToARGB` is created to do this job in the following procedure: ConvertYCbCrAToARGB: If the layout of the YCbCr is I420 Calling libyuv::I420AlphaToARGB Else Fill RGB data converted by ConvertYCbCrToRGB in ARGB buffer first Insert the alpha data to ARGB buffer On the other hand, this patch refactors the nsAVIFDecoder a bit to make the lifetime of the parsed data and decoded image data clearer. They won't live longer than Parser object and {Dav1d, AOM}Decoder object. This should improve the code readability. This patch also adds a transparent image test (TransparentAVIFTestCase) to check the FLAG_HAS_TRANSPARENCY is posted or not. The test image file `transparent.avif` is from Bug 1654462. Differential Revision: https://phabricator.services.mozilla.com/D98951
-
- Aug 10, 2020
-
-
Thomas Daede authored
Differential Revision: https://phabricator.services.mozilla.com/D85961
-
- May 22, 2020
-
-
Jon Bauman authored
Also, add `clang-format off` directives to files which are ignored by .clang-format-ignore so that the editor isn't trying to reformat them Differential Revision: https://phabricator.services.mozilla.com/D76217
-
- Dec 13, 2019
-
-
Jeff Walden authored
Bug 1439659 - Make |MOZ_{LITTLE,BIG}_ENDIAN| into function macros so that invoking them inside |#if| conditions when they haven't been defined yet is a compile error. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D57038 --HG-- extra : moz-landing-system : lando
-
- Sep 17, 2019
-
-
A. Wilcox authored
Differential Revision: https://phabricator.services.mozilla.com/D46134 --HG-- extra : moz-landing-system : lando
-
- Jul 26, 2019
-
-
Nicholas Nethercote authored
This requires replacing inclusions of it with inclusions of more specific prefs files. The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h, and is used in `Codegen.py` because doing something smarter is tricky and suitable for a follow-up. As a result, any change to StaticPrefList.yaml will still trigger recompilation of all the generated DOM bindings files, but that's still a big improvement over trigger recompilation of every file that uses static prefs. Most of the changes in this commit are very boring. The only changes that are not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml. Differential Revision: https://phabricator.services.mozilla.com/D39138 --HG-- extra : moz-landing-system : lando
-
- Jun 26, 2019
-
-
Nicholas Nethercote authored
Differential Revision: https://phabricator.services.mozilla.com/D35976 --HG-- extra : rebase_source : 0e054c5ac565d30c3bd9621d82d41075bdfddd5b
-
Nicholas Nethercote authored
Differential Revision: https://phabricator.services.mozilla.com/D35975 --HG-- extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
-
- May 26, 2019
-
-
Jean-Yves Avenard authored
gfxPrefs Live preferences are almost identical to StaticPrefs. We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs. Differential Revision: https://phabricator.services.mozilla.com/D31256 --HG-- extra : moz-landing-system : lando
-
- May 25, 2019
-
-
Gurzau Raul authored
Backed out changeset e30c1aa75529 (bug 1552643) Backed out changeset caadcd7e02d3 (bug 1552643) Backed out changeset aa7086ab09be (bug 1552643) Backed out changeset 0b4029671710 (bug 1550422) Backed out changeset a16295296035 (bug 1550422) Backed out changeset 3b70307c0db5 (bug 1550422) Backed out changeset 69df7818d4a3 (bug 1550422) Backed out changeset d98dfc565927 (bug 1550422) Backed out changeset 6f0997976944 (bug 1550422) Backed out changeset 0edd264464c2 (bug 1550422) Backed out changeset 9ea6da7a74ec (bug 1550422) Backed out changeset f855f9309c8b (bug 1550422) Backed out changeset 1033546224a7 (bug 1550422) Backed out changeset ade7384c6186 (bug 1550422) Backed out changeset 75b04de7e99c (bug 1550422) Backed out changeset 91c3acdb2454 (bug 1550422) Backed out changeset 77d2f80257d1 (bug 1550422) Backed out changeset e0cd10d35327 (bug 1550422) Backed out changeset 097091082423 (bug 1550422) Backed out changeset 2f328853c1ab (bug 1550422) Backed out changeset f92f2cc29cb1 (bug 1550422) Backed out changeset 6dc82f88333d (bug 1550422) Backed out changeset c20f66494d69 (bug 1550422) Backed out changeset 2ba22cddeb6f (bug 1550422) Backed out changeset 3aa72f89e295 (bug 1550422) Backed out changeset ab4c4e806977 (bug 1550422) Backed out changeset 72e5de040dda (bug 1550422) Backed out changeset 7d3c2d486706 (bug 1550422) Backed out changeset 132e0b8d8468 (bug 1550422) Backed out changeset 54c85ac75dd0 (bug 1550422) Backed out changeset d7ba4a18dd54 (bug 1550422)
-
Jean-Yves Avenard authored
gfxPrefs Live preferences are almost identical to StaticPrefs. We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs. Differential Revision: https://phabricator.services.mozilla.com/D31256 --HG-- extra : moz-landing-system : lando
-
- May 23, 2019
-
-
Gurzau Raul authored
Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. Backed out changeset 5dd10a365ba9 (bug 1550422) Backed out changeset 529f5be01ab9 (bug 1550422) Backed out changeset b6861d3badf8 (bug 1550422) Backed out changeset 059cff1a3dde (bug 1550422) Backed out changeset 6ada1116b241 (bug 1550422) Backed out changeset ca67e8e45262 (bug 1550422) Backed out changeset a1961a51ae44 (bug 1550422) Backed out changeset 1c90b9cb3ad4 (bug 1550422) Backed out changeset 285fa46e4f26 (bug 1550422) Backed out changeset e2938a444234 (bug 1550422) Backed out changeset 7a930fc51125 (bug 1550422) Backed out changeset 898ed02804fe (bug 1550422) Backed out changeset e1b7abc99ae9 (bug 1550422) Backed out changeset f781d415cef6 (bug 1550422) Backed out changeset 2fef10a7cce5 (bug 1550422) Backed out changeset ea64b4d8d4ff (bug 1550422) Backed out changeset 86a8ba1b755c (bug 1550422) Backed out changeset 9c0c9e80f309 (bug 1550422) Backed out changeset 10c153ddbaea (bug 1550422) Backed out changeset 60fe635ec2c9 (bug 1550422) Backed out changeset a38796266b28 (bug 1550422) Backed out changeset 2db647dcdf1c (bug 1550422) Backed out changeset 952ddac02972 (bug 1550422) Backed out changeset ba46b53643ec (bug 1550422) Backed out changeset ca47ef6c59f7 (bug 1550422) Backed out changeset f45f471a1a40 (bug 1550422) Backed out changeset 371b4da5b771 (bug 1550422) Backed out changeset 02fc78890032 (bug 1550422)
-
- May 22, 2019
-
-
Jean-Yves Avenard authored
gfxPrefs Live preferences are almost identical to StaticPrefs. We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs. Differential Revision: https://phabricator.services.mozilla.com/D31256 --HG-- extra : moz-landing-system : lando
-
- Apr 11, 2019
-
-
Jean-Yves Avenard authored
YUVColorSpace is inseparable from the bit depth as the matrix coefficients to be calculated need the bit depth information. So let's put the two types together. gfx namespace also makes more sense as that's where we find IntRect, IntSize and other. The extent of the changes highlight how much similar data structures are duplicated across the code, to the point it's scary. Differential Revision: https://phabricator.services.mozilla.com/D25347 --HG-- extra : moz-landing-system : lando
-
Jean-Yves Avenard authored
This is used by the basic compositor. Re-using existing logic, however as with other conversion it only handles limited 8 bits ranges (16-235) and to make things worse is rounded aggressively as the focus is on speed. Differential Revision: https://phabricator.services.mozilla.com/D25345 --HG-- extra : moz-landing-system : lando
-
- Feb 14, 2019
-
-
Mike Hommey authored
Consequently, this removes: - MOZ_LIBPRIO, which is now always enabled. - non_msvc_compiler, which is now always true. - The cl.py wrapper, since it's not used anymore. - CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper. - NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still worked in non-ASCII cases. This however keeps a large part of detecting and configuring for MSVC, because we still do need it for at least headers, libraries, and midl. Depends on D19614 Differential Revision: https://phabricator.services.mozilla.com/D19615 --HG-- extra : moz-landing-system : lando
-
- Dec 15, 2018
-
-
Noemi Erli authored
-
- Dec 01, 2018
-
-
A. Wilcox authored
-
- Sep 25, 2018
-
-
Jean-Yves Avenard authored
Depends on D6662 Differential Revision: https://phabricator.services.mozilla.com/D6663 --HG-- extra : moz-landing-system : lando
-
- Aug 29, 2018
-
-
Mike Hommey authored
Bug 1478269 - Fix the outputs and clobbers of inline assembly blocks in yuv_row_posix.cpp. r=jrmuizel While the current code compiles fine with the file as it is, with LTO enabled, some functions end up inlined into their callers and their callers, recursively, and the compiler doesn't know some of the registers have been modified by the assembly, leading to bad decisions, and bad behavior at runtime. The same problem would likely happen if we were using UNIFIED_SOURCES in the directory. Differential Revision: https://phabricator.services.mozilla.com/D4200
-
Mike Hommey authored
Differential Revision: https://phabricator.services.mozilla.com/D4199
-
Mike Hommey authored
ycbcr is dead upstream, and has been for almost as long as the code in the gecko tree hasn't been updated. Let's not pretend that we can actually run the update script and that having the patches separated matters, because there's no upstream to apply those patches to anymore. Update README accordingly. Differential Revision: https://phabricator.services.mozilla.com/D4198
-
Dorel Luca authored
Backed out 3 changesets (bug 1478269) for Mochitest failures on dom/canvas/test/test_imagebitmap_extensions.html Backed out changeset 5766f5561af0 (bug 1478269) Backed out changeset a4c212f5e8c4 (bug 1478269) Backed out changeset 07d50175fed9 (bug 1478269)
-
- Aug 28, 2018
-
-
Mike Hommey authored
Bug 1478269 - Fix the outputs and clobbers of inline assembly blocks in yuv_row_posix.cpp. r=jrmuizel While the current code compiles fine with the file as it is, with LTO enabled, some functions end up inlined into their callers and their callers, recursively, and the compiler doesn't know some of the registers have been modified by the assembly, leading to bad decisions, and bad behavior at runtime. The same problem would likely happen if we were using UNIFIED_SOURCES in the directory. Differential Revision: https://phabricator.services.mozilla.com/D4200
-
Mike Hommey authored
Differential Revision: https://phabricator.services.mozilla.com/D4199
-
Mike Hommey authored
ycbcr is dead upstream, and has been for almost as long as the code in the gecko tree hasn't been updated. Let's not pretend that we can actually run the update script and that having the patches separated matters, because there's no upstream to apply those patches to anymore. Update README accordingly. Differential Revision: https://phabricator.services.mozilla.com/D4198
-
Nathan Froyd authored
-