GNOME Bugzilla – Bug 732390
glimagesink: Only shows green on iOS
Last modified: 2014-07-04 12:57:49 UTC
With glimagesink from 1.3.90 only a green frame is drawn all the time. Not too long glimagesink was still working on iOS.
Not too long ago would mean 1.3.1 btw
It works with all the RGB(A/X) formats and AYUV, but fails with the planar YUV formats (e.g. I420 and Y444 and NV12, so 2 and 3 planes) and packed subsampled YUV formats (e.g. UYVY and YUY2).
On my laptop and on Android GLES2 works fine with all these formats.
It might be something in the texture_rg changeover that happened.
Changing all the texture_rg variables to FALSE does not make a difference unfortunately. But of course might still be related to that change, it would make sense. The formats that all don't work are using RG or R textures now.
Disabled texture_rg on my laptop also works, so it's also not the fallback code path that is broken.
Another data point: GRAY8 renders black. So it looks like it's indeed related to non (A)RGB textures, and it renders something: zeroes :)
Hmm and I failed disabling texture_rg. It created R textures for GRAY8.
Author: Sebastian Dröge <email@example.com>
Date: Mon Jun 30 19:15:01 2014 +0200
eagl: Disable usage of R and RG textures on iOS
They don't work currently and just render zeroes, while the
fallback code path with LUM and LUM_ALPHA textures still works.