This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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.
- Loading branch information
Showing
with
167 additions
and 260 deletions.
- +43 −2 include/SDL_compat.h
- +9 −0 include/SDL_pixels.h
- +0 −64 include/SDL_video.h
- +115 −0 src/SDL_compat.c
- +0 −7 src/video/SDL_sysvideo.h
- +0 −147 src/video/SDL_yuv.c
- +0 −40 src/video/SDL_yuvfuncs.h
Oops, something went wrong.