Commit Graph

30796 Commits

Author SHA1 Message Date
Jeff Muizelaar
c7d5869aa3 Bug 1489127. Update webrender to commit 59656aa374706f25d7dc1b3b2c44970377efec22 2018-09-07 10:00:07 -04:00
Jeff Muizelaar
ea679c5b6d Bug 1489127. Properly namespace FontVariation to avoid generated bindings. r=lsalzman
We will generate a FontVariation type from the the bindings. This has the same name
as the type from 'gfx'. They're structurally the same but having them both around
confuses the compiler.
2018-09-07 10:00:04 -04:00
Bogdan Tara
30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
Bogdan Tara
df9ab52a72 Merge inbound to mozilla-central. a=merge 2018-09-07 00:55:00 +03:00
arthur.iakab
c66e0f9611 Merge mozilla-central to autoland 2018-09-06 19:50:32 +03:00
Lee Salzman
665d5160ca Bug 1489170 - fix C linkage in Moz2DImageRender. r=me 2018-09-06 11:09:42 -04:00
Jeff Muizelaar
050bab0d8b Bug 1487903. Fix invalidation of filter and mask items. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5073
2018-09-06 10:56:09 -04:00
Margareta Eliza Balazs
0a1635ffbd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 13:00:37 +03:00
Margareta Eliza Balazs
baa535d4e0 Merge inbound to mozilla-central. a=merge 2018-09-06 12:53:57 +03:00
Gerald Squelart
3627ef71ac Bug 1488701 - Remove misleading std::move's - r=froydnj
Doing std::move when returning/assigning a local or temporary object is
preventing the compiler from performing copy elision.

Differential Revision: https://phabricator.services.mozilla.com/D5019

--HG--
extra : moz-landing-system : lando
2018-09-06 08:28:34 +00:00
Lee Salzman
de75729420 Bug 1480615 - reuse scaled fonts across blob image recordings. r=jrmuizel 2018-09-05 21:55:53 -04:00
Jeff Muizelaar
badaa7a073 Bug 1489069. Update webrender to commit 232550f260fb8d6206c54362f16801ec9f0b154f 2018-09-06 09:09:23 -04:00
Andreea Pavel
4b53c29ee3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-06 07:39:46 +03:00
Matt Woodrow
41c48dbf73 Bug 1473890 - Verify that CompositorAnimations come from the content process that they claim. r=nical
MozReview-Commit-ID: AqcezlMQXE4

Differential Revision: https://phabricator.services.mozilla.com/D4840

--HG--
extra : moz-landing-system : lando
2018-09-06 02:36:10 +00:00
Jonathan Kew
6428deabb4 Bug 1487553 - Use a more compact representation for gfxSparseBitSet. r=lsalzman 2018-09-06 00:04:30 +02:00
Jeff Muizelaar
ae8d2d3c90 Bug 1487885. Update webrender to d89e290c57aab76c45d8016975240cf762354e39 2018-09-05 13:18:10 -04:00
Henrik Winnemöller
b45616020b Bug 1452979 - Use ImageRendering property to provide proper filtering on NativeTexture external images. r=nical
Introduce an ImageRendering argument to the lock call to external images. In case of NativeTexture external images, this ImageRendering argument is used to set the GL_TEXTURE_MIN/MAG_FILTER on texture creation. The filtering is also updated when a lock call is used on an existing texture with a different ImageRendering argument. The WR bindings and auto generated files have been updated.
2018-09-03 21:43:31 +02:00
Jeff Muizelaar
a8a962d0ae Bug 1488887. Re-generate FFI header 2018-09-05 21:21:58 -04:00
Jeff Muizelaar
88ae96a194 Bug 1488887. Update webrender to 46af5bf17978a97f0ab2a899a0d785d58c140a0a 2018-09-05 21:21:57 -04:00
Alex Gaynor
b6cdb4cf71 Bug 1488498 - expand comment in CompositorBridgeChild::Get(); r=nical 2018-09-04 12:58:34 -04:00
Bas Schouten
d9c0061198 Bug 1486875: Make it possible to skip composition or painting using environment variables. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D4526

--HG--
extra : moz-landing-system : lando
2018-09-04 00:18:11 +00:00
Alex Gaynor
ac3702bff2 Bug 1487091 - remove an unused element from a graphics IPDL union; r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D4543

--HG--
extra : moz-landing-system : lando
2018-08-30 00:35:08 +00:00
Bas Schouten
f8bf86582d Bug 1486415: Ensure the SourceSurface stays alive for the duration of MarkIndependent. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D4856
2018-09-03 15:16:28 +02:00
Narcis Beleuzu
28a443cd37 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-02 01:00:31 +03:00
Brian Hackett
44f3ddf9d7 Bug 1486562 - Record reference count changes for SourceListener, r=jib.
--HG--
extra : rebase_source : efd7935de09e85e15d6bd77fd65a49c42be7ff6f
2018-08-31 05:24:09 -10:00
Cosmin Sabou
2c3abdb6ba Merge mozilla-central to autoland. a=merge 2018-09-01 12:31:39 +03:00
Cosmin Sabou
c8483bebfa Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
2018-09-01 12:27:26 +03:00
Henri Sivonen
4498bbb089 Bug 1484985 - Avoid writing past the logical length of a string in graphics code. r=jgilbert
MozReview-Commit-ID: 7YtpBiaA7Gp

Differential Revision: https://phabricator.services.mozilla.com/D3885

--HG--
extra : moz-landing-system : lando
2018-08-31 20:12:34 +00:00
Ryan Hunt
83dd220a65 Bug 1487105 - Convert graphics documentation to restructured text. r=jrmuizel DONTBUILD
This will allow us to see our design documents on firefox-source-docs. I
ran each markdown file through pandoc, then manually fixed up any issues
I found.

Differential Revision: https://phabricator.services.mozilla.com/D4546

--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
extra : source : 05a0118455e4771d95f0667a713e32c5d0b4ee44
2018-08-29 00:33:56 -05:00
Ryan Hunt
dbb6b089bd Bug 1487105 - Drop or move graphics documentation that won't be converted. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D4545

--HG--
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
extra : source : 78b8ff88999258a6d270ad452859d82b9e8dc031
2018-08-29 10:10:57 -05:00
Sotaro Ikeda
c48891ba19 Bug 1487001 - Use effective ScrollOffset to calculate visible rect of checkerboard. r=botond
--HG--
extra : source : 0509636cc5d54ee4abcc1864e69bc8d7aa29a3b0
2018-08-31 12:44:52 -04:00
Jeff Muizelaar
b6d60d2d7e Bug 1487647. Update webrender to commit 3fa5eb8aaa0172306bfdc5e87d1d0c9af39d103a
--HG--
extra : source : 328589a86dd1140d64967737c53bb1144fb274a1
extra : histedit_source : 61b59e1c5d381fe5803e486564692fac3e267b38
2018-08-31 15:44:02 -04:00
Imanol Fernandez
e3fb802a4a Bug 1487825 - Don't WaitForBufferOwnership if the surface is already Available r=jgilbert
Reviewers: jgilbert

Reviewed By: jgilbert

Bug #: 1487825

Differential Revision: https://phabricator.services.mozilla.com/D4779

--HG--
extra : rebase_source : 19399c7074aa370e52c57ec2076d236aaba8f763
extra : histedit_source : ba4fbf696d726006f4e7b61fc5fa1d5bcd3bf80d
2018-09-01 03:26:03 +03:00
Sebastian Hengst
4f39161869 Backed out 18 changesets (bug 1487647, bug 1487271, bug 1487001, bug 1487105, bug 1486845, bug 1485738, bug 1487595, bug 1347060, bug 1480900, bug 1487889) for accidential push of inbound to central. a=backout
Backed out changeset 331706d8558f (bug 1487595)
Backed out changeset d78b833293db (bug 1487595)
Backed out changeset f292ef31ef0b (bug 1487595)
Backed out changeset ef8c5c529210 (bug 1486845)
Backed out changeset 9cbc8592d649 (bug 1487889)
Backed out changeset 05a0118455e4 (bug 1487105)
Backed out changeset 78b8ff889992 (bug 1487105)
Backed out changeset 5a55e5b74107 (bug 1480900)
Backed out changeset ea2402bdef40 (bug 1347060)
Backed out changeset 3f831b709e37 (bug 1485738)
Backed out changeset d1c29bfb5ea9 (bug 1480900)
Backed out changeset 8e60483ec824 (bug 1480900)
Backed out changeset 328589a86dd1 (bug 1487647)
Backed out changeset d974ef1647f3 (bug 1480900)
Backed out changeset 0509636cc5d5 (bug 1487001)
Backed out changeset c57165730494 (bug 1487271)
Backed out changeset a55d81761fc4 (bug 1480900)
Backed out changeset eaa2d0e9b62d (bug 1480900)

--HG--
rename : gfx/docs/AsyncPanZoomArchitecture.png => gfx/doc/AsyncPanZoom-HighLevel.png
rename : gfx/webrender_bindings/README.webrender => gfx/doc/README.webrender
rename : gfx/docs/SilkArchitecture.png => gfx/doc/silkArchitecture.png
2018-09-01 02:01:23 +03:00
Ryan Hunt
6ad116f924 Bug 1487105 - Convert graphics documentation to restructured text. r=jrmuizel DONTBUILD
This will allow us to see our design documents on firefox-source-docs. I
ran each markdown file through pandoc, then manually fixed up any issues
I found.

Differential Revision: https://phabricator.services.mozilla.com/D4546

