Closed Bug 1472951 Opened 7 years ago Closed 7 years ago

Remove ExternalImageId allocation for ImageClient

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file, 4 obsolete files)

We do not need to allocate ExternalImageId for ImageClient. At WebRenderBridgeParent, ExternalImageId of TextureHost/TextureClient is actually used.
Assignee: nobody → sotaro.ikeda.g
Blocks: 1460515
Attachment #8989370 - Attachment is obsolete: true
Remove unused variable.
Attachment #8989671 - Attachment is obsolete: true
attachment 8989686 [details] [diff] [review] removes ExternalImageId allocation for ImageClient. Instead, use ExternalImageId of TextureClient. ExternalImageId of ImageClient is not actually used as ExternalImageId. WebRender uses ExternalImageId of TextureClient/TextureHost. WebRenderBridgeParent::AddExternalImage() converts ExternalImageId of ImageClient to ExternalImageId of TextureClient/TextureHost if possible. https://dxr.mozilla.org/mozilla-central/source/gfx/layers/wr/WebRenderBridgeParent.cpp#421 Then it becomes simpler if we just use ExternalImageId of TextureClient/TextureHost.
Update log.
Attachment #8989686 - Attachment is obsolete: true
Attachment #8989694 - Flags: review?(nical.bugzilla)
Attachment #8989694 - Flags: review?(nical.bugzilla) → review+
Rebased.
Attachment #8989694 - Attachment is obsolete: true
Attachment #8990285 - Flags: review+
Pushed by sikeda@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/aee8a4964b59 Remove ExternalImageId allocation for ImageClient r=nical
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: