Closed
Bug 1444387
Opened 6 years ago
Closed 6 years ago
Images briefly use fallback when they should not
Categories
(Core :: Graphics: WebRender, enhancement, P1)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(2 files)
4.21 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
2.80 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
Images appear to be resorting to fallback when the image container is empty. This can happen easily when we are in the process of decoding an image, but we haven't produced a surface yet. Rather than just wait like it should, it ends up creating an image client and external image ID for no reason. Since we are racing against the decoder thread, it is also possible that it *does* get the complete image in the meantime, so it uploads a copy of the image using said image client.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → aosmond
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [gfx-noted]
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=89212b258c91fa6bfed2bc27c6a2820a12dadbd0
Assignee | ||
Updated•6 years ago
|
Attachment #8957543 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•6 years ago
|
Attachment #8957544 -
Flags: review?(jmuizelaar)
Comment 3•6 years ago
|
||
Comment on attachment 8957543 [details] [diff] [review] 0001-Bug-1444387-Part-1.-Avoid-using-fallback-if-an-image.patch, v1 Review of attachment 8957543 [details] [diff] [review]: ----------------------------------------------------------------- Maybe add a comment about why we're ignoring the return value?
Updated•6 years ago
|
Attachment #8957544 -
Flags: review?(jmuizelaar) → review+
Updated•6 years ago
|
Attachment #8957543 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #3) > Comment on attachment 8957543 [details] [diff] [review] > 0001-Bug-1444387-Part-1.-Avoid-using-fallback-if-an-image.patch, v1 > > Review of attachment 8957543 [details] [diff] [review]: > ----------------------------------------------------------------- > > Maybe add a comment about why we're ignoring the return value? Will do before landing.
Pushed by aosmond@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/68ab33989e63 Part 1. Avoid using fallback if an image is not ready. r=jrmuizel https://hg.mozilla.org/integration/mozilla-inbound/rev/16155f54ef56 Part 2. Ensure we use NOT_READY for empty image containers with WebRender. r=jrmuizel
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/68ab33989e63 https://hg.mozilla.org/mozilla-central/rev/16155f54ef56
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•