Closed Bug 1351187 Opened 7 years ago Closed 7 years ago

[WR] Try to use 1 image key for all yuv planes.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jerry, Assigned: jerry)

References

Details

https://github.com/servo/webrender/issues/1001

Currently, webrender uses 3 different image keys for a planer yuv image(there are 3 y, u and v channels).

    pub fn push_yuv_image(&mut self,
                          rect: LayoutRect,
                          clip: ClipRegion,
                          y_key: ImageKey,
                          u_key: ImageKey,
                          v_key: ImageKey,
                          color_space: YuvColorSpace)

It's easier to use 1 image key for all yuv planes, since we have 1 textureHost containing 3 yuv planes.
I'm trying to update the resource_cache in WR now.
Blocks: 1351189
Summary: Try to use 1 image key for all yuv planes. → [WR] Try to use 1 image key for all yuv planes.
Blocks: 1357299
It was merged.
https://github.com/servo/webrender/pull/1125
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.