Closed
Bug 1356944
Opened 8 years ago
Closed 8 years ago
Fix external image id allocation of WebRenderTextureHost
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 4 obsolete files)
48.99 KB,
patch
|
nical
:
review+
|
Details | Diff | Splinter Review |
Current external image id allocation of WebRenderTextureHost is allocated locally. It seems better to be consistent to client side.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8858735 -
Attachment is obsolete: true
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8858795 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8858822 -
Flags: review?(jmuizelaar)
Assignee | ||
Updated•8 years ago
|
Attachment #8858822 -
Flags: review?(nical.bugzilla)
Comment 5•8 years ago
|
||
Comment on attachment 8858822 [details] [diff] [review]
patch - Fix external image id allocation of WebRenderTextureHost
Review of attachment 8858822 [details] [diff] [review]:
-----------------------------------------------------------------
It would be great if external image ids were wrapped in a struct like we do for ImageKeys and other id types. Especially since it tends to be passed next to another 64bit integer serial in a number of places. In places where we pass around an optional external id, I would prefer if we pass a Maybe<wr::ExternalImageKey> instead of using zero as a magic value. The overhead is negligible and the intent will be easier to understand.
Comment 6•8 years ago
|
||
Comment on attachment 8858822 [details] [diff] [review]
patch - Fix external image id allocation of WebRenderTextureHost
Review of attachment 8858822 [details] [diff] [review]:
-----------------------------------------------------------------
With nical's suggested changes this seems fine.
Attachment #8858822 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 7•8 years ago
|
||
WrExternalImageId is added by Bug 1356371, I am going to use it.
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #7)
> WrExternalImageId is added by Bug 1356371, I am going to use it.
Bug 1357644 is created for it.
Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8858822 -
Attachment is obsolete: true
Attachment #8858822 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 10•8 years ago
|
||
Assignee | ||
Comment 11•8 years ago
|
||
Attachment #8859478 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8859491 -
Flags: review?(nical.bugzilla)
Assignee | ||
Comment 12•8 years ago
|
||
Updated•8 years ago
|
Attachment #8859491 -
Flags: review?(nical.bugzilla) → review+
Comment 13•8 years ago
|
||
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/e1e65f91a190
Fix external image id allocation of WebRenderTextureHost r=nical
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 14•8 years ago
|
||
status-firefox55:
--- → fixed
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•