Matt Woodrow
d60b1c2ebd
Bug 1514640 - Only allow late compositing if the content phase didn't happen in the same vsync. r=jrmuizel
...
Depends on D15020
Differential Revision: https://phabricator.services.mozilla.com/D15132
2018-12-20 22:52:07 +00:00
Matt Woodrow
a7d79e1289
Bug 1514640 - Allow slow scene building to start a composite a bit late. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D15020
2018-12-20 22:43:01 +00:00
Jan Beich
cfd85955b0
Bug 1511726 - Don't try to use shader disk cache if disabled. r=bholley
2018-12-11 12:08:15 -08:00
Matt Woodrow
7670c54fee
Bug 1510853 - Followup to restore code that accidentally got removed during a rebase.
2018-12-11 08:31:12 +13:00
Matt Woodrow
b6c358af34
Bug 1510853 - Add CONTENT_FRAME_TIME_REASON. r=jrmuizel, data-review=chutten
...
MozReview-Commit-ID: 9RV9ZkHXZTR
Differential Revision: https://phabricator.services.mozilla.com/D13351
2018-12-07 23:28:41 +00:00
Ciure Andrei
a6997e55b7
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
5c02bca5bf
Bug 1510853 - Add CONTENT_FRAME_TIME_REASON. r=jrmuizel, data-review=chutten
...
MozReview-Commit-ID: 9RV9ZkHXZTR
Differential Revision: https://phabricator.services.mozilla.com/D13351
2018-12-07 17:02:58 +00:00
Matt Woodrow
1d79c75b4d
Bug 1511797 - Allow catch up compositing to continue when we complete frame building. r=sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D13953
2018-12-06 22:19:03 +00:00
Bobby Holley
f8e0ef40c3
Bug 1510490 - Measure shader cache memory usage and remove total_gpu_bytes. r=mattwoodrow
...
The latter causes confusion in the memory reports because it gets summed
up and thus effectively doubles the reported texture memory usage. I've
decided it's best to drop, and so might as well do that while we're
already messing around with the memory reports and the associated
boilerplate.
Depends on D13439
Differential Revision: https://phabricator.services.mozilla.com/D13440
2018-12-01 10:43:03 -08:00
shindli
18dc4f41b1
Backed out 7 changesets (bug 1510490) for Btup bustages CLOSED TREE
...
Backed out changeset f9d8e4ebe0a2 (bug 1510490)
Backed out changeset 55fa8c9b0c7e (bug 1510490)
Backed out changeset ee215fdef53f (bug 1510490)
Backed out changeset c02d08e9dd38 (bug 1510490)
Backed out changeset 6fafd118a82a (bug 1510490)
Backed out changeset 094544e620e1 (bug 1510490)
Backed out changeset 96e1ddc0637b (bug 1510490)
2018-12-01 07:07:26 +02:00
Bobby Holley
cb8c08aa76
Bug 1510490 - Measure shader cache memory usage and remove total_gpu_bytes. r=mattwoodrow
...
The latter causes confusion in the memory reports because it gets summed
up and thus effectively doubles the reported texture memory usage. I've
decided it's best to drop, and so might as well do that while we're
already messing around with the memory reports and the associated
boilerplate.
Depends on D13439
Differential Revision: https://phabricator.services.mozilla.com/D13440
2018-12-01 03:05:56 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Matt Woodrow
794ea51922
Bug 1510899 - Try catch up composites with WR. r=jrmuizel,sotaro
...
MozReview-Commit-ID: LXIpsvZZ96U
Differential Revision: https://phabricator.services.mozilla.com/D13377
2018-11-29 18:30:06 +00:00
Matt Woodrow
3e2a7bb8c2
Bug 1507680 - Record detailed statistics about slow WebRender frames in about:support. r=jrmuizel
...
MozReview-Commit-ID: 84SjN1RvvAA
Differential Revision: https://phabricator.services.mozilla.com/D12372
2018-11-16 15:13:56 +13:00
Jeff Muizelaar
a9e41ff337
Bug 1507686 - Record LayerManager URL for each paint so that we can correlate it with slow paints. r=mattwoodrow
...
MozReview-Commit-ID: 2RUWkboAOJz
2018-11-19 20:55:28 +13:00
sotaro
1d58f3676d
Bug 1506762 - Store wr::WebRenderPipelineInfo directly in AsyncImagePipelineManager::PipelineUpdates r=mattwoodrow
2018-11-16 22:01:01 +09:00
Matt Woodrow
54503aabc4
Bug 1503405 - Add telemetry for CONTENT_FRAME_WITH with texture upload excluded. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D11971
2018-11-15 23:09:05 +00:00
Matt Woodrow
e7b6030c99
Bug 1506492 - Report WebRender swap-chain memory usage. r=bholley
...
Differential Revision: https://phabricator.services.mozilla.com/D11594
2018-11-13 03:15:51 +00:00
sotaro
eaf9a57f34
Bug 1506091 - Wait for GPU after posting NotifyDidRender r=mattwoodrow
2018-11-12 10:36:13 +09:00
Bobby Holley
75aaa76a6d
Bug 1504115 - Missing bits from landed patch. r=gw
...
Somehow the mc patch lost the changes in webrending_bindings when it
landed.
2018-11-08 12:49:57 -08:00
Matt Woodrow
e715de6498
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
2018-11-04 20:35:36 +00:00
sotaro
3e7ee0e9a3
Bug 1502789 - Fix Texture release timing of AsyncImagePipelineManager::ProcessPipelineUpdates() r=nical
2018-10-31 14:19:41 +09:00
sotaro
b0476dd0fd
Bug 1500821 - Call RecordFrame() only for non-empty frame at NotifyDidRender() r=mattwoodrow
2018-10-23 13:21:02 +09:00
sotaro
f39a6e7f4b
Bug 1500520 - Always check graphics reset status in RenderThread::UpdateAndRender() r=nical
2018-10-23 12:14:45 +09:00
sotaro
c5565cca7a
Bug 1497910 - Call wr_renderer_readback() before calling RenderCompositor::EndFrame() r=nical
2018-10-17 07:54:01 +09:00
Dan Glastonbury
b21b5d4185
Bug 1492723 - Use EGL_MOZ_context_create_provoking_vertex_dont_care. r=mattwoodrow
...
MozReview-Commit-ID: It8fOzqiFIe
2018-09-27 17:31:30 +12:00
Jeff Muizelaar
be193259f0
Bug 1495902. Create a shared Shaders object for all windows to use. r=jrmuizel
2018-10-09 23:20:20 -04:00
Dan Glastonbury
312c310bf4
Bug 1494763 - Use a single shared GLContext in RenderThread when we support it. r=sotaro
...
Differential Revision: https://phabricator.services.mozilla.com/D7382
2018-10-04 02:54:50 +00:00
sotaro
dfc06846ef
Bug 1495352 - Make wr_notifier_nop_frame_done() notify DidComposite r=nical
2018-10-02 12:13:22 +09:00
sotaro
420b356afb
Bug 1494533 - Fix log message of copy-paste error r=nical
2018-09-28 14:36:30 +09:00
Bobby Holley
550c69743a
Bug 1494430 - Handle torn-down Render thread when getting memory reports. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D6994
2018-09-26 20:44:59 +00:00
Bobby Holley
d088bdc5db
Bug 1491478 - Move WebRender memory reporting back to gfxPlatform. r=me
...
This is how things looked when jrmuizel reviewed them.
MozReview-Commit-ID: Gqp1tcNzsjC
2018-09-14 22:03:49 -07:00
Bobby Holley
9aaefccf1e
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
912758b2d2
Backed out changeset 9762d76da9b3 (bug 1480293) for failing at aboutmemory/tests/test_memoryReporters.xul
2018-09-14 22:32:18 +03:00
Bobby Holley
7af16feb57
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
Matt Woodrow
4ad935a08e
Bug 1488980 - Implement StartFrameTimeRecording for WebRender. r=mstange
...
MozReview-Commit-ID: Ib5t0e8S6df
Differential Revision: https://phabricator.services.mozilla.com/D5103
2018-09-08 18:41:34 +00:00
sotaro
62d65b4952
Bug 1478570 - Fix ExternalImageId allocation of AsyncImagePipelineManager r=jrmuizel
2018-07-30 10:16:03 +09:00
sotaro
ea892379c7
Bug 1477608 - Reuse same ExternalImageId for different video frames if possible r=jrmuizel
2018-07-25 23:30:08 +09:00
sotaro
37752c0386
Bug 1474501 - Use unordered_map at RenderThread::mRenderTextures r=nical
2018-07-10 18:15:47 +09:00
Kartikaya Gupta
90456d71ef
Bug 1471047 - Ensure the DidComposite start timestamp for WebRender reflects the start of the compositor thread work. r=rhunt
...
MozReview-Commit-ID: Aya91LtDVZA
2018-06-25 17:37:35 -04:00
Kartikaya Gupta
cf9a9950f1
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
2018-06-25 10:55:26 -04:00
Kartikaya Gupta
fd308bed4c
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
2018-06-25 10:55:19 -04:00
sotaro
2b6b92b5e7
Bug 1469480 - Fix simulate device reset handling r=nical
2018-06-19 19:27:37 +09:00
sotaro
f662d7e248
Bug 1468675 - Fix way of relasing RenderTextureHosts r=nical
2018-06-14 15:18:48 -07:00
sotaro
a25b9e858a
Bug 1364504 - Handle device resets of ANGLE on Windows r=nical
2018-06-13 08:01:06 -07:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
sotaro
93349a4844
Bug 1418202 - Serialize ProgramBinary to/from blob/disk r=nical
2018-05-31 15:07:34 +09:00
Kartikaya Gupta
5436ad506c
Bug 1417784 - Shift how the AsyncImagePipelineManager is notified of updates. r=sotaro
...
Instead of notifying the AsyncImagePipelineManager on the compositor
thread via the CompositorBridgeParent, we can send it the new pipeline
info directly from the RenderThread after the update happens. This
effectively splits the AsyncImagePipelineManager update-processing into
two parts: one that takes in the new pipeline info and one that process
it. This allows us to invoke the processing step from other code running
on the compositor thread, which we will need to do in the next patch.
MozReview-Commit-ID: 7xhm8I7bY4C
2018-05-28 11:29:41 -04:00
Kartikaya Gupta
374f3c087b
Bug 1417784 - Use a CompositorBridgeParent* instead of a base class pointer. r=sotaro
...
We do a silent upcast from CompositorBridgeParent* to the base class and
pass it around as a CompositorBridgeParentBase* for no reason. Avoiding
this simplifies the code slightly and avoids virtual function overhead.
We do need to move a couple of functions in CompositorBridgeParent from
protected scope to public scope.
MozReview-Commit-ID: 9Zq3GwxEXpr
2018-05-28 11:29:41 -04:00
Kartikaya Gupta
e0f18dfdf3
Bug 1457466 - Trigger a render/composite after an async scene build has been swapped in. r=nical
...
MozReview-Commit-ID: DLROm9gg544
2018-05-11 09:09:16 -04:00