Closed Bug 1373702 Opened 7 years ago Closed 7 years ago

GLBlitHelper::BlitImageToFramebuffer broken for planar YUV buffer on mac

Categories

(Core :: Graphics: Layers, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox-esr52 --- wontfix
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- fixed

People

(Reporter: jya, Assigned: jgilbert)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

GLBlitHelper::BlitImageToFramebuffer always returns false.

The error occurs in GLBlitHelper::InitTexQuadProgram.

The compilation of the shader appears to fail.

I'm assuming this is a regression
It is difficult to identify when BlitImageToFramebuffer broke, because prior bug 1355430 it would always fallback to Image::GetAsSourceSurface

so you can't visually tell when it broke :(
See Also: → 1355430
Hello Jean. Is there any way to test this? This bug appeared in our regression lists and I would like to find the browser versions affected by this.
Flags: needinfo?(jyavenard)
I don't know if that code ever worked.

It appears as a regression that occurs once bug 1355430 landed. However this is only because that bug added a specific test making sure that code worked.
Flags: needinfo?(jyavenard)
The error for this is: ERROR: 0:1: '' :  version '100' is not supported

Looks like a regression from bug 1235299.
Flags: needinfo?(ethlin)
I will check this issue.
(In reply to Ethan Lin[:ethlin] from comment #5)
> I will check this issue.

Daosheng, could you take a look?
Flags: needinfo?(ethlin) → needinfo?(dmu)
Here is a test case from https://threejs.org/examples/webgl_materials_video.html. After adjusting shader version from #version 100 to #version 120, it can go the fast path.

Besides that, we still have some work for color conversion in the fragment shader.
Assignee: nobody → dmu
Flags: needinfo?(dmu)
It has been resolved at Bug 1322746.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee: dmu → jgilbert
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: