Closed Bug 1423524 Opened 7 years ago Closed 7 years ago

Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage()

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

Details

Attachments

(1 file, 1 obsolete file)

Bug 1415763 added YUVColorSpace to SurfaceDescriptorDXGIYCbCr. Then GLBlitHelper::BlitImage() could know correct YUVColorSpace of SurfaceDescriptorDXGIYCbCr.
Assignee: nobody → sotaro.ikeda.g
Attachment #8934922 - Flags: review?(jgilbert)
Comment on attachment 8934922 [details] [diff] [review]
patch - Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage()

Review of attachment 8934922 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/gl/GLBlitHelperD3D.cpp
@@ +197,5 @@
>  
>              const auto& clipSize = subdesc.size();
>              const auto& ySize = subdesc.sizeY();
>              const auto& uvSize = subdesc.sizeCbCr();
> +            const auto& yUVColorSpace = subdesc.yUVColorSpace();

Keep the colorSpace name. Not sure who r+'d yUVColorSpace, but it should have been yuvColorSpace.
Attachment #8934922 - Flags: review?(jgilbert) → review+
Comment on attachment 8935590 [details] [diff] [review]
patch - Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage()

Applied the comment.
Attachment #8935590 - Flags: review+
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1514dd91f40e
Fix YUVColorSpace of TSurfaceDescriptorDXGIYCbCr at GLBlitHelper::BlitImage() r=jgilbert
https://hg.mozilla.org/mozilla-central/rev/1514dd91f40e
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: