[Mesa-dev] [RFC-PATCH 00/11] add support for GL_OES_EGL_image_external

Eric Anholt eric at anholt.net
Mon Oct 31 08:46:54 PDT 2011


On Mon, 31 Oct 2011 03:07:26 +0800, Chia-I Wu <olvaffe at gmail.com> wrote:
> From: Chia-I Wu <olv at lunarg.com>
> 
> Hi,
> 
> This patch series adds support for the OpenGL ES specific
> GL_OES_EGL_image_external extension[1].  It is enabled in st/mesa.

> The extension is written with YUV formats in mind.  It describes two possible
> ways to to support them.  One is to insert extra instructions to the shaders
> to let GPU perform the necessary color conversions on the fly.  The other is
> to allocate an internal storage to perform the conversions when the EGLImage
> is specified.  Neither is supported for this series.  It effectively makes the
> implementation a subset of GL_OES_EGL_image function-wise.

Both of these options are why I hated the idea of this extension.

If the application wants to do YUV conversion, it should be doing YUV
conversion.  We give them access to shaders for a reason.  Hiding the
interaction between planar YUV and actual texture units is going to be
miserable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111031/dcd21367/attachment.pgp>


More information about the mesa-dev mailing list