[PATCH] SVN D3D renderer should use accelerated YV12 and I420 (IYUV) when available

D3D renderer shall try mapping YV12 and I420 (IYUV) to D3D texture formats via FOURCC. This will enable HW acceleration for those formats when driver is capable (most of them are). Note that SDL’s IYUV maps I420 FOURCC on Woe.

See attached simple patch.

Regards,–
Adam Strzelecki | nanoant.com
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL-SVN-D3D-try-all-YUV-textures.patch
Type: application/octet-stream
Size: 586 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091126/01784980/attachment.obj

This patch is now in subversion, thanks!On Thu, Nov 26, 2009 at 3:58 AM, Adam Strzelecki wrote:

D3D renderer shall try mapping YV12 and I420 (IYUV) to D3D texture formats via FOURCC. This will enable HW acceleration for those formats when driver is capable (most of them are). Note that SDL’s IYUV maps I420 FOURCC on Woe.

See attached simple patch.

Regards,

Adam Strzelecki | nanoant.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC