Closed
Bug 1498092
Opened 6 years ago
Closed 6 years ago
Fix forced frame rendering
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 7 obsolete files)
2.74 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
Bug 1461239 added capability to skip WR frame rendering if there is no update. But it forgot to add necessary "force frame rendering".
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → sotaro.ikeda.g
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Assignee | ||
Comment 3•6 years ago
|
||
Attachment #9016141 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Summary: Add necessary force frame rendering → Add necessary forced frame rendering
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Assignee | ||
Updated•6 years ago
|
Attachment #9016228 -
Flags: review?(nical.bugzilla)
Comment 7•6 years ago
|
||
Comment on attachment 9016228 [details] [diff] [review]
patch - Add necessary forced frame rendering
Review of attachment 9016228 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/ipc/CompositorBridgeParent.cpp
@@ +941,5 @@
> return;
> }
>
> if (mWrBridge) {
> + mWrBridge->ScheduleForcedGenerateFrame();
Could you explain why we need to force generating the frame in this case?
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9016228 [details] [diff] [review]
patch - Add necessary forced frame rendering
Review of attachment 9016228 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/ipc/CompositorBridgeParent.cpp
@@ +941,5 @@
> return;
> }
>
> if (mWrBridge) {
> + mWrBridge->ScheduleForcedGenerateFrame();
Oh, sorry, it is a mistake.
Attachment #9016228 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 9•6 years ago
|
||
Attachment #9016228 -
Attachment is obsolete: true
Assignee | ||
Comment 10•6 years ago
|
||
Comment on attachment 9016481 [details] [diff] [review]
patch - Add necessary forced frame rendering
:nical, can you review the patch again?
Attachment #9016481 -
Flags: review?(nical.bugzilla)
Comment 11•6 years ago
|
||
Comment on attachment 9016481 [details] [diff] [review]
patch - Add necessary forced frame rendering
Review of attachment 9016481 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/wr/WebRenderBridgeParent.cpp
@@ +1389,5 @@
>
> mozilla::ipc::IPCResult
> WebRenderBridgeParent::RecvScheduleComposite()
> {
> + ScheduleForcedGenerateFrame();
As far as I can tell we receive this message for APZ related things for which the render backend should be able to figure out on its own whether the frame has changed without the need to invalidate the rendered frame manually. Could you explain why we need this here as well?
Assignee | ||
Comment 12•6 years ago
|
||
Comment on attachment 9016481 [details] [diff] [review]
patch - Add necessary forced frame rendering
Review of attachment 9016481 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/wr/WebRenderBridgeParent.cpp
@@ +1389,5 @@
>
> mozilla::ipc::IPCResult
> WebRenderBridgeParent::RecvScheduleComposite()
> {
> + ScheduleForcedGenerateFrame();
I agree. It is better to change to ScheduleGenerateFrame().
Attachment #9016481 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 13•6 years ago
|
||
Comment on attachment 9016481 [details] [diff] [review]
patch - Add necessary forced frame rendering
Review of attachment 9016481 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/layers/wr/WebRenderBridgeParent.cpp
@@ +1389,5 @@
>
> mozilla::ipc::IPCResult
> WebRenderBridgeParent::RecvScheduleComposite()
> {
> + ScheduleForcedGenerateFrame();
In Bug 1461239, I misunderstood this function is use for RecvForcePresent().
Assignee | ||
Comment 14•6 years ago
|
||
Addressed the comment.
Attachment #9016481 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #9016827 -
Flags: review?(nical.bugzilla)
Updated•6 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
Updated•6 years ago
|
Attachment #9016827 -
Flags: review?(nical.bugzilla) → review+
Comment 15•6 years ago
|
||
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3ad88a9f8f35
Add necessary forced frame rendering r=nical
Comment 16•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee | ||
Updated•6 years ago
|
Summary: Add necessary forced frame rendering → Fix forced frame rendering
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•