Matt Woodrow
9abd7f512c
Bug 1510853 - Add CONTENT_FRAME_TIME_REASON. r=jrmuizel, data-review=chutten
...
MozReview-Commit-ID: 9RV9ZkHXZTR
Differential Revision: https://phabricator.services.mozilla.com/D13351
--HG--
extra : moz-landing-system : lando
2018-12-07 23:28:41 +00:00
Ciure Andrei
22c96f2cb4
Backed out 4 changesets (bug 1510853) for TelemetryHistogramEnums.h build bustages CLOSED TREE
...
Backed out changeset 80baa7b09930 (bug 1510853)
Backed out changeset d1ef6db7fc28 (bug 1510853)
Backed out changeset ae190948ad73 (bug 1510853)
Backed out changeset 0ade0aa77b2f (bug 1510853)
2018-12-07 19:38:47 +02:00
Matt Woodrow
c90b5f66d6
Bug 1510853 - Add CONTENT_FRAME_TIME_REASON. r=jrmuizel, data-review=chutten
...
MozReview-Commit-ID: 9RV9ZkHXZTR
Differential Revision: https://phabricator.services.mozilla.com/D13351
--HG--
extra : moz-landing-system : lando
2018-12-07 17:02:58 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
sotaro
8013630c8b
Bug 1506091 - Wait for GPU after posting NotifyDidRender r=mattwoodrow
2018-11-12 10:36:13 +09:00
Matt Woodrow
394f747fb0
Bug 1503730 - Add visual indicator for when WebRender frames record a CONTENT_FRAME_TIME of >200. r=sotaro
...
MozReview-Commit-ID: KdRf3WClD6M
Differential Revision: https://phabricator.services.mozilla.com/D10442
--HG--
extra : moz-landing-system : lando
2018-11-04 20:35:36 +00:00
sotaro
fe52320e8b
Bug 1497910 - Call wr_renderer_readback() before calling RenderCompositor::EndFrame() r=nical
2018-10-17 07:54:01 +09:00
Jeff Muizelaar
98d23e2b2a
Bug 1495902. Create a shared Shaders object for all windows to use. r=jrmuizel
2018-10-09 23:20:20 -04:00
Dan Glastonbury
841f98477f
Bug 1494763 - Use a single shared GLContext in RenderThread when we support it. r=sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D7382
--HG--
extra : moz-landing-system : lando
2018-10-04 02:54:50 +00:00
sotaro
5883244ebd
Bug 1495352 - Make wr_notifier_nop_frame_done() notify DidComposite r=nical
2018-10-02 12:13:22 +09:00
Bobby Holley
f35563781f
Bug 1480293 - Basic Memory Reporting for WebRender. r=jrmuizel
...
Reviewers: jrmuizel, gw
Tags: #secure-revision
Bug #: 1480293
Differential Revision: https://phabricator.services.mozilla.com/D5719
MozReview-Commit-ID: 1vGl3890CjR
2018-09-14 15:27:31 -07:00
Gurzau Raul
d4d9bd916d
Backed out changeset 9762d76da9b3 (bug 1480293) for failing at aboutmemory/tests/test_memoryReporters.xul
2018-09-14 22:32:18 +03:00
Bobby Holley
42a527b3d1
Bug 1480293 - Basic Memory Reporting for WebRender. r=jrmuizel
...
Reviewers: jrmuizel, gw
Tags: #secure-revision
Bug #: 1480293
Differential Revision: https://phabricator.services.mozilla.com/D5719
MozReview-Commit-ID: 1vGl3890CjR
2018-09-14 10:59:00 -07:00
sotaro
2bcc8b96f5
Bug 1477608 - Reuse same ExternalImageId for different video frames if possible r=jrmuizel
2018-07-25 23:30:08 +09:00
sotaro
ac2deac432
Bug 1474806 - Use more std::unordered_map in layers r=nical
2018-07-12 12:12:50 +09:00
sotaro
c5d40645d0
Bug 1474501 - Use unordered_map at RenderThread::mRenderTextures r=nical
2018-07-10 18:15:47 +09:00
Kartikaya Gupta
19dbb3ce5e
Bug 1471047 - Ensure the DidComposite start timestamp for WebRender reflects the start of the compositor thread work. r=rhunt
...
MozReview-Commit-ID: Aya91LtDVZA
--HG--
extra : rebase_source : 3e063e914097b64cbb2fbbb30083a940d0d07190
2018-06-25 17:37:35 -04:00
Kartikaya Gupta
3aa8404841
Bug 1463911 - Record the COMPOSITE_TIME telemetry probe for the WR codepath. r=sotaro
...
On the non-WR codepath, the COMPOSITE_TIME probe records the time spent
in CompositorBridgeParent::ComposeToTarget, which does all the
compositing work from vsync to when stuff shows up on the screen. The
equivalent on the WR codepath is spread over multiple threads, but the
start is in WebRenderBridgeParent::ComposeToTarget and the end is when
we decrement the pending frame count in RenderThread. So we can
instrument those sites to record the interval.
MozReview-Commit-ID: 5EMUzBT1f6x
--HG--
extra : rebase_source : eafa7ea9931a3d3fb17b95dc9b9e4aa4ff9ff566
2018-06-25 10:55:26 -04:00
Kartikaya Gupta
2fafba1a1c
Bug 1463911 - Store the WindowInfo objects on the heap. r=sotaro
...
I'm going to make this structure a little bigger in the next patch, so
to avoid the overhead of copying it around we can just store it on the
heap. I also switched to using a std::unordered_map since now the value
is just a pointer.
MozReview-Commit-ID: 2g1Eyu95W4Q
--HG--
extra : rebase_source : 8e78d72c2dad668d543deb9fc07371e74d9ac40f
2018-06-25 10:55:19 -04:00
sotaro
743cf9a01c
Bug 1469480 - Fix simulate device reset handling r=nical
2018-06-19 19:27:37 +09:00
sotaro
9bb0ae245f
Bug 1468675 - Fix way of relasing RenderTextureHosts r=nical
2018-06-14 15:18:48 -07:00
sotaro
2cadce31c2
Bug 1364504 - Handle device resets of ANGLE on Windows r=nical
2018-06-13 08:01:06 -07:00
sotaro
624fefcfd6
Bug 1418202 - Serialize ProgramBinary to/from blob/disk r=nical
2018-05-31 15:07:34 +09:00
Kartikaya Gupta
f7c175a667
Bug 1456978 - Ensure that all generate_frame transactions end up clearing the pending frame count. r=sotaro
...
This prevents us from getting stuck in the frame throttling code where
TooManyPendingFrames always returns true.
MozReview-Commit-ID: 92tybPOaOTP
--HG--
extra : rebase_source : 8934f89a191759e85578db3dfde9e017a03a82eb
2018-04-27 07:41:03 -04:00
Kartikaya Gupta
4b12c6a2da
Bug 1456978 - Rename function to a more appropriate name. r=sotaro
...
MozReview-Commit-ID: 2mVFcPsK6oe
--HG--
extra : rebase_source : 3fef0fbd0c0b42214d638b204c8753de1eca8d67
2018-04-27 07:41:03 -04:00
Andrew Osmond
3db22ac912
Bug 1453801 - Part 3. Fix race condition shutting down the render thread and shared surfaces. r=sotaro
2018-04-23 07:57:17 -04:00
sotaro
71d9e881b1
Bug 1436020 - Disable WebRender profiler UI during readback r=nical
2018-02-15 11:29:40 +09:00
Kartikaya Gupta
78e4bd2c76
Bug 1437949 - Make the wake_up WR notification poke the renderer. r=kvark
...
MozReview-Commit-ID: HxMOW4EF6sn
--HG--
extra : rebase_source : f0e019368c362259388094e50647c39bf39c431e
2018-02-13 14:08:54 -05:00
sotaro
dff4491cb4
Bug 1391159 - Handle WebRender ProgramBinary usage r=nical
2017-11-24 20:58:24 +09:00
sotaro
cfdcc07b34
Bug 1419307 - Make WebRenderAPI::~WebRenderAPI() fast r=nical
2017-11-24 18:34:50 +09:00
sotaro
9bdbc201fd
Bug 1408421 - Improving throttling GenerateFrame() r=jrmuizel
2017-11-03 11:22:28 +09:00
Daniel Holbert
126bd9e1a4
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
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Ryan Hunt
3f3cb0a954
Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
...
MozReview-Commit-ID: 3JTMa9Ix5S7
--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
sotaro
be208a7200
Bug 1377688
- Remove RenderThread::NewScrollFrameReady() r=kats
...
WebRenderBridgeParent::CompositeToTarget() calls WebRenderAPI::GenerateFrame() if it is necessary to trigger UpdateAndRender(). It is not necessary to trigger UpdateAndRender() by new_scroll_frame_ready
2017-07-10 10:46:41 +09:00
vincentliu
5eb2117b57
Bug 1371546 - Sync with the render thread when ShutDown() was called in main thread. r=nical, jerry
2017-07-03 20:08:22 +08:00
Mats Palmgren
20e56bd3a7
Bug 1376464 - Use nsRefPtrHashtable for mRenderTextures then use Remove instead of Get+Remove. Replace Get().get() with GetWeak() in assertions. r=froydnj
...
MozReview-Commit-ID: 6tKFSrPLAW4
2017-06-28 01:03:16 +02:00
Nicolas Silva
4000bfa859
Bug 1370879 - Share the thread pool between webrender instances. r=jrmuizel
2017-06-13 17:57:16 +02:00
JerryShih
b28ccb02ff
Bug 1366502 - Update the thread model for RegisterExternalImage(), UnregisterExternalImage() and GetRenderTexture() call. v2. r=sotaro
...
If we call UnregisterExternalImage() at non-render-thread and decrease the RenderTextureHost's ref-count to zero, the RenderTextureHost will be released in non-render-thread.
That will cause some problems if we use some thread-specific functions in ~RenderTextureHost().
This patch uses a message loop in UnregisterExternalImage() to resolve this problem.
MozReview-Commit-ID: CDazxGkE1cK
2017-06-07 23:44:05 +08:00
sotaro
cbec0e500e
Bug 1365196 - Throttle GenerateFrame() r=kats,nical
2017-05-19 09:21:38 +09:00
Ryan Hunt
422ca37abb
Bug 1356371 - Create a WrExternalImageId because ExternalImageId is not repr(C) r=kats
...
This is only temporary as ExternalImageId has been made repr(C) upstream.
MozReview-Commit-ID: 1On7fRbNI4o
--HG--
extra : rebase_source : 91cb93829de5ccf0a6f0a05ed0d2169268b6c18c
2017-04-13 15:31:09 -04:00
Sotaro Ikeda
fe30e9db69
Bug 1323612
(Part 2) - Add runtime fixups for WebRender on Android. r=kats
...
MozReview-Commit-ID: 2fWRPkRM52e
2017-04-05 10:12:11 -04:00
sotaro
1d710a54ef
Bug 1343764 - Add ExternalBuffer handling r=nical
2017-03-07 19:37:28 +09:00
Jeff Muizelaar
eb0b758e56
Bug 1333593. Add support for snapshotting with the RenderThread. r=nical
2017-01-24 23:29:34 -05:00
Kartikaya Gupta
29dfe5930f
Bug 1333505 - Some cosmetic cleanup (comments/whitespace/alpha-sorting). r=nical
...
MozReview-Commit-ID: 2DYABsBzSrs
2017-01-24 16:06:17 -05:00
Nicolas Silva
83339f9131
Bug 1331515 - Move some types to the mozilla::wr namespace. r=gfx?
2017-01-16 19:22:09 -05:00
Nicolas Silva
c993a8f2b0
Bug 1331515 - Move webrender_bindings/src/webrender.h to webrender_bindings/webrender_ffi.h. r=gfx?
...
--HG--
rename : gfx/webrender_bindings/src/webrender.h => gfx/webrender_bindings/webrender_ffi.h
2017-01-16 19:22:01 -05:00
Nicolas Silva
db18d11b92
Bug 1331515 - mozilla/webrender include path. r=gfx?
2017-01-16 19:21:52 -05:00
Nicolas Silva
e66ff49a44
Bug 1331515 - Move webrender wrappers to the webrender_bindings directory. r=gfx?
...
--HG--
rename : gfx/layers/wr/RenderThread.cpp => gfx/webrender_bindings/RenderThread.cpp
rename : gfx/layers/wr/RenderThread.h => gfx/webrender_bindings/RenderThread.h
rename : gfx/layers/wr/RendererOGL.cpp => gfx/webrender_bindings/RendererOGL.cpp
rename : gfx/layers/wr/RendererOGL.h => gfx/webrender_bindings/RendererOGL.h
rename : gfx/layers/wr/WebRenderAPI.cpp => gfx/webrender_bindings/WebRenderAPI.cpp
rename : gfx/layers/wr/WebRenderAPI.h => gfx/webrender_bindings/WebRenderAPI.h
rename : gfx/layers/wr/WebRenderTypes.h => gfx/webrender_bindings/WebRenderTypes.h
2017-01-16 19:21:43 -05:00