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

30812 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 7b04fbd86a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-11 01:01:17 +03:00
Daniel Varga 67945694c1 Merge mozilla-central to mozilla-inbound 2018-09-10 19:23:14 +03:00
Botond Ballo 2801828374 Bug 1478335 - Use the visual viewport offset to compute the visible area in CalculateRectToZoomTo(). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D5462

--HG--
extra : moz-landing-system : lando
2018-09-10 20:25:06 +00:00
Gerald Squelart b51e0fd0cc Bug 1489944 - Fixed some std::move warnings - r=froydnj
> dom/media/gmp/CDMStorageIdProvider.cpp(63,10):  warning:
> local variable 'storageId' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/DisplayItemClip.cpp(581,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/DisplayItemClipChain.cpp(88,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> layout/painting/nsDisplayList.cpp(179,10):  warning:
> local variable 'str' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> gfx/thebes/gfxWindowsPlatform.cpp(454,10):  warning:
> moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
Will remove std::move().

> gfx/thebes/gfxFontEntry.cpp(245,20):  warning:
> local variable 'name' will be copied despite being returned by name [-Wreturn-std-move]
nsAutoCString -> nsCString, will add std::move().

> netwerk/cookie/nsCookieService.cpp(4460,10):  warning:
> local variable 'path' will be copied despite being returned by name [-Wreturn-std-move]
GetPathFromURI() result is stored in an nsAutoCString, so it might as well return that type.

> toolkit/components/extensions/WebExtensionPolicy.cpp(462,12):  warning:
> local variable 'result' will be copied despite being returned by name [-Wreturn-std-move]
> toolkit/components/extensions/WebExtensionPolicy.cpp(475,10):  warning:
> local variable 'result' will be copied despite being returned by name [-Wreturn-std-move]
`result` may be empty or may be arbitrarily long, so I'll use nsCString inside the function.

> toolkit/xre/CmdLineAndEnvUtils.h(349,10):  warning:
> moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
Returning an UniquePtr, will remove std::move().
Also will `return s` instead of `return nullptr` when `(!s)`, to avoid extra construction which could also prevent elision (not entirely sure, but it's at least not worse!); and it's clearer that the two `return`s return the same already-constructed on-stack object.

> tools/profiler/core/shared-libraries-win32.cc(111,10):  warning:
> local variable 'version' will be copied despite being returned by name [-Wreturn-std-move]
nsPrintfCString -> nsCString, will add std::move().

> xpcom/glue/FileUtils.cpp(179,10):  warning:
> local variable 'fullName' will be copied despite being returned by name [-Wreturn-std-move]
> xpcom/glue/FileUtils.cpp(209,10):  warning:
> local variable 'path' will be copied despite being returned by name [-Wreturn-std-move]
nsAuto{,C}String -> ns{,C}String, will add std::move().

This allowed removals of 'AllowCompilerWarnings' from layout/painting,
netwerk/cookie, and toolkit/components/extensions.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 15:51:48 +00:00
Nicolas Silva 6116cd2551 Bug 1489471 - Ensure the renderer gets notified when a WebRender transaction requests a frame. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D5398

--HG--
extra : moz-landing-system : lando
2018-09-10 08:24:58 +00:00
Henri Sivonen 434c47b3cb Bug 1489462 - Avoid writing past the logical length of a string in Oculus library loader. r=kip
* Avoid writing past an XPCOM string's length using BeginWriting().
 * Instead of having a constant for max path length, query the
   Windows API for the length it wants.
 * Avoid using AppendPrintf for mere concatenation using arguments
   that might contain non-ASCII.

MozReview-Commit-ID: 9m7xOHRTB35

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

--HG--
extra : moz-landing-system : lando
2018-09-08 17:23:25 +00:00
Matt Woodrow f4a90435ef Bug 1488980 - Implement StartFrameTimeRecording for WebRender. r=mstange
MozReview-Commit-ID: Ib5t0e8S6df

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

--HG--
extra : moz-landing-system : lando
2018-09-08 18:41:34 +00:00
Masatoshi Kimura 573d020151 Bug 1489664 - Re-enable clang-cl warnings-as-errors in gfx/gl/
--HG--
extra : source : 8b662cd94402c588213578abeb8cb363ad37eb54
2018-09-07 21:12:02 +09:00
Daniel Varga 1539df295b Merge mozilla-inbound to mozilla-central a=merge 2018-09-08 06:53:43 +03:00
Mike Hommey 117e48720c Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5224

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:01 +00:00
Botond Ballo 226a67047c Bug 1489630 - Mark AutoApplyAsyncTestAttributes as MOZ_RAII. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D5306

--HG--
extra : moz-landing-system : lando
2018-09-07 20:12:35 +00:00
Jeff Muizelaar e77d9b4b90 Bug 1479175. Fix missing 'explicit'
CLOSED TREE
2018-09-07 10:53:55 -04:00
Sotaro Ikeda 2ae34d40f4 Bug 1479175 - check if keyed mutex of D3D11Texture2D has been released during recycling. r=bas 2018-09-07 10:12:27 -04:00
Jeff Muizelaar af3661ea41 Bug 1489127. WebRender: Re-generate FFI header 2018-09-07 10:00:09 -04:00
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
Jeff Muizelaar 90f47117c3 Bug 1489511. Update webrender to commit ced27184ede63268f78ab56453e7ee39007826d7 2018-09-10 10:30:45 -04:00
Henrik Winnemöller be01b218cc Bug 1488555 - Use ImageRendering property to provide proper filtering support for AsyncImage. r=nical
Introduce an ImageRendering argument for CreateImageKey which is then used at the CreateAsyncImageWebRenderCommands call to provide the proper filtering instead of using always Auto filtering. Update all calls to CreateImageKey to use the new interface.
2018-09-07 22:28:41 +02: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