Commit Graph

285 Commits

Author SHA1 Message Date
sotaro
40d367fa96 Bug 1416533 - Skip to generate frame if there is no update r=nical,kats 2017-11-30 21:38:47 +09:00
Jeff Muizelaar
4b9c2e7e3e Bug 1406507 - Use an ipc::ByteBuf instead of ByteBuffer to send the DisplayList instead of a ByteBuffer. r=kats
DONTBUILD because this is a backout/reland to make sure the code is associated
with the right bug.

MozReview-Commit-ID: GPQABR9ONld
2017-11-30 07:16:21 -05:00
Kartikaya Gupta
e9cf26c57d Bug 1379680 - Revert changes that were accidentally landed as part the wrong bug. r=me
MozReview-Commit-ID: HUreLLz3uKI
2017-11-30 07:12:18 -05:00
Jeff Muizelaar
93643aa1d7 Bug 1379680. Add an ipc ByteBuf type. r=billm
This adds a ByteBuf type that can be sent by taking
ownership of its buffer instead of having to make a copy.
2017-11-29 10:11:15 -05:00
sotaro
d47d125b31 Bug 1418035 - Fix worng decision of sending DidComposite r=nical 2017-11-18 08:56:40 +09:00
sotaro
129f9308f0 Bug 1417306 - Fix leaking pipelines of Tabs r=nical 2017-11-16 09:47:55 +09:00
Andrew Osmond
e947ade886 Bug 1401672 - Make display items for the same WebRenderBridgeParent/Child share the ImageKey for shared surfaces. r=jrmuizel 2017-11-15 14:31:13 -05:00
sotaro
cdea7972cd Bug 1412249 - Fix DidComposite timing for EmptyTransaction r=nical 2017-11-15 08:00:57 +09:00
Morris Tseng
ddd8709a25 Bug 1342762 - Remove pipeline in RemovePipelineIdForCompositable. r=nical
MozReview-Commit-ID: 29NrWHCGR5V
2017-11-13 17:32:23 +08:00
JerryShih
56f5014e76 Bug 1416543 - use the gecko profiler macro to register/unregister the thread name. r=me
MozReview-Commit-ID: 3ueSAuNCbGp
2017-11-12 22:21:22 +08:00
JerryShih
831b11b19b Bug 1371838 - export the gecko profiler registering function to WR. r=jrmuizel
MozReview-Commit-ID: 2gVAmU2xomP
2017-11-11 18:57:31 +08:00
Lee Salzman
86623ac36d Bug 1403198 - send font descriptors to WR instead of raw fonts where possible. r=jrmuizel
MozReview-Commit-ID: DYcaO3fE1fc
2017-11-06 20:19:46 -05:00
sotaro
8606837a57 Bug 1390741 - Use BasicCompositor if widget type does not support acceleration r=aosmond,kats 2017-11-03 16:38:34 +09:00
sotaro
44e9ab8211 Bug 1408421 - Improving throttling GenerateFrame() r=jrmuizel 2017-11-03 11:22:28 +09:00
Sebastian Hengst
4c3e66715b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4PW6ESqLL73
2017-10-30 23:52:23 +01:00
Andrew Osmond
9a731499b2 Bug 1331944 - Part 7. Handle shared surfaces in WebRenderBridgeParent::AddExternalImage. r=jrmuizel 2017-10-30 13:10:29 -04:00
Daniel Holbert
bb0a8b6602 Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py

For every file that is modified in this patch, the changes are as follows:
 (1) The patch changes the file to use the exact C++ mode lines from the
     Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line

 (2) The patch deletes any blank lines between the mode line & the MPL
     boilerplate comment.

 (3) If the file previously had the mode lines and MPL boilerplate in a
     single contiguous C++ comment, then the patch splits them into
     separate C++ comments, to match the boilerplate in the coding style.

MozReview-Commit-ID: 77D61xpSmIl
2017-10-27 16:10:06 -07:00
JerryShih
14652060da Bug 1399389 - redirect the warn/error message to gfx_critical_error/note in WR. r=kvark
MozReview-Commit-ID: Fxkz3Fq96Tb
2017-10-30 11:31:38 +08:00
sotaro
acefec3798 Bug 1412246 - Fix memory leak with WebRenderLayerManager::EndEmptyTransaction() r=nical 2017-10-28 06:54:56 +09:00
Coroiu Cristina
685ec0c707 Backed out changeset 7e1da430d9f9::7c56a10468d7 (bug 1331944) for bustage on Android at gfx/layers/ipc/SharedSurfacesParent.cpp r=backout on a CLOSED TREE
Backed out changeset 7c56a10468d7 (bug 1331944)
Backed out changeset b77eb1c48b73 (bug 1331944)
Backed out changeset 50b1fcf13fba (bug 1331944)
Backed out changeset 56e6ab347bae (bug 1331944)
Backed out changeset 5bdfda0b0b3a (bug 1331944)
Backed out changeset 40ec55507394 (bug 1331944)
Backed out changeset 83cc1f67e9f7 (bug 1331944)
Backed out changeset 7e1da430d9f9 (bug 1331944)
2017-10-30 15:52:07 +02:00
Andrew Osmond
762527ddf3 Bug 1331944 - Part 7. Handle shared surfaces in WebRenderBridgeParent::AddExternalImage. r=jrmuizel 2017-10-30 09:10:45 -04:00
Jeff Muizelaar
a4cd87436d Bug 1410550. Allow updating a dirty rect of a blob image. r=kats 2017-10-24 18:11:04 -04:00
sotaro
1c6c8e4d17 Bug 1405952 - Remove PWebRenderBridge::SetDisplayListSync r=kats,kanru 2017-10-20 19:48:57 +09:00
Kartikaya Gupta
e6f02c1e90 Bug 1408261 - Update profiler tracing stuff to use the new macro. r=mstange
This code lost a landing race with bug 1403868 and so got left behind.

MozReview-Commit-ID: 6qaeAYeFLvA
2017-10-13 15:03:13 -04:00
sotaro
b197f1f95b Bug 1405481 - Push canvas updates to the compositor on empty transactions r=jrmuizel 2017-10-12 10:13:10 +09:00
Nicholas Nethercote
a35e82f193 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
Markus Stange
aee5da3d79 Bug 1406494 - Fix spelling of the environment variable.
MozReview-Commit-ID: KE3Wejl87hg
2017-10-07 22:11:13 -04:00
Sebastian Hengst
5a50c5cb42 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
sotaro
6944e71530 Bug 1405970 - Remove unused argument from ProcessWebRenderParentCommands() r=nical 2017-10-06 22:10:20 +09:00
Markus Stange
2e3cbc4a4c Bug 1406494 - Add a WR_RESOURCE_PATH environment variable that lets you set a resource override path for webrender. r=kats
This allows easier testing of shader changes. If you point this environment
variable at your gfx/webrender/res/ directory, the shaders will be read from
that directory when Firefox is launched, so you can test shader changes just by
restarting Firefox and don't need to recompile.

MozReview-Commit-ID: 9Dt6MhErnGS
2017-10-06 14:38:56 -04:00
Kartikaya Gupta
c62702e212 Bug 1403176 - Add support for out-of-band APZ focus state propagation. r=mstange
One of the pieces of information that can be sent to the compositor is
the APZ focus state info, which is used for keyboard APZ. This patch
adds an API that allows updating this outside of a regular WR
"transaction" (i.e. a SetDisplayList call) so that we can use it in an
empty transaction (in the next patch).

MozReview-Commit-ID: L5TCbI9FtGV
2017-10-02 16:49:55 -04:00
Nicolas Silva
b894fa2224 Bug 1403857 - Clear with transparent black to benefit from fast glClear optimization. r=kvark 2017-09-28 16:30:58 +02:00
Nicolas Silva
bfb84db23c Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro 2017-09-26 15:30:51 +02:00
Lee Salzman
424af0fb64 Bug 1397458 - part 4 - supply font variations to WebRender AddFontInstance r=kats
MozReview-Commit-ID: 6JSMMVK0GZm
2017-09-20 23:18:23 -04:00
Nicolas Silva
9e41946ae8 Bug 1400532 - Separate small and large shmem allocations in IpcResourceUpdateQueue. r=jrmuizel 2017-09-20 13:39:19 +02:00
Nicolas Silva
aa99b34ffc Bug 1393031 - Remove OpAddExternalImage from WebRenderParentCommands. r=sotaro 2017-09-20 13:36:44 +02:00
Nicolas Silva
137f6a060e Bug 1393031 - Begin moving OpAddExternalImage to IpcResourceUpdateQueue and recycle image keys in WebRenderImageLayer. r=jrmuizel 2017-09-20 10:56:09 +02:00
Sebastian Hengst
ce9140234f Backed out changeset 67ca40453027 (bug 1393031) for failing e.g. reftest layout/reftests/image/image-srcset-basic-selection-2x-ref.html on QuantumRender. r=backout 2017-09-14 23:18:49 +02:00
Sebastian Hengst
b1f5f63c7c Backed out changeset 980729ab6e94 (bug 1393031) 2017-09-14 23:17:59 +02:00
Nicolas Silva
75bb248569 Bug 1393031 - Remove OpAddExternalImage from WebRenderParentCommands. r=sotaro 2017-09-14 20:21:50 +02:00
Nicolas Silva
15eefdc054 Bug 1393031 - Begin moving OpAddExternalImage to IpcResourceUpdateQueue and recycle image keys in WebRenderImageLayer. r=jrmuizel 2017-09-14 20:21:36 +02:00
Nicolas Silva
7100d343f6 Bug 1393031 - Use shared memory to pass resource update data. r=jrmuizel 2017-09-14 18:48:55 +02:00
Nicolas Silva
aac8f5a171 Bug 1393031 - Remove WebRenderBridgeParent::DeleteOldImages. r=sotaro 2017-09-14 18:48:44 +02:00
Nicolas Silva
a28aa4e39e Bug 1393031 - Apply external image commands in webrender transactions. r=sotaro 2017-09-04 13:59:47 +02:00
Nicolas Silva
14647f1316 Bug 1393031 - Separate WebRenderAPI and ResourceUpdateQueue. r=sotaro 2017-09-04 13:59:42 +02:00
Nicolas Silva
a68790f976 Bug 1393031 - Use the ResourceUpdateQueue API on the content side. r=jrmuizel 2017-09-04 13:59:36 +02:00
Nicolas Silva
947168818a Bug 1393031 - Expose webrender transactions at the ipc boundary. r=jrmuizel, r=kanru 2017-09-04 13:59:26 +02:00
Nicolas Silva
a0ab15a283 Bug 1393031 - Stop tracking active resource keys on the parent side. r=sotaro 2017-09-04 13:59:21 +02:00
Nicolas Silva
674768a93d Bug 1393031 - Expose webrender resource updates in the C++ wrapper. r=sotaro 2017-09-04 13:59:12 +02:00
Lee Salzman
e54dd8d30e Bug 1393055 - map ScaledFonts to WebRender FontInstanceKeys. r=jrmuizel
MozReview-Commit-ID: AadEI5CnTZ1
2017-08-30 13:45:11 -04:00