The following are supported in the flags field.
- SDL.SWSURFACE
Surface is stored in system memory
- SDL.HWSURFACE
Surface is stored in video memory
- SDL.ASYNCBLIT
Surface uses asynchronous blits if possible.
- SDL.ANYFORMAT
Allows any pixel-format (Display surface).
- SDL.HWPALETTE
Surface has exclusive palette.
- SDL.DOUBLEBUF
Surface is double buffered (Display surface).
- SDL.FULLSCREEN
Surface is full screen (Display Sur face).
- SDL.OPENGL
Surface has an OpenGL context (Display Surface).
- SDL.OPENGLBLIT
Surface supports OpenGL blitting (Display Surface).
- SDL.RESIZABLE
Surface is resizable (Display Surface).
- SDL.HWACCEL
Surface blit uses hardware acceleration.
- SDL.SRCCOLORKEY
Surface use colorkey blitting.
- SDL.RLEACCEL
Colorkey blitting is accelerated with RLE.
- SDL.SRCALPHA
Surface blit uses alpha blending.
- SDL.PREALLOC
Surface uses preallocated memory.