diff src/video/SDL_sysvideo.h @ 1675:d33dcfc3fde7 SDL-1.3

Overlay functions are being replaced by YUV textures. If the driver doesn't support YUV textures, they can be emulated by backing the texture with an RGB texture and using the software conversion routines. Note that it doesn't make sense to lock a portion of a YV12 texture, since you'd need to return three pixel pointers and pitch values instead of the one that's available through the API. I'm guessing that's one of the reasons DirectX 9 doesn't support this format at all.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 11 Jun 2006 07:30:16 +0000
parents 624e1412fbba
children e136f3ffdc1b
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sun Jun 11 05:27:10 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Sun Jun 11 07:30:16 2006 +0000
@@ -200,13 +200,6 @@
       SDL_bool(*GetWindowWMInfo) (_THIS, SDL_Window * window,
                                   SDL_SysWMinfo * info);
 
-    /* Create a YUV video surface (possibly overlay) of the given
-       format.  The hardware should be able to perform at least 2x
-       scaling on display.
-     */
-    SDL_Overlay *(*CreateYUVOverlay) (_THIS, int width, int height,
-                                      Uint32 format, SDL_Surface * display);
-
     /* Reverse the effects VideoInit() -- called if VideoInit() fails
        or if the application is shutting down the video subsystem.
      */