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

30822 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack fe196275ba Bug 1489529 - Update comments to no longer point to nsRuleNode. r=emilio
There are a few mentions of nsRuleNode left but they are mostly
historical references so it makes sense to keep them.

Differential Revision: https://phabricator.services.mozilla.com/D5505
2018-09-12 17:37:37 +10:00
Jeff Muizelaar 0b8add99da Bug 1490282. Update webrender to commit 02f14d0f333ef125d1abff7b1146039a0ba75f43 2018-09-12 00:09:43 -04:00
Lee Salzman 907071413e Bug 1486810 - round sizes in blur assertion. r=rhunt 2018-09-11 14:33:45 -04:00
Nicolas Silva 9699c6d4db Bug 1352877 - Clear the compositor map later during shutdown. r=mattwoodrow 2018-09-11 16:50:48 +02:00
Nicolas Silva 645517471b Bug 1352877 - Avoid false negative assertion during shutdown. r=mattwoodrow 2018-09-11 16:50:30 +02:00
Jeff Muizelaar 4c33783129 Bug 1490242. Update webrender to 04d63e7d73b9661d9eb934a0933c8f9751a9a3db 2018-09-11 08:47:29 -04:00
Cosmin Sabou de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
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