--HG--
rename : gfx/doc/AsyncPanZoom-HighLevel.png => gfx/docs/AsyncPanZoomArchitecture.png
rename : gfx/doc/silkArchitecture.png => gfx/docs/SilkArchitecture.png
extra : rebase_source : ff73ef436f56b93797c00bcaf1ff1020d7aa7d23
extra : amend_source : 57b2fde08bea6d7476cc5eb8900946a248d38e2e
2018-08-29 00:33:56 -05:00
Ryan Hunt
a7b9ac001a Bug 1487105 - Drop or move graphics documentation that won't be converted. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D4545

--HG--
rename : gfx/doc/README.webrender => gfx/webrender_bindings/README.webrender
extra : rebase_source : f8ab89995f4595ede3fe6ca69c743df6fc7ad779
2018-08-29 10:10:57 -05:00
Jeff Muizelaar
cac89d4f27 Bug 1487647. Update webrender to commit 3fa5eb8aaa0172306bfdc5e87d1d0c9af39d103a 2018-08-31 15:44:02 -04:00
Sotaro Ikeda
4f34f50cb1 Bug 1487001 - Use effective ScrollOffset to calculate visible rect of checkerboard. r=botond
--HG--
extra : rebase_source : f934f432cbc21d38ff07851ae00fc1ee2f46f048
2018-08-31 12:44:52 -04:00
Botond Ballo
3173b0cdd2 Bug 1485314 - Only advance animations in SampleForWebRender() after all async transforms have been sampled. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D4792

--HG--
extra : moz-landing-system : lando
2018-08-31 20:08:38 +00:00
Gurzau Raul
6b4d87cf7c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-31 07:08:44 +03:00
Gurzau Raul
3f66519a54 Merge inbound to mozilla-central. a=merge 2018-08-31 07:04:49 +03:00
Jeff Muizelaar
904458d734 Bug 1487588. Update webrender to commit 6415faa7f6acd412d4cc6b745cf802204690611c
--HG--
extra : rebase_source : c9058427a80b467eddd16d4c4e31b02309d8f9bf
2018-08-30 23:47:47 -04:00
Jeff Muizelaar
eda618689d Bug 1487429. Update webrender to 69dae1fe743bf3656d532672366e7193b041b6f7
--HG--
extra : rebase_source : 0a86da51e98439b154dc07f0268cb0def22f4952
2018-08-30 21:31:02 -04:00
Jeff Muizelaar
a21bea480d Bug 1452426. Hook up invalidation testing in WebRender. r=mstange 2018-08-30 18:29:36 -04:00
Narcis Beleuzu
1e60ae6690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-30 20:08:44 +03:00
Jamie Nicol
d2ddd59b5f Bug 1471221 - Calculate intermediate surface bounds in advanced layers in pre-pass. r=mattwoodrow
Advanced layers was calculating incorrect visible regions for
container layers with intermediate surfaces, as it was not taking
async transform animations in to account. Rather than recursing the
depth of the tree for each layer to calculate this in
OnPrepareToRender, do a single pre-pass at the start of the frame.

Differential Revision: https://phabricator.services.mozilla.com/D4522

--HG--
extra : moz-landing-system : lando
2018-08-30 00:26:08 +00:00
Miko Mynttinen
1548622d86 Bug 1472733 - Improve IntRect overflow handling when calculating layer invalidation area and visible region r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D4627

--HG--
extra : moz-landing-system : lando
2018-08-30 00:59:28 +00:00
Imanol Fernandez
01d16686d3 Bug 1487115 - Fix navigator.Gamepads returns empty VR array after a page load when using gfxVRExternal r=qdot,kip
Differential Revision: https://phabricator.services.mozilla.com/D4570

--HG--
extra : moz-landing-system : lando
2018-08-29 19:10:55 +00:00
Alex Gaynor
2ddbae2c62 Bug 1487148 - handle there not being an X display gracefully in IPC; r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D4577

--HG--
extra : moz-landing-system : lando
2018-08-29 17:30:53 +00:00
Gabriele Svelto
6bddc0a55e Bug 1486772 - Refactor the screen-orientation types and headers r=smaug
This patch removes the 'ScreenOrientationInternal' type from
dom/base/ScreenOrientation.h and moves it into the
HalScreenConfiguration.h header, renaming it simply to 'ScreenOrientation'
in the process. This has several knock-off effects:

- It allows files that needed ScreenOrientationInternal to include a much
  smaller header than before

- It greatly reduces the number of headers pulled in when including Hal.h

- It clarifies the role of the type. The 'Internal' part in the name had
  nothing to do with it being part of the implementation. The type was public
  and called that way only to avoid clashing with the 'ScreenOrientation'
  class. Since we moved it into a different namespace it can be renamed
  safely.

- It allows a file that was manually re-declaring 'ScreenConfigurationInternal'
  type to use the original one

- Finally this fixes a few files which were missing headers they actually
  required but that would still build because unified compilation put them into
  units that already had those headers thanks to ScreenConfiguration.h

Differential Revision: https://phabricator.services.mozilla.com/D4458

--HG--
extra : moz-landing-system : lando
2018-08-29 20:54:56 +00:00