Граф коммитов

1463 Коммитов

Автор SHA1 Сообщение Дата
Robert Mader 736a9e904d Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert,geckoview-reviewers,m_kato
Fetch the DRM device in the EGL version of glxtest, set it in gfxInfo and pass
it to gfxVars. Finally, use it in nsDMABufDevice::Configure().

While on it, also clean up EGL typedefs and defines a bit to match how it's
done for GLX.

Inspired by and copied from wlroots and Xwayland. Thanks to emersion!

Differential Revision: https://phabricator.services.mozilla.com/D98108
2021-01-18 09:26:21 +00:00
Mihai Alexandru Michis 075a8d5214 Backed out changeset 03c509adfe55 (bug 1588904) for causing bustages.
CLOSED TREE
2021-01-16 18:09:05 +02:00
Robert Mader 2fd87154fc Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert
Fetch the DRM device in the EGL version of glxtest, set it in gfxInfo and pass
it to gfxVars. Finally, use it in nsDMABufDevice::Configure().

While on it, also clean up EGL typedefs and defines a bit to match how it's
done for GLX.

Inspired by and copied from wlroots and Xwayland. Thanks to emersion!

Differential Revision: https://phabricator.services.mozilla.com/D98108
2021-01-16 15:36:12 +00:00
Brindusan Cristian 4c535a3595 Backed out changeset dde159ea0c4c (bug 1588904) for build bustages at xf86drm.h. CLOSED TREE 2021-01-16 14:51:34 +02:00
Robert Mader 88f418e0a5 Bug 1588904 - [Linux/EGL] Use correct rendering device in multi-GPU setup, r=stransky,emilio,jgilbert
Fetch the DRM device in the EGL version of glxtest, set it in gfxInfo and pass
it to gfxVars. Finally, use it in nsDMABufDevice::Configure().

While on it, also clean up EGL typedefs and defines a bit to match how it's
done for GLX.

Inspired by and copied from wlroots and Xwayland. Thanks to emersion!

Differential Revision: https://phabricator.services.mozilla.com/D98108
2021-01-16 12:14:37 +00:00
Andrew Osmond 9168cac006 Bug 1684170 - Decouple WebRender and Software WebRender gfxConfig features. r=jrmuizel
Lack of support of (hardware) WebRender should not block Software
WebRender support. This can happen when ANGLE isn't supported, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D100445
2021-01-14 19:59:10 +00:00
Timothy Nikkel d70b8b4af4 Bug 1685009. Update the visual offset too when doing a paint skip transaction to keep it in sync with layout offset. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D101149
2021-01-10 01:52:24 +00:00
Jim Blandy 692a10e624 Bug 1681610: Use thicker borders when faking rounded rectangles. r=gw
`DisplayListBuilder::PushRoundedRect`, used for unordered list bullets and the
like, draws rounded rectangles as ordinary rectangles with rounded borders that
have a radius of half the rectangle. Unfortunately, this leads to tiny white
dots at the center of the bullet under some magnifications. I haven't diagnosed
why - perhaps there's something somewhere that snaps borders outward.

Increasing the thickness of the borders to (an impossible) 60% of the width of
the rectangle makes the problem go away. If this kludge doesn't work, we could
add a rectangle covering the center.

Differential Revision: https://phabricator.services.mozilla.com/D100753
2021-01-09 19:55:03 +00:00
Mihai Alexandru Michis 14cf518abd Backed out changeset 24da67c3c956 (bug 1685009) for causing crashtest timeouts. 2021-01-09 04:21:14 +02:00
Timothy Nikkel b38ba95a2a Bug 1685009. Update the visual offset too when doing a paint skip transaction to keep it in sync with layout offset. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D101149
2021-01-08 20:20:48 +00:00
Jamie Nicol f394063007 Bug 1685276 - Fix and re-enable partial present on Mali-Gxx devices. r=kvark
In bug 1676474 an issue was reported regarding partial present on
Mali-G77 devices. This was introduced in bug 1675159, which refactored
some partial present logic and shifted the order of some OpenGL calls
around. As a precaution, we disabled the feature on all Mali-Gxx
devices.

The bug seems to occur when eglSetDamageRegion is called after
rendering to an offscreen render target (in this case due to texture
cache or GPU cache updates), but without the driver being flushed in
some way. This appears to be a bug in the Mali driver.

This patch moves the eglSetDamageRegion call back to its original
location -- after all offscreen render targets have been rendered,
immediately before rendering to the main framebuffer -- which fixes
the issue. It also re-enables the feature on all Mali-Gxx devices.

Differential Revision: https://phabricator.services.mozilla.com/D101018
2021-01-07 14:47:34 +00:00
Kartik Gautam 7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Mihai Alexandru Michis 2aea8e093c Backed out changeset 465526830144 (bug 1684170) for causing talos failures.
CLOSED TREE
2020-12-25 07:04:27 +02:00
Andrew Osmond 1510060a56 Bug 1684170 - Decouple WebRender and Software WebRender gfxConfig features. r=jrmuizel
Lack of support of (hardware) WebRender should not block Software
WebRender support. This can happen when ANGLE isn't supported, for
example.

Differential Revision: https://phabricator.services.mozilla.com/D100445
2020-12-24 18:23:29 +00:00
Andrew Osmond 583dd6ec47 Bug 1683779 - Use only rust constructs to detect SSE2/AVX/NEON support. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100293
2020-12-22 01:37:03 +00:00
Andrew Osmond 112768dbff Bug 1682927 - Ship WebRender to release for Intel users with a refresh rate of up to and including 75 Hz. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D99928
2020-12-16 19:25:19 +00:00
Kartik Gautam f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca 7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Lee Salzman 428d1105f4 Bug 1678938 - nudge clipped coordinates inside clip boundary. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D99008
2020-12-12 01:11:36 +00:00
smolnar d34a3b49c3 Backed out changeset ad64ffa1c7f6 (bug 1678938) for causing reftest failures. CLOSED TREE 2020-12-12 02:51:33 +02:00
Lee Salzman 8c5648c6f2 Bug 1678938 - nudge clipped coordinates inside clip boundary. r=jimb
Depends on D99007

Differential Revision: https://phabricator.services.mozilla.com/D99008
2020-12-09 20:28:45 +00:00
Lee Salzman ea6e9085d8 Bug 1679477 - avoid division by zero W coordinate. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D99007
2020-12-10 00:43:37 +00:00
Jamie Nicol 8c46075595 Bug 1676474 - Disable webrender partial present on Mali-Gxx. r=aosmond
Due to rendering issues reported on a Mali-G77, disable partial
present on all Mali-Gxx devices.

Differential Revision: https://phabricator.services.mozilla.com/D99216
2020-12-09 13:07:33 +00:00
Timothy Nikkel 2d753ba330 Bug 1662062. Make StackingContextHelper constructor handle pinch zooming resolution when calculatoring the scale. r=jrmuizel
Looks like it's just a case we missed. This affects on desktop and android.

Differential Revision: https://phabricator.services.mozilla.com/D97716
2020-11-28 09:50:14 +00:00
Dorel Luca 4a5d64446f Backed out changeset 774fb7eed629 (bug 1662062) for Build bustages in StackingContextHelper.cpp. CLOSED TREE 2020-11-28 11:13:29 +02:00
Timothy Nikkel ed03b3550e Bug 1662062. Make StackingContextHelper constructor handle pinch zooming resolution when calculatoring the scale. r=jrmuizel
Looks like it's just a case we missed. This affects on desktop and android.

Differential Revision: https://phabricator.services.mozilla.com/D97716
2020-11-27 14:11:48 +00:00
Andrew Osmond 2f6f788bc8 Bug 1678907 - Allow gfx.webrender.all to override software WebRender allowlist. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97858
2020-11-22 14:42:57 +00:00
Andrew Osmond d54e45522a Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 17:38:53 +00:00
Butkovits Atila 4f241bf0c5 Backed out changeset f6a72042dd56 (bug 1677293) for failures on fullscreen.py. CLOSED TREE 2020-11-20 15:07:42 +02:00
Andrew Osmond 30f43fae5d Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 11:34:56 +00:00
Narcis Beleuzu 7c34b619e1 Backed out changeset e675571f2d9a (bug 1677293) for GTest failure on GfxConfigManager . CLOSED TREE 2020-11-20 06:58:06 +02:00
Andrew Osmond 1a739849ce Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-20 00:57:07 +00:00
Brad Werth d99446355a Bug 1625590 Part 4: Add a test of native font cache behavior on macOS. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97237
2020-11-19 16:59:31 +00:00
Tim Nguyen 082c712f75 Bug 1525737 - Remove/replace usages of XUL grid display values. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53300
2020-11-17 01:20:34 +00:00
Cristina Coroiu a6ec96e2b1 Backed out changeset 2991f291f95f (bug 1677293) for Wd failures at mozilla/webdriver/take_full_screenshot/iframe.py on a CLOSED TREE 2020-11-18 13:29:18 +02:00
Andrew Osmond 81c30b5780 Bug 1677293 - Enable Software WebRender on Linux nightly for small/medium screens. r=jrmuizel
This patch enables Software WebRender for all Linux users. If their
configuration is also allowlisted for (accelerated) WebRender, then they
will default to that over Software WebRender.

Differential Revision: https://phabricator.services.mozilla.com/D97156
2020-11-18 00:42:24 +00:00
Andrew Osmond 14c1a2a995 Bug 1676925 - Remove code supporting the defunct WebRender experiments. r=jrmuizel,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96943
2020-11-13 05:40:10 +00:00
Matt Woodrow ccd859ffae Bug 1674866 - Add gfx feature for WR software. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96502
2020-11-10 23:36:43 +00:00
Kris Maglione 7ae9faa46f Bug 1651774: Update mozilla/use-services rule for native Services implementation. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D93858
2020-11-06 18:58:33 +00:00
Jeff Muizelaar edcb500aaa Bug 1672309 - Port remaning gtests to Rust. r=aosmond
I've left the C++ ones for now.

Differential Revision: https://phabricator.services.mozilla.com/D94246
2020-10-31 21:55:20 +00:00
Andrew Osmond eb7cd09979 Bug 1674195 - Allow WebRender for Intel laptop users without DirectComposition. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95190
2020-10-29 20:21:58 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Mihai Alexandru Michis d38909b148 Backed out changeset 3714bd86365f (bug 1672489) for accidentally disabling wr on Win7.
CLOSED TREE
2020-10-26 15:57:01 +02:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Markus Stange 3eaf2c04d4 Bug 1346601 - Set surfaceRect to empty when surface becomes null. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D94600
2020-10-23 22:33:14 +00:00
Jeff Muizelaar 07cb9dd9f8 Bug 1672489 - Don't restrict DirectComposition to Win10 on Nightly. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D94359
2020-10-23 21:33:02 +00:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00