Closed Bug 1754330 Opened 2 years ago Closed 2 years ago

Enable RenderExternalTextureHost usage for BufferTextureHost that is wrapped by GPUVideoTextureHost

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Wrapping BufferTextureHost in GPUVideoTextureHost does not create additional copies of the texture data.
https://searchfox.org/mozilla-central/rev/8e1eb5cbd89a2455c34032d921f8de28261d016b/gfx/layers/composite/GPUVideoTextureHost.cpp#59

Then it seems possible to enable RenderExternalTextureHost usage for BufferTextureHost that is wrapped by GPUVideoTextureHost

Assignee: nobody → sotaro.ikeda.g
Blocks: 1750858
Blocks: video-perf
Depends on: 1754388
Summary: Remove calling DisableExternalTextures() in GPUVideoTextureHost::EnsureWrappedTextureHost() → Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost
Attachment #9262963 - Attachment description: WIP: Bug 1754330 - Remove calling DisableExternalTextures() in GPUVideoTextureHost::EnsureWrappedTextureHost() → WIP: Bug 1754330 - Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost
Attachment #9262963 - Attachment description: WIP: Bug 1754330 - Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost → Bug 1754330 - Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost
Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b095a947c1c9
Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost r=gfx-reviewers,aosmond
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
Summary: Enable RenderExternalTextureHost usage for BufferTextureHost that id wrapped by GPUVideoTextureHost → Enable RenderExternalTextureHost usage for BufferTextureHost that is wrapped by GPUVideoTextureHost
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: