Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in NV12/NV21 shaders in OpenGLES2 #3108

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Bug in NV12/NV21 shaders in OpenGLES2 #3108

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Labels
invalid This doesn't seem right

Comments

@SDLBugzilla
Copy link
Collaborator

SDLBugzilla commented Feb 11, 2021

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: HG 2.0
Reported for operating system, platform: Other, ARM

Comments on the original bug report:

On 2018-12-20 02:05:10 +0000, Ryan C. Gordon wrote:

From https://discourse.libsdl.org/t/sdl2-bug-in-nv12-nv21-shaders-in-opengles2/25480

“it looks like the NV12/NV21 shaders are broken in OpenGLES2 renderer.”

On 2018-12-20 02:08:04 +0000, Ryan C. Gordon wrote:

I haven’t looked at this, but the GLES2 renderer sometimes does strange things with color channels to fake support for different texture formats...this fix might be valid, but it needs to be examined further first.

--ryan.

On 2019-08-20 15:09:57 +0000, Sylvain wrote:

Created attachment 3931
test-case

I've just tried with this test-case and it seems to be displayed correctly.
Applying the patch would produce bad colors.

So I'm closing it ...

On 2019-08-20 15:10:23 +0000, Sylvain wrote:

marked as invalid

@SDLBugzilla SDLBugzilla added bug invalid This doesn't seem right labels Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant