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

1723 Коммитов

Автор SHA1 Сообщение Дата
Connor Brewster e68c4f61a8 Bug 1536240 - Add debug option to wrench to output specified shader source r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D33088

--HG--
extra : moz-landing-system : lando
2019-05-30 19:28:10 +00:00
Noemi Erli 02b7a9faeb Backed out 7 changesets (bug 1551735) for build bustages in RenderThread.cpp CLOSED TREE
Backed out changeset aa165d8c181d (bug 1551735)
Backed out changeset e7b857609786 (bug 1551735)
Backed out changeset f2a2396a0d4a (bug 1551735)
Backed out changeset 5891d00fca85 (bug 1551735)
Backed out changeset 2e6ca6d6c527 (bug 1551735)
Backed out changeset 3b2078f90715 (bug 1551735)
Backed out changeset a516d20303e6 (bug 1551735)
2019-05-30 23:10:21 +03:00
Barret Rennie 969a6a61ea Bug 1551735 - Clearly document the case of the RendererOGL receiving a new WebRenderCompositionRecorder while it has one r=kats
Differential Revision: https://phabricator.services.mozilla.com/D32356

--HG--
extra : moz-landing-system : lando
2019-05-29 21:53:44 +00:00
Barret Rennie 69f79b959b Bug 1551735 - Record compositions in Web Render r=kats
Now that we have a suitable composition recorder infrastructure, it is just a
matter of plumbing the `WebRenderCompositionRecorder` from the
`CompositorBridgeParent` to the `RenderThread` to start recording frames.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 23:05:54 +00:00
Barret Rennie 75ce1caae2 Bug 1551735 - Add a thread-safe composition recorder for WebRender r=kvark,kats
Since WebRender does its rendering on a separate thread from the compositor
thread, we need a composition recorder that can be shared between threads.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 13:06:43 +00:00
Barret Rennie 49e2a2721c Bug 1551735 - Expose bindings to the Renderer's composition recorder structures r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D32233

--HG--
extra : moz-landing-system : lando
2019-05-29 21:52:57 +00:00
sotaro 5e274cc3e6 Bug 1554952 - Remove function pointers from WrExternalImageHandler r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D32813

--HG--
extra : moz-landing-system : lando
2019-05-29 20:50:13 +00:00
sotaro acbc3518d5 Bug 1554091 - Remove WrExternalImageBufferType r=jrmuizel
If ExternalImageType is just passed from C to rust, it caused crash on non-Windows platform. It was caused by stack corruption. Then &ExternalImageType is used instead of ExternalImageType to bypass the problem.

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

--HG--
extra : moz-landing-system : lando
2019-05-28 22:03:54 +00:00
Jean-Yves Avenard 04a34db033 Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
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
2019-05-26 14:29:42 +00:00
Jean-Yves Avenard 38a4c733c3 Bug 1554438 - P2. Only shutdown thread if it was started. r=sotaro
It is theorically possible that the WinCompositorWindowThread failed to start. Should this happen, attempting to shut it down will cause shutdown to hang forever.

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

--HG--
extra : moz-landing-system : lando
2019-05-26 02:17:10 +00:00
Sylvestre Ledru d57d4905f1 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-25 17:46:15 +00:00
Bastien Orivel 998c4ce860 Bug 1554401 - Part 1: Update dwrote to 0.9. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D32567

--HG--
extra : moz-landing-system : lando
2019-05-25 17:08:40 +00:00
Kenny Levinsen ed7d5b2663 Bug 1548499 - Set EGL context before call to eglSwapInterval. r=sotaro
The EGL context must be set before the call to eglSwapInterval to ensure that it will operate on the correct context.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 06:06:12 +00:00
Gurzau Raul 967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
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)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard af5790cf9b Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
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
2019-05-25 00:03:32 +00:00
Barret Rennie a71ef09a3f Bug 1547472 - Ref count the ProfilerScreenshots structure r=gerald,jesup
Differential Revision: https://phabricator.services.mozilla.com/D32524

--HG--
extra : moz-landing-system : lando
2019-05-24 23:53:28 +00:00
arthur.iakab af8e458c5f Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
Sylvestre Ledru c82ea97226 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-05-24 09:59:17 +00:00
Gurzau Raul 74c555539e 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)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard 2c0ce1b3ca Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
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
2019-05-22 12:43:42 +00:00
Jamie Nicol 94cf690698 Bug 1531142 - Avoid excessive glyph rasterization when pinch zooming. r=gw,kats
When pinch zooming webrender would re-rasterize glyphs for each tiny
difference in zoom level. This takes time in itself, but also causes
the texture cache to grow incredibly large, to the point where
resizing it to make room for more glyphs takes far too much time.

This patch avoids this by rounding the size at which glyphs are
rasterized whilst pinch zooming. To do this we add a FrameMsg which
APZ uses to tell webrender whether a spatial node is being pinch
zoomed. Then during frame building if a spatial node is being pinch
zoomed we override the raster space of its corresponding picture.

The chosen raster space is the current zoom level rounded up to the
nearest power of two, but not exceeding 8x. This seems to be a good
balance between quality and performance, though at high zoom levels
the cache still does grow very large due to the size of the glyphs.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 20:13:34 +00:00
sotaro f1e8518196 Bug 1551792 - Add override to RenderCompositorANGLE::UseTripleBuffering() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D31194

--HG--
extra : moz-landing-system : lando
2019-05-15 16:32:25 +00:00
sotaro 5195dc0de7 Bug 1551392 - Remove RenderThread::DecPendingFrameCount() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D31021

--HG--
extra : moz-landing-system : lando
2019-05-14 07:18:03 +00:00
Nicolas Silva 92e099dc31 Bug 1536021 - Gecko side changes. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D30618

--HG--
extra : source : d9c8971de6ad11a2f5c4331775c2d17c98a12b7e
extra : intermediate-source : b0fc3130f34b72fe01230ae0b231131111a9a9f1
2019-05-10 22:13:31 +02:00
Alexis Beingessner ac602e64ff Bug 1546018 - parent the legend clip chains. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D29528

--HG--
extra : moz-landing-system : lando
2019-05-01 17:35:44 +00:00
Kartikaya Gupta 3ff9de1d05 Bug 1547097 - Get snapshots in RGBA8 instead of BGRA8 on Android. r=jnicol
BGRA may not be supported on GLES implementations, such as on the
Pixel 2 device. Since WR on Android uses GLES, we should use RGBA
when getting snapshots so that it actually works instead of failing
silently.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 17:49:30 +00:00
Kartikaya Gupta 140fb1c366 Bug 1547097 - Remove ReadPixelsFormat. r=kvark
The Rgba8 enum value is redundant with the Standard(ImageFormat::RGBA8) value,
this patch collapses the former into the latter. Which then makes the entire
ReadPixelsFormat redundant, so we can get rid of it completely.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 17:43:41 +00:00
Sylvestre Ledru 96da5036ad Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-28 09:30:05 +00:00
Razvan Maries 362e2e424d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-04-26 19:08:00 +03:00
Nicolas Silva addfd5a0ba Bug 1533545 - Register thread local arenas in WebRender worker threads. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D27671
2019-04-26 09:49:15 +02:00
sotaro 00fa00cad3 Bug 1544642 - Do not bind SurfaceTexture of video to gl context if it is used by WebGL r=nical
GeckoSurfaceTexture could bind to only one GL context at once. With WebRender, GeckoSurfaceTexture is soon bounded to sharedGL on render thread. It caused the problem if GeckoSurfaceTexture is rendered to WebGL. It could happen only for video's GeckoSurfaceTexture. To avoid the problem, the GeckoSurfaceTexture is bound to gl context when it is actually rendered on WebRender.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 07:48:54 +00:00
Kartikaya Gupta a771e03566 Bug 1542826 - Add a pref to control the debug server. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28358

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:11 +00:00
Kartikaya Gupta 26da9a6c9e Bug 1542826 - Expose a mozconfig flag to build the WR debugger feature. r=gw,froydnj
We can't yet enable the build by default since it pulls in networking functions
into libgkrust which runs afoul of the checks added in bug 1376621.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:31:16 +00:00
Gurzau Raul 71e35400ef Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-25 19:30:38 +03:00
Dzmitry Malyshau 681ee8a0d0 Bug 1546371 - Switch render backend and API away from FramebufferPixel r=gw
The gist of the problem I introduced with the framebuffer coordinate system is that we provided the window rect (effectively) twice:
  1. when computing the document rectangle (and Y-inverting it)
  2. when rendering

If between these points the window got resized (during scene building), we end up with our document aligned to bottom left corner.
The user expects content to still be aligned to the top left, so that's what is visible as a bug.

The change here switched scene building to only care about device coordinate space, restraining the framebuffer coordinates to be mostly
an implementation detail of the renderer/device (the way it was originally meant to be, when introduced). This way the current window size
is only considered once during rendering.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:02:47 +00:00
Razvan Maries 5f610a07b3 Backed out 8 changesets (bug 1542826) for build bustages. CLOSED TREE
Backed out changeset f3516e1416f0 (bug 1542826)
Backed out changeset 1dba743761b7 (bug 1542826)
Backed out changeset a02e469be7b3 (bug 1542826)
Backed out changeset 5118d628ec89 (bug 1542826)
Backed out changeset 5744891efeef (bug 1542826)
Backed out changeset e5af8cd01080 (bug 1542826)
Backed out changeset 314f9bc7dafe (bug 1542826)
Backed out changeset 7df230ea5122 (bug 1542826)
2019-04-23 23:14:06 +03:00
Kartikaya Gupta 0404d750a7 Bug 1542826 - Add a pref to control the debug server. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D28358

--HG--
extra : moz-landing-system : lando
2019-04-23 19:57:27 +00:00
Kartikaya Gupta 8adfe9b131 Bug 1542826 - Build the debugger feature in webrender by default. r=gw
This builds the feature but leaves it disabled by default at runtime.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 19:55:20 +00:00
Alexis Beingessner 8289701d8c Bug 1536121 - rearchitect the webrender display-list. r=gw
disclaimer: this isn't an *amazing* cleanup, but more of a major step that
unlocks the ability to do more minor cleanups and refinements. There's some
messy things and inconsistencies here and there, but we can hopefully iron
them out over time.

1. The primary change here is to move from
    struct { common_fields, enum(specific_fields) }
to
    enum (maybe_common_fields, specific_fields)

most notably this drops the common fields from a ton of things
that don't need them PopXXX, SetXXX, ClipChain, etc.

2. Additionally some types have had some redundant states shaved off,
for instance, rect no longer has *both* bounds and a clip_rect, as
the intersection of the two can be used. This was done a bit conservatively
as some adjustments will need to be done to the backend to fully eliminate
some states, and this can be done more incrementally.

2.5. As a minor side-effect of 2, we now early-reject some primitives whose
bounds and clip_rect are disjoint.

3. A HitTest display item has been added, which is just a Rect without
color. In addition to the minor space wins from this, this makes it much
easier to debug display lists

4. Adds a bunch of comments to the display list, making it easier to understand
things.

The end result of all these changes is a significantly smaller and easier to
understand display list. Especially on pages like gmail which have so many
clip chains. However this ultimately just makes text an even greater percentage
of pages (often 70-80%).

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

--HG--
extra : moz-landing-system : lando
2019-04-23 17:29:58 +00:00
Dorel Luca 0caaab0f1e Backed out 2 changesets (bug 1536121) for Reftest failures
Backed out changeset 0fc395a2ac71 (bug 1536121)
Backed out changeset 430032511561 (bug 1536121)

--HG--
extra : rebase_source : 95c710b24ec5b76da20ddb5573036c8c73873e9e
2019-04-23 10:05:14 +03:00
Alexis Beingessner ee4e394f45 Bug 1536121 - rearchitect the webrender display-list. r=gw
disclaimer: this isn't an *amazing* cleanup, but more of a major step that
unlocks the ability to do more minor cleanups and refinements. There's some
messy things and inconsistencies here and there, but we can hopefully iron
them out over time.

1. The primary change here is to move from
    struct { common_fields, enum(specific_fields) }
to
    enum (maybe_common_fields, specific_fields)

most notably this drops the common fields from a ton of things
that don't need them PopXXX, SetXXX, ClipChain, etc.

2. Additionally some types have had some redundant states shaved off,
for instance, rect no longer has *both* bounds and a clip_rect, as
the intersection of the two can be used. This was done a bit conservatively
as some adjustments will need to be done to the backend to fully eliminate
some states, and this can be done more incrementally.

2.5. As a minor side-effect of 2, we now early-reject some primitives whose
bounds and clip_rect are disjoint.

3. A HitTest display item has been added, which is just a Rect without
color. In addition to the minor space wins from this, this makes it much
easier to debug display lists

4. Adds a bunch of comments to the display list, making it easier to understand
things.

The end result of all these changes is a significantly smaller and easier to
understand display list. Especially on pages like gmail which have so many
clip chains. However this ultimately just makes text an even greater percentage
of pages (often 70-80%).

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

--HG--
extra : moz-landing-system : lando
2019-04-23 02:32:50 +00:00
Sylvestre Ledru a1dce6440a Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Nicolas Silva 886eba5227 Bug 1533545 - Backout because of build bustage on a CLOSED TREE. r=me 2019-04-24 21:01:23 +02:00
Nicolas Silva 07fb863bc2 Bug 1533545 - Limit the number of WebRender Workers to 8. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27651

--HG--
extra : source : 7ea6ff1a401547ba07a101d41f05e261a3cf0fcc
extra : intermediate-source : 577f702d4d95abedc0d48cec89d4293184698052
2019-04-24 20:29:42 +02:00
Nicolas Silva 819cd2d6b6 Bug 1533545 - Register thread local arenas in WebRender worker threads. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D27671

--HG--
extra : source : de858335611d112735d98a9181a0c4a2904c44e9
extra : intermediate-source : 62d35385f2e4eb0c987b92f47f974cb35a0e9b85
2019-04-16 14:28:05 +02:00
Oana Pop Rus c6b6e59f21 Backed out 2 changesets (bug 1533545) for build bustages at build/src/gfx/webrender_bindings/WebRenderAPI.cpp on a CLOSED TREE
Backed out changeset d0260a2dac6c (bug 1533545)
Backed out changeset 76927efc43f5 (bug 1533545)
2019-04-24 15:21:49 +03:00
Nicolas Silva b78ebe3262 Bug 1533545 - Limit the number of WebRender Workers to 8. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27651

--HG--
extra : source : 7ea6ff1a401547ba07a101d41f05e261a3cf0fcc
extra : intermediate-source : 1d318222de1dc2d7f56abbbef4a611088995373a
2019-04-23 22:41:17 +02:00
Nicolas Silva e0434629cb Bug 1533545 - Register thread local arenas in WebRender worker threads. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D27671

--HG--
extra : source : de858335611d112735d98a9181a0c4a2904c44e9
extra : intermediate-source : bc2d6d670378d7b36afeafea66432aa1b49fb66b
2019-04-16 14:28:05 +02:00
Alexis Beingessner f0249aaaa2 Bug 1544895 - when suspending ClipLeafMerging, parent to the clip_chain and not the clip. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27819

--HG--
extra : moz-landing-system : lando
2019-04-18 13:03:26 +00:00
Kartikaya Gupta b8921f9d15 Bug 1536487 - Use a RenderRootSet instead of nsTArray<RenderRoot>. r=dthayer
The array takes up more space than a bitset, and we don't need to keep
duplicates anyway, so the set doesn't lose us anything.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 15:12:10 +00:00
Nicolas Silva bd2c8b86cd Bug 1544374 - Make FilterOp not copy. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D27480

--HG--
extra : moz-landing-system : lando
2019-04-16 07:43:04 +00:00
sotaro b3d89e4d54 Bug 1543560 - Move NotifyWebRenderError() to CompositorManagerParent r=nical
NotifyWebRenderError is sent via CompositorBridgeParent/CompositorBridgeChild. It is not good, since they are re-created for each nsBaseWidget::CreateCompositorSession() call. Then there could be a case that the NotifyWebRenderError is not notified to GPUProcessManager and a crash was caused by NotifyWebRenderError message during ipc close.  CompositorManagerParent/CompositorManagerChild are stable for sending NotifyWebRenderError.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:45:00 +00:00
Alexis Beingessner b4a27bb58d Bug 1412179 - implement fieldsets with nonempty legends. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27350

--HG--
extra : moz-landing-system : lando
2019-04-15 23:16:13 +00:00
Alexis Beingessner 99e4403911 Bug 1529992 - disable the MergeClipLeaf optimization for all shadows properly. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27114

--HG--
extra : moz-landing-system : lando
2019-04-15 23:13:49 +00:00
Doug Thayer 066df32bb7 Bug 1538710 - Add WR API endpoint for sending multiple transactions r=nical
We discussed this a bit in Orlando. Essentially, we want to run cleanup
operations in texture_cache before all documents' frames, and then be
able to ensure that every document generates a frame, because otherwise
we will run into problems with evicted cache items used by non-updating-
but-still-rendering documents. Accordingly, we need an endpoint to
lump all of the transactions that generate frames together. This adds
that and builds out all of the plumbing necessary.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 22:34:13 +00:00
Daniel Varga e452ed972c Backed out 2 changesets (bug 1529992) for reftest failure at http://10.0.2.2:8854/tests/layout/reftests/bugs/1529992-1.html == http://10.0.2.2:8854/tests/layout/reftests/bugs/1529992-1-ref.html. On a CLOSED TREE
Backed out changeset 87b64e169b1b (bug 1529992)
Backed out changeset ddf29d68efb2 (bug 1529992)
2019-04-15 23:22:29 +03:00
Daniel Varga bf8c3286c2 Backed out 4 changesets (bug 1538710) for webrender-lint
Backed out changeset 6f3f506c7740 (bug 1538710)
Backed out changeset 1a529f967061 (bug 1538710)
Backed out changeset afa5cc2c6032 (bug 1538710)
Backed out changeset ab2083ff97f4 (bug 1538710)
2019-04-15 23:18:19 +03:00
Doug Thayer 3efeb79ae5 Bug 1538710 - Add WR API endpoint for sending multiple transactions r=nical
We discussed this a bit in Orlando. Essentially, we want to run cleanup
operations in texture_cache before all documents' frames, and then be
able to ensure that every document generates a frame, because otherwise
we will run into problems with evicted cache items used by non-updating-
but-still-rendering documents. Accordingly, we need an endpoint to
lump all of the transactions that generate frames together. This adds
that and builds out all of the plumbing necessary.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 18:56:04 +00:00
Alexis Beingessner d1cb43b8ac Bug 1529992 - disable the MergeClipLeaf optimization for all shadows properly. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27114

--HG--
extra : moz-landing-system : lando
2019-04-15 17:25:34 +00:00
sotaro 61d191f94b Bug 1543846 - Call GeckoSurfaceTexture::UpdateTexImage() at correct timing during video callback in RenderAndroidSurfaceTextureHostOGL r=nical
During playing a video, one GeckoSurfaceTexture is used for all RenderAndroidSurfaceTextureHostOGLs of the video. GeckoSurfaceTexture owns multiple buffers. UpdateTexImage() needs to be called at the correct timing for adjusting SurfaceTexture's buffer status.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 09:51:59 +00:00
Coroiu Cristina 3b2b29f924 Backed out changeset fd5cb917b6eb (bug 1412179) for Wr failures at /html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-vertical.html 2019-04-13 11:04:15 +03:00
Alexis Beingessner 3d93741fa9 Bug 1412179 - implement fieldsets with nonempty legends. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27350

--HG--
extra : moz-landing-system : lando
2019-04-12 18:56:19 +00:00
sotaro 1df1c7709c Bug 1507078 - Add mContinuousUpdate handling to RenderAndroidSurfaceTextureHostOGL r=nical
When mContinuousUpdate is true, UpdateTexImage() needs to be called for each rendering.

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

--HG--
extra : moz-landing-system : lando
2019-04-12 16:58:36 +00:00
Martin Stransky 32886489bf Bug 1535893 - Use SharedGL in RenderCompositorEGL on wayland, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D26800

--HG--
extra : moz-landing-system : lando
2019-04-12 08:08:03 +00:00
Jean-Yves Avenard d91ea6eb87 Bug 1540581 - P9. Add R16G16 type and update of P010/P016 resource update. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D26464

--HG--
extra : moz-landing-system : lando
2019-04-11 12:37:23 +00:00
Jean-Yves Avenard 11ac9e9cf8 Bug 1540581 - P6. Tidy some C++ declarations in gfx/. r=gerald,jrmuizel
* Remove redundant virtual keywords
* Mark all destructors of inheriting classes as virtual for clarity
* Mark all classes without virtual destructor as final (exposed errors)
* Make destructor virtual where it needed to be (some were missing)
* Replace empty ({}) code declaration in header with = default
* Remove virtual unused methods

I probably missed some, it quickly became a rabbit hole.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 12:36:51 +00:00
Jean-Yves Avenard 3ae43eb506 Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow.
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
2019-04-11 12:41:33 +00:00
Jean-Yves Avenard c6e2001c75 Bug 1493898 - P1. Add preliminary BT2020 colorspace support. r=mattwoodrow
Only active with webrender and AL.

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

--HG--
extra : moz-landing-system : lando
2019-04-11 12:40:40 +00:00
sotaro f078e63789 Bug 1515448 - Set eglSwapInterval to 0 on wayland r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D20126

--HG--
extra : moz-landing-system : lando
2019-04-09 11:01:04 +00:00
Dorel Luca d0e6f0880f Backed out 3 changesets (bug 1538710) for Wrench bustage. CLOSED TREE
Backed out changeset 9a80bc4d626a (bug 1538710)
Backed out changeset f5f916011032 (bug 1538710)
Backed out changeset 585b51bba30d (bug 1538710)
2019-04-08 19:09:49 +03:00
Doug Thayer 33295b9e8b Bug 1538710 - Add WR API endpoint for sending multiple transactions r=nical
We discussed this a bit in Orlando. Essentially, we want to run cleanup
operations in texture_cache before all documents' frames, and then be
able to ensure that every document generates a frame, because otherwise
we will run into problems with evicted cache items used by non-updating-
but-still-rendering documents. Accordingly, we need an endpoint to
lump all of the transactions that generate frames together. This adds
that and builds out all of the plumbing necessary.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 15:23:20 +00:00
sotaro 817c9ec8c9 Bug 1529870 - Add handling of single buffer mode android SurfaceTexture r=nical
When SurfaceTexture is single buffer mode, UpdateTexImage() should be called only once for each publish. If UpdateTexImage() is called more than once, it causes hand on puglish side.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 22:05:27 +00:00
Alex Gaynor 30889844e7 Bug 1540897 - make the ByteSlice APIs in webrender's bindings fully sound; r=brennie
Differential Revision: https://phabricator.services.mozilla.com/D25788

--HG--
extra : moz-landing-system : lando
2019-04-03 02:39:53 +00:00
sotaro c36e993de9 Bug 1541145 - Use (1.0, 1.0, 1.0, 1.0) as clear clolor on android r=kats
wr_window_new() uses (0.0, 0.0, 0.0, 1.0) and (0.0, 0.0, 0.0, 0.0) as clear color. Then it makes rendering black until a content of webrender comes. By changing clear color to (1.0, 1.0, 1.0, 1.0), we could suppress black flashing.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 19:51:16 +00:00
sotaro e64563ea54 Bug 1532201 - Enable SurfaceFactory_EGLImage usage with WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D24668

--HG--
extra : moz-landing-system : lando
2019-04-02 03:16:20 +00:00
arthur.iakab 97cc18f3c6 Backed out changeset 48d248c9f5fd (bug 1532201) for causing multiple build bustages on TextureHostOGL.cpp CLOSED TREEE 2019-04-02 02:36:51 +03:00
sotaro 572a63549a Bug 1532201 - Enable SurfaceFactory_EGLImage usage with WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D24668

--HG--
extra : moz-landing-system : lando
2019-04-01 22:07:47 +00:00
sotaro 6510aded8d Bug 1539729 - Disable RenderCompositorOGL usage on android r=nical
On android, we want to use only RenderCompositorEGL for using sharedGL. Further RenderCompositorOGL does not work well with android SurfaceTexture.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:58:05 +00:00
Jeff Gilbert 758e836333 No bug - clang-format -p gfx 2019-03-29 23:41:48 -07:00
sotaro 2f9999a07a Bug 1539732 - Release unnecessary GeckoSurfaceTexture resource at RenderCompositorEGL r=jnicol
Bug 1416015 and Bug 1470348 added function calls for CompositorOGL. Similar things needs to be done for RenderCompositorEGL.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:36:05 +00:00
Kartikaya Gupta 4f62584409 Bug 1535029 - Change the viewport size passed to TransactionBuilder::SetDisplayList to a wr::LayoutSize. r=dthayer
The receiver of this parameter treats it as a layout size, so it doesn't
make sense for the argument to be a LayerSize partway through the call
chain. Also the callers originally get this from a LayoutDevice rect;
so there's even less reason for this to be turned into a LayerSize. The
next patch will propagate this cleanup more.

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

--HG--
extra : moz-landing-system : lando
2019-03-28 16:38:01 +00:00
Barret Rennie 6e284e1063 Bug 1444434 - Free the Gecko profiler screenshots structures in the WebRender renderer when profiling stops r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23964

--HG--
extra : moz-landing-system : lando
2019-03-28 14:51:49 +00:00
Barret Rennie 0aac558507 Bug 1444434 - Submit screenshots to the Gecko profiler from WebRender r=kvark,mstange
Differential Revision: https://phabricator.services.mozilla.com/D23963

--HG--
extra : moz-landing-system : lando
2019-03-28 14:51:40 +00:00
Barret Rennie 6131c4dbab Bug 1444434 - Add C bindings to the Renderer::get_screenshot_async and Renderer::map_and_recycle_screenshot APIs r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23962

--HG--
extra : moz-landing-system : lando
2019-03-28 14:51:32 +00:00
Dzmitry Malyshau 44c0bfd046 Bug 1528674 - WR improve picture texture cache allocaton r=gw
The change contains a number of incremental improvements with the main goal of:
  - allocating exactly as many tile as required by the app
  - respecting the picture caching option

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

--HG--
extra : moz-landing-system : lando
2019-03-28 03:02:45 +00:00
Kartikaya Gupta 6df22de302 Bug 1538768 - Also zero-initialize primitive types in NonDefaultRenderRootArray. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D24951

--HG--
extra : moz-landing-system : lando
2019-03-27 11:11:14 +00:00
Kartikaya Gupta b4b306f879 Bug 1538768 - Ensure that RenderRootArray<bool> is properly initialized to false on creation. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D24950

--HG--
extra : moz-landing-system : lando
2019-03-27 11:16:52 +00:00
Cosmin Sabou d3aa170d5a Backed out changeset bbb6a31ebf07 (bug 1528674) for webrender crashtests and reftests failures.
--HG--
extra : rebase_source : 083b18e419d18de6a13d7a22e482f995adee1b00
2019-03-27 02:15:39 +02:00
Coroiu Cristina c1e4fdf4a6 Backed out 6 changesets (bug 1444434) for build bustages on a CLOSED TREE
Backed out changeset 13c0d857bf3c (bug 1444434)
Backed out changeset d2c85db549ea (bug 1444434)
Backed out changeset 543708a1f683 (bug 1444434)
Backed out changeset af008ed0a5c2 (bug 1444434)
Backed out changeset ec2a81eea388 (bug 1444434)
Backed out changeset 0bcf6edc8656 (bug 1444434)
2019-03-26 23:43:17 +02:00
Dzmitry Malyshau 5e158608bc Bug 1528674 - WR improve picture texture cache allocaton r=gw
The change contains a number of incremental improvements with the main goal of:
  - allocating exactly as many tile as required by the app
  - respecting the picture caching option

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

--HG--
extra : moz-landing-system : lando
2019-03-26 21:18:09 +00:00
Barret Rennie b8fcd696e6 Bug 1444434 - Free the Gecko profiler screenshots structures in the WebRender renderer when profiling stops r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23964

--HG--
extra : moz-landing-system : lando
2019-03-21 19:30:34 +00:00
Barret Rennie 0bbd0a6539 Bug 1444434 - Submit screenshots to the Gecko profiler from WebRender r=kvark,mstange
Differential Revision: https://phabricator.services.mozilla.com/D23963

--HG--
extra : moz-landing-system : lando
2019-03-26 18:33:19 +00:00
Barret Rennie 02072d330d Bug 1444434 - Add C bindings to the Renderer::get_screenshot_async and Renderer::map_and_recycle_screenshot APIs r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23962

--HG--
extra : moz-landing-system : lando
2019-03-21 19:09:22 +00:00
Doug Thayer a794a12c8c Bug 1441308 - Always send parent commands when sending mDestroyedActors r=kats,sotaro
If we try to send them separately as we were before, we can run into
cases where we try to destroy the actors and then send the OpRemoveTexture,
which crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:29:04 +00:00
Doug Thayer b172543596 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 18:28:42 +00:00
Ciure Andrei 3de853018a Backed out 7 changesets (bug 1441308)for causing webrender build bustages CLOSED TREE
Backed out changeset 1764701d11d1 (bug 1441308)
Backed out changeset 32f7793dfd1a (bug 1441308)
Backed out changeset d8b4d6ec9b40 (bug 1441308)
Backed out changeset e2f83e4816dd (bug 1441308)
Backed out changeset baee8ada680f (bug 1441308)
Backed out changeset c09a51622e98 (bug 1441308)
Backed out changeset 737807563dd5 (bug 1441308)
2019-03-22 10:52:44 +02:00
Doug Thayer 278c2303da Bug 1441308 - Always send parent commands when sending mDestroyedActors r=kats,sotaro
If we try to send them separately as we were before, we can run into
cases where we try to destroy the actors and then send the OpRemoveTexture,
which crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:15:42 +00:00
Doug Thayer 5b3a0454a4 Bug 1441308 - Core renderroot splitting changes r=kats,sotaro
This is a large patch that contains all of the core changes for
renderroot splitting.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 03:15:14 +00:00
Glenn Watson 8452fc14bc Bug 1536732 - Add experimental pixel-local-storage render path to WR r=kvark
Add an experimental code path that makes use of the pixel local
storage extension available on many mobile GPUs.

This code path is currently disabled by default, as the support
is not complete for all primitives and blend modes. The initial
aim is to get feature parity with the existing renderer.

Once that's complete, we can take advantage of the (minimum)
12 bytes per pixel of high speed on-tile memory to store custom
data.

Clip masks are a good use case for this, since they map 1:1 with
the position of the fragment they are clipping. Using this for
clip masks allows us to handle clipping on mobile GPUs in a much
more efficient way - we can skip (a) separate render targets,
(b) target resolve (c) sample the mask texture during rendering.

Depends on D24123

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

--HG--
extra : moz-landing-system : lando
2019-03-21 02:59:04 +00:00
Barret Rennie 36cd17958e Bug 1444434 - Bump webrender and webrender_bindings gleam dependency to 0.6.14 r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23958

--HG--
extra : moz-landing-system : lando
2019-03-20 19:52:53 +00:00
sotaro 4649e87987 Bug 1532929 - Use SharedGL on android r=nical
RenderCompositorEGL is also used on wayland, but SharedGL is not enabled on wayalnd. Since SharedGL caused flickering, when multiple windows were opened on wayland.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 11:51:33 +00:00
sotaro 830d52b3e8 Bug 1536002 - Add SharedGL check in RenderCompositorANGLE::Create() r=nical
Differential Revision: https://phabricator.services.mozilla.com/D23824

--HG--
extra : moz-landing-system : lando
2019-03-20 11:52:26 +00:00
Bobby Holley c492c0fe0f Bug 1535745 - Eliminate gfx.webrender.program-binary. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D23731

--HG--
extra : moz-landing-system : lando
2019-03-16 00:31:38 +00:00
Sylvestre Ledru 4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Dzmitry Malyshau 7f7b9d9668 Bug 1527325 - Don't re-export contents of WR API units r=gw
The cleans up our WR use statements further, easying the merge conflicts.
Note: this PR is subject to instant rot, it is preferred to land quickly.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 01:44:05 +00:00
Gurzau Raul fc5efa3bc0 Backed out changeset 950174a8c708 (bug 1527325) for wrench failures on a CLOSED TREE. 2019-03-14 00:56:55 +02:00
Dzmitry Malyshau 5136f1e520 Bug 1527325 - Don't re-export contents of WR API units r=gw
The cleans up our WR use statements further, easying the merge conflicts.
Note: this PR is subject to instant rot, it is preferred to land quickly.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 19:30:56 +00:00
sotaro 2c65d7229c Bug 1532949 - Bug 1532024 - Explicityly create headless context for webrender in RenderCompositorEGL r=jgilbert
On Wayland with WebRender, RenderCompositorEGL creates headless context by using GLContextProviderEGL::CreateForCompositorWidget(), since GetNativeData(NS_NATIVE_EGL_WINDOW) returns nullptr. But we want to make hadless explicitly. But GLContextProviderEGL::CreateHeadless() and GLContextEGL::CreateEGLPBufferOffscreenContext() could not be used for it. They creates incompatible EGLConfig to egl window. Then we extends GLContextProviderEAGL::CreateForCompositorWidget() to handle this case. When CreateForCompositorWidget() receives null widget, it creates GLContext without surface of egl window.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 00:17:01 +00:00
Jeff Muizelaar 738abee653 Bug 1524090. Add telemetry for GPU wait time. r=mattwoodrow,chutten
Differential Revision: https://phabricator.services.mozilla.com/D22100

--HG--
extra : moz-landing-system : lando
2019-03-13 02:34:04 +00:00
Narcis Beleuzu b72a1a06b5 Backed out changeset 5b73beb33ff1 (bug 1524090) as per jmuizelaar`s req. CLOSED TREE 2019-03-12 21:27:46 +02:00
Jeff Muizelaar 96e163c84f Bug 1524090. Add telemetry for GPU wait time. r=mattwoodrow,chutten
Differential Revision: https://phabricator.services.mozilla.com/D22100

--HG--
extra : moz-landing-system : lando
2019-03-05 21:35:33 +00:00
sotaro c046c7a430 Bug 1531294 - Fix RecvEmptyTransaction() as to handle WebRenderTextureHostWrapper usage case
By Bug 1526213, WebRenderBridgeParent::RecvEmptyTransaction() does not handle a case that resource update is handled by WebRenderTextureHostWrapper. In this case, txn.IsResourceUpdatesEmpty() became true and the function thought there was no resource update and the function returned DidComposite soon to client side. Then it caused a heavy over production of SharedSurface_ANGLEShareHandle if GPU is not powerful.

Differential Revision: https://phabricator.services.mozilla.com/D22454
2019-03-12 21:48:34 +09:00
Dorel Luca d16991b48d Backed out changeset ec39fd695adb (bug 1531294) for webrender failures 2019-03-12 05:33:33 +02:00
sotaro ed7384e097 Bug 1531294 - Fix RecvEmptyTransaction() as to handle WebRenderTextureHostWrapper usage case r=mattwoodrow
By Bug 1526213, WebRenderBridgeParent::RecvEmptyTransaction() does not handle a case that resource update is handled by WebRenderTextureHostWrapper. In this case, txn.IsResourceUpdatesEmpty() became true and the function thought there was no resource update and the function returned DidComposite soon to client side. Then it caused a heavy over production of SharedSurface_ANGLEShareHandle if GPU is not powerful.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 23:05:58 +00:00
Bobby Holley af5a99b2ad Bug 1532810 - Report long-running GL calls to the profiler. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D22202
2019-03-08 13:34:49 -08:00
shindli b483c4a572 Backed out 3 changesets (bug 1532810) for wrench bustages CLOSED TREE
Backed out changeset 866b6d9949a8 (bug 1532810)
Backed out changeset 1cb006402562 (bug 1532810)
Backed out changeset 24b9ae45e4fa (bug 1532810)
2019-03-08 19:41:32 +02:00
Bobby Holley c1cbf37e13 Bug 1532810 - Report long-running GL calls to the profiler. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D22202
2019-03-08 09:16:50 -08:00
Emilio Cobos Álvarez cb19991fd7 Bug 1533142 - Use more cbindgen features. r=kats
We can get back the fancy flag syntax as soon as we get C++17 inline variables,
which I sent an email to dev-platform@ about, with no reply.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:01:11 +00:00
sotaro 81c5f1f2b3 Bug 1532942 - Use EGLConfig as argument of CreateEGLSurfaceForCompositorWidget() r=jgilbert
EGLConfig could be get from GLContextEGL. It is better to use it than re-creating EGLConfig.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 19:00:38 +00:00
Jeff Muizelaar 70f8b5c221 Bug 1532088. Use ImageMask directly instead of duplicating it as WrImageMask. r=kats
WrImageMask is a relic from before we had good bindings generation.

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

--HG--
extra : moz-landing-system : lando
2019-03-02 21:48:06 +00:00
Dzmitry Malyshau 79ad259c7c Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical
The goal of this change was to simplify the semantics of our document placement and split the logical elements inside (display list) from the actual screen rectangle occupied by a document.
To achieve that, we introduce the framebuffer space for things Y-flipped on screen.
We fix the frame outputs, so that they get produced on the first frame without loopback from the frame building to scene building.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 17:16:59 +00:00
Csoregi Natalia b2672c85cf Backed out changeset 93f7dc3084a1 (bug 1531217) for wrench failures. CLOSED TREE 2019-03-01 18:48:30 +02:00
Dzmitry Malyshau a8d4f45a20 Bug 1531217 - Document origin rewrite and framebuffer coordinates r=gw,nical
The goal of this change was to simplify the semantics of our document placement and split the logical elements inside (display list) from the actual screen rectangle occupied by a document.
To achieve that, we introduce the framebuffer space for things Y-flipped on screen.
We fix the frame outputs, so that they get produced on the first frame without loopback from the frame building to scene building.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 14:25:36 +00:00
Gurzau Raul 6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
sotaro bb1cae8db3 Bug 1531300 - Handle multiple moz_container_unmap_wayland()/moz_container_map_wayland() r=stransky
Bug 1527804 did not expect multiple moz_container_unmap_wayland()/moz_container_map_wayland() calls. inital_draw_cb should not be cleared in multiple moz_container_unmap_wayland().

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

--HG--
extra : moz-landing-system : lando
2019-02-28 13:33:02 +00:00
Glenn Watson fde9185d49 Bug 1530915 - Change external scroll offset to be a vector. r=emilio
Change the external scroll offset to be a vector, rather than a
point. This can also be updated gecko-side in future, but for
now is converted to a vector at the API boundary.

Also plumb through the external scroll offset so that it is stored
inside the ScrollFrameInfo in a spatial node. This will allow
modifying the transforms that the clip-scroll tree creates to
take into account the external scroll offset in future.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 05:26:50 +00:00
Kartikaya Gupta 41138306e0 Bug 1527807 - Disable subpixel AA on Android. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D21269

--HG--
extra : moz-landing-system : lando
2019-02-26 21:39:07 +00:00
Timothy Nikkel 02ac32975f Bug 1505871. Implement the necessary things for interning of filter data. r=gw 2019-02-26 00:16:36 -06:00
Timothy Nikkel f39f60fa91 Bug 1505871. Write component transfer filter data into the webrender display list bitstream. r=jrmuizel
The format for stacking contexts in the built display list goes from

PushStackingContext item
push_iter of Vec<FilterOp>

to

SetFilterOps item
push_iter of Vec<FilterOp>
1st SetFilterData item
push_iter of array of func types
push_iter funcR values
push_iter funcG values
push_iter funcB values
push_iter funcA values
.
.
.
nth SetFilterData item
push_iter of array of func types
push_iter funcR values
push_iter funcG values
push_iter funcB values
push_iter funcA values
PushStackingContext item

We need separate a SetFilterData item for each filter because we can't push_iter a variable sized thing.

When we iterate over the built display list to flatten it we work similarly to how gradients work with a SetGradientStops item before the actual gradient item. So when we see SetFilterOps or SetFilterData we use them to fill out values on the built display list iterator but don't those items return them to the iterator user and instead continue iterating until we hit the PushStackingContext item, at which point to the iterator consumer it appears as those the FilterOps and FilterDatas were on the PushStackingContext item. (This part is trickier too since we need a TempFilterData type that just holds ItemRange's until we get the actual bytes later.)

Do we need to clear cur_filters and cur_filter_data at some point to prevent them from getting ready by items for which they do not apply?
2019-02-26 00:16:36 -06:00
Timothy Nikkel 4a54583c19 Bug 1505871. C++ code to get component transfer filter data into webrender. r=jrmuizel
Have to use a pointer/size pair to transfer the value list to rust.

We use a "filter holder" that contains an nsTArray that owns the values.
2019-02-26 00:16:36 -06:00
Timothy Nikkel b2695b4b73 Backed out changeset 2bf33f573505 2019-02-25 22:48:35 -06:00
Timothy Nikkel 213203d8e5 Backed out changeset 90660632d641 2019-02-25 22:48:04 -06:00
Timothy Nikkel 8238bfd239 Backed out changeset 11c9d5a64a30 2019-02-25 22:47:40 -06:00
Timothy Nikkel 22cf8be9b7 Bug 1505871. Implement the necessary things for interning of filter data. r=gw 2019-02-25 22:45:16 -06:00
Timothy Nikkel 5455bb5b62 Bug 1505871. Write component transfer filter data into the webrender display list bitstream. r=jrmuizel
The format for stacking contexts in the built display list goes from

PushStackingContext item
push_iter of Vec<FilterOp>

to

SetFilterOps item
push_iter of Vec<FilterOp>
1st SetFilterData item
push_iter of array of func types
push_iter funcR values
push_iter funcG values
push_iter funcB values
push_iter funcA values
.
.
.
nth SetFilterData item
push_iter of array of func types
push_iter funcR values
push_iter funcG values
push_iter funcB values
push_iter funcA values
PushStackingContext item

We need separate a SetFilterData item for each filter because we can't push_iter a variable sized thing.

When we iterate over the built display list to flatten it we work similarly to how gradients work with a SetGradientStops item before the actual gradient item. So when we see SetFilterOps or SetFilterData we use them to fill out values on the built display list iterator but don't those items return them to the iterator user and instead continue iterating until we hit the PushStackingContext item, at which point to the iterator consumer it appears as those the FilterOps and FilterDatas were on the PushStackingContext item. (This part is trickier too since we need a TempFilterData type that just holds ItemRange's until we get the actual bytes later.)

Do we need to clear cur_filters and cur_filter_data at some point to prevent them from getting ready by items for which they do not apply?
2019-02-25 22:45:15 -06:00
Timothy Nikkel b9d0354d8a Bug 1505871. C++ code to get component transfer filter data into webrender. r=jrmuizel
Have to use a pointer/size pair to transfer the value list to rust.

We use a "filter holder" that contains an nsTArray that owns the values.
2019-02-25 22:45:15 -06:00
Jamie Nicol 32ffe0f9b1 Bug 1498732 - Update gleam to 0.6.9. r=kats
This provides the functions glMapBufferRange and glUnmapBuffer.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 14:59:01 +00:00
Coroiu Cristina 6a915c899d Merge mozilla-central to inbound a=merge 2019-02-22 18:41:16 +02:00
Dorel Luca 3b7aa5a584 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 7031cab1673ebf517464fe27a8320beee794f1d8
2019-02-22 09:23:50 +02:00
sotaro d33affb03f Bug 1528865 - Change SwapChain's BufferUsage as to add DXGI_USAGE_SHADER_INPUT r=kvark
DXGI_USAGE_SHADER_INPUT is set for improving performance of copying from framebuffer to texture on intel gpu.

Differential Revision: https://phabricator.services.mozilla.com/D20622
2019-02-22 08:31:12 +09:00
Nicolas Silva 83085f11a5 Bug 1476368 - Reserve storage for the dynamic property vectors in the bindings before filling them. r=kvark
--HG--
extra : source : 4246885397b41acd0cfd60fa2ec50d75584ec84a
extra : histedit_source : cc18ffbad76aca8d3f8e598fb61832597c9c371c
2019-02-19 18:43:41 +01:00
Kartikaya Gupta c366cdefb9 Bug 1528987 - Send the gecko scroll offsets for scrollframes to WR. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D20667

--HG--
extra : moz-landing-system : lando
2019-02-21 21:06:25 +00:00
Jeff Gilbert d6410e953a Bug 1528394 - Reduce includes of GLContext.h. r=lsalzman
Splitting part of OGLShaderProgram.h out into OGLShaderConfig.h makes it
easier to keep GLContext.h included in OGLShaderProgram.h for inlining
purposes.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 23:25:42 +00:00
Dorel Luca 342127c75f Backed out changeset 2c28c2185a32 (bug 1528394) for build bustage. CLOSED TREE 2019-02-19 22:09:07 +02:00
Jeff Gilbert 58e561b983 Bug 1528394 - Reduce includes of GLContext.h. r=lsalzman
Splitting part of OGLShaderProgram.h out into OGLShaderConfig.h makes it
easier to keep GLContext.h included in OGLShaderProgram.h for inlining
purposes.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 05:23:54 +00:00
Masatoshi Kimura e25fbce870 Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
sotaro 087c420a72 Bug 1526213 - Enable WebRenderTextureHostWrapper for canvas r=nical
By using WebRenderTextureHostWrapper for canvas, we could avoid triggering frame build on WebRender backend if WebRenderTextureHostWrapper is only change.

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

--HG--
extra : moz-landing-system : lando
2019-02-18 09:33:32 +00:00
Nicolas Silva b32dce70e6 Bug 1527884 - WebRender version 0.60.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D19796

--HG--
extra : moz-landing-system : lando
2019-02-15 02:54:40 +00:00
Sylvestre Ledru 41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Bogdan Tara 3ccaa3b9ba Backed out changeset e23608ddeac0 (bug 1527884) for wrench bustages CLOSED TREE 2019-02-14 16:43:24 +02:00
Nicolas Silva 3d93798308 Bug 1527884 - WebRender version 0.60.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D19780

--HG--
extra : moz-landing-system : lando
2019-02-14 13:40:51 +00:00
Glenn Watson e44f3a225c Bug 1527522 - Add external hooks to WR to allow integration with the Gecko profiler. r=kvark,emilio
Differential Revision: https://phabricator.services.mozilla.com/D19611

--HG--
extra : moz-landing-system : lando
2019-02-13 21:46:32 +00:00
Cosmin Sabou 01b4b3830e Backed out changeset bc69bea83b66 (bug 1527522) for wrench bustages. CLOSED TREE 2019-02-13 09:03:44 +02:00
Glenn Watson 6bb5798bee Bug 1527522 - Add external hooks to WR to allow integration with the Gecko profiler. r=kvark,emilio
Differential Revision: https://phabricator.services.mozilla.com/D19611

--HG--
extra : moz-landing-system : lando
2019-02-13 04:02:02 +00:00
sotaro 0e2cb6d4e8 Bug 1514156 - Add RenderCompositorEGL for wayland r=nical
When GDK_BACKEND is wayland, widget is not fully mapped during creating CompositorSession. Needs to create valid EGLSurface after widget is fully mapped.

Differential Revision: https://phabricator.services.mozilla.com/D18940
2019-02-12 16:33:31 +09:00
Ryan Hunt 85ff4bdc33 Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D21108

--HG--
extra : rebase_source : 48a4586f507891f3a2f0f970e9b9a0b15f0f3d61
2019-02-25 16:07:19 -06:00
Oana Pop Rus e00ea598e5 Merge inbound to mozilla-central. a=merge 2019-02-06 11:53:48 +02:00
Glenn Watson 43dfba16ac Bug 1524385 - Set the current clip chain on the stacking context item. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D18527

--HG--
extra : moz-landing-system : lando
2019-02-06 04:35:37 +00:00
Kartikaya Gupta 2030952357 Back out two changesets from bug 1523776 for causing multiple regressions. r=backout 2019-01-31 14:44:33 -05:00
Daniel Varga 325e31df1d Merge mozilla-central to mozilla-inbound. a=merge 2019-01-31 06:30:06 +02:00
Kartikaya Gupta c8c588bf80 Bug 1523776 - Don't set the parent link when creating a new clip chain. r=kvark
It turns out that setting the parent link on a clip chain is no longer
needed (and probably hasn't been since WR started applying a stacking
context's clip to the SC's contents). In fact it can produce incorrect
behaviour in some cases, because it doesn't match the semantics of
Gecko's clip chains. This removes the parent link on the Gecko side and
adds a test for this scenario.

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

--HG--
extra : moz-landing-system : lando
2019-01-30 21:39:38 +00:00
Bobby Holley d9c60f139c Bug 1512287 - Expose dirty regions to wrench. r=gw
Depends on D17991

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

--HG--
extra : moz-landing-system : lando
2019-01-30 08:57:37 +00:00
Emilio Cobos Álvarez a2231bd95c Bug 1498639 - Give WR the id of the scroll frame perspective scrolls relative to, and compute the right transform based on that. r=kats,kvark
I think this is as clean as it can get.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 23:41:08 +00:00
Bobby Holley bf4d481f78 Bug 1522017 - Make picture caching explicit. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D17435
2019-01-24 10:44:35 -08:00
Bobby Holley 9d28f0c412 Bug 1522017 - Introduce StackingContextParams to avoid death by a thousand argument. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D17434
2019-01-24 10:44:35 -08:00
Lee Salzman c7d1539b15 Bug 1455848 - use paths for WR font handles on Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16896
2019-01-17 15:45:07 -05:00
Razvan Maries 6161f7cc5b Backed out 4 changesets (bug 1455848) for windows wrench failures. CLOSED TREE
Backed out changeset d56504db04ea (bug 1455848)
Backed out changeset f2279ecacb81 (bug 1455848)
Backed out changeset 44a36f0fe512 (bug 1455848)
Backed out changeset b8444f241aca (bug 1455848)
2019-01-24 00:56:40 +02:00
Lee Salzman bd0b2ed9f0 Bug 1455848 - use paths for WR font handles on Windows. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16896
2019-01-17 15:45:07 -05:00
Lee Salzman 9e135c5cd1 Bug 1524509 - track whether a WR stacking context is animated separately from whether it should rasterize locally. r=jrmuizel 2019-02-05 16:29:11 -05:00
WR Updater Bot 1e4aa0cadd Bug 1521518 - Update crate versions for changes in WR PR #3514. r=kats
Depends on D17127

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

--HG--
extra : moz-landing-system : lando
2019-01-21 15:12:54 +00:00
Sylvestre Ledru 755a1a7c2f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-01-21 14:49:22 +00:00
Cosmin Sabou 7ccc9d8b0b Merge mozilla-inbound to mozilla-central. a=merge 2019-01-19 11:57:49 +02:00
Jeff Muizelaar 91c37e95f0 Bug 1520955. Add ref qualifier to DataMutex for more safety. r=froydnj
We lose some sugar but gain some safety. This seems like the right
trade. If people want sugar they should use Rust.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 16:48:22 +00:00
Greg Tatum 7042c8f1c3 Bug 1520526 - Add categories to all profiler markers; r=mstange
This commit adds categories to all markers. This way the profiler's
marker categories and frame label categories agree. There are a few
duplicate category properties on some of the marker payloads, but
this could be cleaned up in a follow-up if needed.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 15:40:15 +00:00
Bobby Holley 0d9b3416c9 Bug 1520678 - Simplify naming of interner and data_store instances. r=kamidphish
Depends on D16780

Differential Revision: https://phabricator.services.mozilla.com/D16781
2019-01-17 22:21:48 -08:00
Bogdan Tara b93f9fb7c3 Backed out 4 changesets (bug 1520678) for build bustages complaining no field `resources` CLOSED TREE
Backed out changeset ad7c9c863c2e (bug 1520678)
Backed out changeset 64717bf7f849 (bug 1520678)
Backed out changeset 5fa2f414676e (bug 1520678)
Backed out changeset 1d2ae392021c (bug 1520678)
2019-01-18 04:05:26 +02:00
Bobby Holley 1cc37c6e8c Bug 1520678 - Simplify naming of interner and data_store instances. r=kamidphish
Depends on D16780

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

--HG--
extra : moz-landing-system : lando
2019-01-18 00:45:13 +00:00
Jeff Muizelaar c87a6c66d7 Bug 1520651. Use a DataMutex around mWindowInfos instead of a standalone Mutex. r=mattwoodrow
This ensures that access is locked.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:25:35 +00:00
Emilio Cobos Álvarez 2c1aaa2304 Bug 1520851 - Make a reference frame's transform not optional. r=kvark
No good reason for it to be an option.

Differential Revision: https://phabricator.services.mozilla.com/D16876
2019-01-17 21:13:15 +01:00
Emilio Cobos Álvarez 4a8ff157a5 Bug 1520664 - Cleanup ReferenceFrame so that each of them has a single matrix. r=kvark
The only thing using both was perspective, but that's not really needed with the current setup.

This more closely matches Gecko, too.

Differential Revision: https://phabricator.services.mozilla.com/D16764
2019-01-17 21:13:07 +01:00
Brindusan Cristian ac9bb930c9 Backed out changeset bbc57e229df6 (bug 1520664) for webrender bustages. CLOSED TREE 2019-01-17 19:20:00 +02:00
Emilio Cobos Álvarez 3fe4fef309 Bug 1520664 - Bug 1498639 - Cleanup ReferenceFrame so that each of them has a single matrix. r=kvark
The only thing using both was perspective, but that's not really needed with the current setup.

This more closely matches Gecko, too.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:08:35 +00:00
Dzmitry Malyshau 1ab11075de Bug 1520301 - Fix scroll frame default positioning r=jrmuizel
When scroll frames are created, and no explicit parent is provided,
the old code used to take the ClipID from the c/s stack. The stack
has been removed on WR side, and this parent assignment got lost.

This change takes the SpatialID from the top of the stack on Gecko
side to replicate the old behavior.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:43:08 +00:00
Cosmin Sabou d28e15a531 Backed out changeset d4b7dbc0379f (bug 1520301) for reftest failures on gfx/tests/reftest/1519754.html. 2019-01-17 02:40:32 +02:00
Dzmitry Malyshau ce39249b85 Bug 1520301 - Fix scroll frame default positioning r=jrmuizel
When scroll frames are created, and no explicit parent is provided,
the old code used to take the ClipID from the c/s stack. The stack
has been removed on WR side, and this parent assignment got lost.

This change takes the SpatialID from the top of the stack on Gecko
side to replicate the old behavior.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 21:00:05 +00:00
Emilio Cobos Álvarez ad9f663ba6 Bug 1519501 - Generate webrender_ffi_generated.h at build time. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D16400
2019-01-14 13:44:58 +01:00
Margareta Eliza Balazs 9dda825205 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-18 12:31:59 +02:00
Ehsan Akhgari e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Ehsan Akhgari 06c3d29113 Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
Summary: # ignore-this-changeset

Reviewers: sylvestre

Reviewed By: sylvestre

Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya

Bug #: 1521000

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

--HG--
extra : histedit_source : 4add583bfa729ccc1aef934629ed45ff095189b0
2019-01-18 10:12:56 +01:00
Emilio Cobos Álvarez e578ab79b9 Bug 1519639 - Update cbindgen config and generated FFI header. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16391
2019-01-13 11:21:21 +01:00
Bobby Holley dc649b23cc Bug 1519454 - Use a macro to declare interners and hook up memory reporters. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D16356
2019-01-12 12:36:27 -08:00
Bogdan Tara 1b63fe08ee Backed out 4 changesets (bug 1519454) for api.rs build bustage CLOSED TREE
Backed out changeset 21d74c03c00a (bug 1519454)
Backed out changeset 054028a8d4a7 (bug 1519454)
Backed out changeset e9b1d04247de (bug 1519454)
Backed out changeset f3ef205b4f63 (bug 1519454)

--HG--
rename : third_party/rust/malloc_size_of_derive/LICENSE-APACHE => servo/components/malloc_size_of_derive/LICENSE-APACHE
rename : third_party/rust/malloc_size_of_derive/LICENSE-MIT => servo/components/malloc_size_of_derive/LICENSE-MIT
rename : third_party/rust/malloc_size_of_derive/lib.rs => servo/components/malloc_size_of_derive/lib.rs
2019-01-12 21:54:54 +02:00
Bobby Holley a2868de665 Bug 1519454 - Use a macro to declare interners and hook up memory reporters. r=emilio
Depends on D16355

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

--HG--
extra : moz-landing-system : lando
2019-01-12 19:22:03 +00:00
Emilio Cobos Álvarez b7102def68 Bug 1514384 - Pass the current clip chain id instead of clipping to the filter bounds. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D16206
2019-01-11 22:19:19 +01:00
Jeff Muizelaar 17b5ec3dd2 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:41:08 +00:00
Cosmin Sabou 88993e172c Backed out changeset 10dedfde1015 (bug 1509182) for causing build bustages.
--HG--
extra : rebase_source : 4389819cbb88af16724480f571b0abcd027015ba
2019-01-10 20:52:49 +02:00
Jeff Muizelaar ef9bb810f0 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:40:56 +00:00
Csoregi Natalia ae6fde5883 Backed out changeset 8e078c86db82 (bug 1509182) for bustage on WebRenderTypes.h:789. CLOSED TREE 2019-01-10 18:15:42 +02:00
Jeff Muizelaar a0468b94c6 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:20:21 +00:00
Kartikaya Gupta fa555ac02c Bug 1507522 - Drop revision.txt and WR update process. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16105

--HG--
extra : moz-landing-system : lando
2019-01-10 14:14:13 +00:00
WR Updater Bot b8486fffd6 Bug 1518899 - Update webrender to commit d3edc30cf95d3c96fd8308969b22062698a0f6ce (WR PR #3493). r=kats
https://github.com/servo/webrender/pull/3493

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

--HG--
extra : moz-landing-system : lando
2019-01-09 22:16:02 +00:00
WR Updater Bot 02fa01c82a Bug 1518901 - Update webrender to commit a25552ac640600e5bd456e048c0df592ab9fde93 (WR PR #3483). r=kats
https://github.com/servo/webrender/pull/3483

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:28:38 +00:00
WR Updater Bot a26a88d15c Bug 1518769 - Update webrender to commit 32e2f83a809e91f699847cbde209d4f24fca0141 (WR PR #3492). r=kats
https://github.com/servo/webrender/pull/3492

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:25:47 +00:00
WR Updater Bot a4773d0c21 Bug 1518773 - Update webrender to commit f24d6fbc8598dbaffee70b745e043dd390664f72 (WR PR #3491). r=kats
https://github.com/servo/webrender/pull/3491

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

--HG--
extra : moz-landing-system : lando
2019-01-09 13:35:30 +00:00
WR Updater Bot 96a504f981 Bug 1518771 - Update webrender to commit 7d73075a6589eb6023456733c318d578324dec11 (WR PR #3490). r=kats
https://github.com/servo/webrender/pull/3490

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

--HG--
extra : moz-landing-system : lando
2019-01-09 13:34:47 +00:00
WR Updater Bot 66948c3b64 Bug 1518770 - Update webrender to commit 008cf0013a8b8f2de383b491fc75b50ac83f973a (WR PR #3486). r=kats
https://github.com/servo/webrender/pull/3486

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

--HG--
extra : moz-landing-system : lando
2019-01-09 13:31:13 +00:00
WR Updater Bot 8519596937 Bug 1518717 - Update webrender to commit ff9940fdf95412a3e5d1a70c78defba6e919c170 (WR PR #3488). r=kats
https://github.com/servo/webrender/pull/3488

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

--HG--
extra : moz-landing-system : lando
2019-01-09 13:29:54 +00:00
WR Updater Bot fb6ea97ec1 Bug 1518708 - Update webrender to commit fb4b9342aa1b047ac46b89cb7a70987816bee686 (WR PR #3487). r=kats
https://github.com/servo/webrender/pull/3487

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

--HG--
extra : moz-landing-system : lando
2019-01-09 05:14:25 +00:00
WR Updater Bot e70e863f16 Bug 1518605 - Some follow-up fixes to make the different builds green. r=kats
Depends on D16006

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

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:48 +00:00
Dzmitry Malyshau cddd33e700 Bug 1518605 - New WebRender ClipId/SpatialId API. r=kats
Port to separate SpatialId from ClipId in Webrender API (WR PR #3251).
Patch was originally written and reviewed on bug 1503447.

Depends on D16005

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

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:07 +00:00
WR Updater Bot 44eff8f1b7 Bug 1518605 - Update webrender to commit e16ab884672151fbdebc149479f9bfdecd1da216 (WR PR #3251). r=kats
https://github.com/servo/webrender/pull/3251

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

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:04 +00:00
WR Updater Bot 58ed12c9a0 Bug 1518389 - Update webrender to commit 9019124fdccab50096ef5af76d1acbd251c1ad07 (WR PR #3484). r=kats
https://github.com/servo/webrender/pull/3484

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

--HG--
extra : moz-landing-system : lando
2019-01-08 21:24:03 +00:00
WR Updater Bot 92206415de Bug 1518390 - Update webrender to commit ca28ae618d249976a755db5419e5ec7c36bbfd1c (WR PR #3481). r=kats
https://github.com/servo/webrender/pull/3481

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:43:00 +00:00
WR Updater Bot fcd0efb83f Bug 1518111 - Re-generate FFI header. r=kats
Depends on D15893

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:37:55 +00:00
WR Updater Bot 44b24d114c Bug 1518111 - Update webrender to commit cce627620aeecbe9e39cc2b39481f10d26aef892 (WR PR #3480). r=kats
https://github.com/servo/webrender/pull/3480

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

--HG--
extra : moz-landing-system : lando
2019-01-08 03:37:12 +00:00
Doug Thayer a848222b53 Bug 1441308 - Split out document pieces of WebRenderLayerManager r=jrmuizel
Per our discussion, this patch splits out the state management bits of
WebRenderLayerManager, allowing for them to be maintained per-document.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 21:33:10 +00:00
WR Updater Bot 08e5e61804 Bug 1517975 - Update webrender to commit 1b226534099a24c741e9827c4612eee1ec12d4ee (WR PR #3478). r=kats
https://github.com/servo/webrender/pull/3478

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

--HG--
extra : moz-landing-system : lando
2019-01-07 12:47:12 +00:00
WR Updater Bot 7dcd1fcb5f Bug 1517977 - Update webrender to commit b298150b65db9e80ec15aff6877ca3277cb79f92 (WR PR #3474). r=kats
https://github.com/servo/webrender/pull/3474

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

--HG--
extra : moz-landing-system : lando
2019-01-05 21:15:35 +00:00
WR Updater Bot 7e9242db51 Bug 1517910 - Update webrender to commit bcc2cde64756e0d90dd8614f923ad74694bcd84c (WR PR #3475). r=kats
https://github.com/servo/webrender/pull/3475

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

--HG--
extra : moz-landing-system : lando
2019-01-05 21:12:56 +00:00
WR Updater Bot f63b1dab83 Bug 1517838 - Update webrender to commit 48b6b15e68c935a07d66a36f7ca6dd7438924d57 (WR PR #3472). r=kats
https://github.com/servo/webrender/pull/3472

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

--HG--
extra : moz-landing-system : lando
2019-01-05 02:48:20 +00:00
bitnotri 542ea80ecd Bug 1461737 - Move nsstring-rs to a better location, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D15743

--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
WR Updater Bot bf008d5d7e Bug 1517773 - Update webrender to commit 5e06512aee0a2e09379a49111c36f91d0ae489f4 (WR PR #3471). r=kats
https://github.com/servo/webrender/pull/3471

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

--HG--
extra : moz-landing-system : lando
2019-01-04 19:37:50 +00:00
WR Updater Bot ff902c922f Bug 1517742 - Update webrender to commit e8ef39b4499aa93e008a25e851c01f4dff36b301 (WR PR #3470). r=kats
https://github.com/servo/webrender/pull/3470

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

--HG--
extra : moz-landing-system : lando
2019-01-04 16:02:16 +00:00
WR Updater Bot 177e762bb0 Bug 1517721 - Update webrender to commit 12250134e710e8a0435b1b678fa4fb056e11fecc (WR PR #3468). r=kats
https://github.com/servo/webrender/pull/3468

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

--HG--
extra : moz-landing-system : lando
2019-01-04 15:38:59 +00:00
WR Updater Bot fb2720172a Bug 1517723 - Update webrender to commit a40a5ffd1649d6bf6f55b76c7d633e4d157d4478 (WR PR #3467). r=kats
https://github.com/servo/webrender/pull/3467

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

--HG--
extra : moz-landing-system : lando
2019-01-04 13:26:28 +00:00
WR Updater Bot ea90d7794d Bug 1517722 - Update webrender to commit 8a7212b628ae39e7251201b0a9761c74bab42c5d (WR PR #3465). r=kats
https://github.com/servo/webrender/pull/3465

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

--HG--
extra : moz-landing-system : lando
2019-01-04 13:25:17 +00:00
WR Updater Bot 6ddd64f365 Bug 1517678 - Update webrender to commit da88c56f2448e66421fe8e2cab386a61e8b956b5 (WR PR #3466). r=kats
https://github.com/servo/webrender/pull/3466

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

--HG--
extra : moz-landing-system : lando
2019-01-04 13:21:54 +00:00
WR Updater Bot e48bc104ff Bug 1517616 - Update webrender to commit a5b036eced81dcfc012f1335277af595f931fb11 (WR PRs #3463 and #3464). r=kats
https://github.com/servo/webrender/pull/3463
https://github.com/servo/webrender/pull/3464

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

--HG--
extra : moz-landing-system : lando
2019-01-04 04:21:27 +00:00
WR Updater Bot f2ab67ad43 Bug 1517579 - Update webrender to commit 4ff07fe75b0c28ee1987092b3eefed3017f5a25e (WR PR #3459). r=kats
https://github.com/servo/webrender/pull/3459

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

--HG--
extra : moz-landing-system : lando
2019-01-03 22:21:55 +00:00
WR Updater Bot a364c7ac72 Bug 1517459 - Update webrender to commit 2312763643054c1e3aa6146d816b3e02a1b68a3c (WR PR #3462). r=kats
https://github.com/servo/webrender/pull/3462

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

--HG--
extra : moz-landing-system : lando
2019-01-03 20:17:16 +00:00
WR Updater Bot 3938a0698b Bug 1517460 - Update webrender to commit 477d395e08a9f6b891fa748defd2fa2c35d0e5be (WR PR #3458). r=kats
https://github.com/servo/webrender/pull/3458

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

--HG--
extra : moz-landing-system : lando
2019-01-03 12:35:42 +00:00
WR Updater Bot 535e024020 Bug 1517398 - Update webrender to commit 075fd68dfcfa2a2fdc66fefe5520caa408adcfcb (WR PR #3438). r=kats
https://github.com/servo/webrender/pull/3438

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

--HG--
extra : moz-landing-system : lando
2019-01-03 12:30:07 +00:00
WR Updater Bot 37b71672f9 Bug 1517390 - Update webrender to commit 184314dfbb5dbf4a290994753a9712eff1b97e3a (WR PR #3457). r=kats
https://github.com/servo/webrender/pull/3457

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

--HG--
extra : moz-landing-system : lando
2019-01-03 04:05:14 +00:00
WR Updater Bot c36fd12499 Bug 1517072 - Update webrender to commit 7fc05244e1400acfde1d0a0a4a564e47dc2ef998 (WR PR #3455). r=kats
https://github.com/servo/webrender/pull/3455

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

--HG--
extra : moz-landing-system : lando
2019-01-03 03:57:27 +00:00
WR Updater Bot 0788222934 Bug 1517038 - Update webrender to commit a970cbaa88a7516758046c8be016c34627d31355 (WR PR #3456). r=kats
https://github.com/servo/webrender/pull/3456

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

--HG--
extra : moz-landing-system : lando
2019-01-01 00:40:07 +00:00
WR Updater Bot d63f442313 Bug 1516810 - Update webrender to commit ff485fa67cc7341b8e7a0d32e377a419e8d252c6 (WR PR #3454). r=kats
https://github.com/servo/webrender/pull/3454

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

--HG--
extra : moz-landing-system : lando
2018-12-31 19:16:49 +00:00
WR Updater Bot fa50bcc2e7 Bug 1516676 - Update webrender to commit 8b8ca774f555aeb8ef99743196593a192298dd60 (WR PR #3452). r=kats
https://github.com/servo/webrender/pull/3452

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

--HG--
extra : moz-landing-system : lando
2018-12-29 21:29:46 +00:00
Kartikaya Gupta 1b6a03b80f Bug 1516646 - Write the Gecko mercurial revision into captures as well. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D15474

--HG--
extra : moz-landing-system : lando
2018-12-28 19:32:37 +00:00
WR Updater Bot 74953e7a43 Bug 1516650 - Update webrender to commit b4dfe9c4f98fdeca3814976cd075bde8ed409123 (WR PR #3446). r=kats
https://github.com/servo/webrender/pull/3446

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:27:55 +00:00
Dzmitry Malyshau 1502afceeb Bug 1516652 - Update for API changes in WR PR #3450. r=kats
Depends on D15472

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

--HG--
extra : moz-landing-system : lando
2018-12-28 16:29:38 +00:00
WR Updater Bot 3c00e8f7e9 Bug 1516652 - Update webrender to commit 7a9954180a978c2783257254c2c818c191276a91 (WR PR #3450). r=kats
https://github.com/servo/webrender/pull/3450

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

--HG--
extra : moz-landing-system : lando
2018-12-28 16:29:25 +00:00
WR Updater Bot fc48c4e38b Bug 1516651 - Update webrender to commit 485f4a7c76625b7f281a4bab09a018727ba05a01 (WR PR #3451). r=kats
https://github.com/servo/webrender/pull/3451

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

--HG--
extra : moz-landing-system : lando
2018-12-28 16:20:03 +00:00
WR Updater Bot 8f39123bec Bug 1516302 - Update webrender to commit 641da2169297dde8382a6890a776dd41612cb472 (WR PR #3449). r=kats
https://github.com/servo/webrender/pull/3449

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

--HG--
extra : moz-landing-system : lando
2018-12-28 16:10:00 +00:00
Sylvestre Ledru cccdda3c2a Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
WR Updater Bot ebe82c98fe Bug 1516305 - Update webrender to commit 5da3e6bf916e84fc3ce72c6cf65c63df0cdd8eb5 (WR PR #3445). r=kats
https://github.com/servo/webrender/pull/3445

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

--HG--
extra : moz-landing-system : lando
2018-12-25 01:13:52 +00:00
WR Updater Bot 05bc857d23 Bug 1516304 - Update webrender to commit 7094d09cac1d4decad67f9828d9c85589e283dbd (WR PR #3447). r=kats
https://github.com/servo/webrender/pull/3447

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

--HG--
extra : moz-landing-system : lando
2018-12-25 01:11:14 +00:00
WR Updater Bot e2b83383f1 Bug 1516184 - Update webrender to commit f8a423fa0a83f386b11dd5e31a8e916378d2921d (WR PR #3444). r=kats
https://github.com/servo/webrender/pull/3444

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

--HG--
extra : moz-landing-system : lando
2018-12-25 01:01:26 +00:00
WR Updater Bot 825dbc97c0 Bug 1516073 - Update webrender to commit 8b90bdd513419a06f2755b08713238e6ee52b1e9 (WR PR #3443). r=kats
https://github.com/servo/webrender/pull/3443

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

--HG--
extra : moz-landing-system : lando
2018-12-23 16:28:52 +00:00
WR Updater Bot ab4d4812de Bug 1516074 - Update webrender to commit 8476ed5e134e54f2facb01ea45e8a2008c8ba8da (WR PR #3441). r=kats
https://github.com/servo/webrender/pull/3441

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

--HG--
extra : moz-landing-system : lando
2018-12-22 08:59:28 +00:00
WR Updater Bot 8e9ac4d7ef Bug 1516012 - Update webrender to commit ca4ee825c0fecc459c8741f05acbd90761667b75 (WR PR #3442). r=kats
https://github.com/servo/webrender/pull/3442

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

--HG--
extra : moz-landing-system : lando
2018-12-22 08:57:10 +00:00