Closed Bug 1387352 Opened 7 years ago Closed 7 years ago

Youtube video is not rendered in layers-free mode

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

When I enabled layers-free mode, youtube video was not rendered.
Assignee: nobody → sotaro.ikeda.g
WebRenderLayerManager::CreateImageKey() returns Nothing() if ImageContainer is async, since it does not use ImageKey instead it uses Pipeline. But it makes WebRenderLayerManager::PushImage() return false and then resulted to item->CreateWebRenderCommands() returned false. WebRenderLayerManager::CreateWebRenderCommandsFromDisplayList() recognized that item failed to generate WebRender command and then tried to fall backed with WebRenderLayerManager::PushItemAsImage().
Blocks: layers-free
Attachment #8893709 - Flags: review?(bugmail)
Attachment #8893709 - Flags: review?(nical.bugzilla)
Comment on attachment 8893709 [details] [diff] [review]
patch - Fix async ImageContainer handling in layers-free mode

Review of attachment 8893709 [details] [diff] [review]:
-----------------------------------------------------------------

Please update commit message to be more specific, maybe mention that this avoids falling into the fallback codepath for async ImageContainers.
Attachment #8893709 - Flags: review?(bugmail) → review+
Attachment #8893709 - Flags: review?(nical.bugzilla)
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d7cfcee941c0
Avoids falling into the fallback codepath for async ImageContainers in layers-free mode r=kats
https://hg.mozilla.org/mozilla-central/rev/d7cfcee941c0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: