Home | History | Annotate | Download | only in include

Lines Matching refs:format

61 /* Everything in the pixel format structure is read-only */
90 SDL_PixelFormat *format; /* Read-only */
109 /* format version, bumped at every change to invalidate blit maps */
122 #define SDL_ANYFORMAT 0x10000000 /* Allow any video depth/pixel-format */
163 SDL_PixelFormat *vfmt; /* Value: The format of the video surface */
184 Uint32 format; /* Read-only */
233 * pixel format, but does not initialize a window or graphics mode.
251 * If SDL is doing format conversion on the display surface, this
260 * member of the returned structure will contain the pixel format of the
280 * given format and video flags, sorted largest to smallest. Returns
281 * NULL if there are no dimensions available for a particular format,
282 * or (SDL_Rect **)-1 if any dimension is okay for the given format.
284 * If 'format' is NULL, the mode list will be for the format given
287 extern DECLSPEC SDL_Rect ** SDLCALL SDL_ListModes(SDL_PixelFormat *format, Uint32 flags);
295 * requested bits-per-pixel, but will return whatever video pixel format is
296 * available. The default is to emulate the requested pixel format if it
447 * Maps an RGB triple to an opaque pixel value for a given pixel format
450 (const SDL_PixelFormat * const format,
454 * Maps an RGBA quadruple to a pixel value for a given pixel format
457 (const SDL_PixelFormat * const format,
461 * Maps a pixel value into the RGB components for a given pixel format
467 * Maps a pixel value into the RGBA components for a given pixel format
475 * If the depth is greater than 8 bits, the pixel format is set using the
482 * with the same format as the display surface. This is useful for surfaces
498 * but the surface format must be identical to the video surface format,
518 * to and read from 'surface->pixels', using the pixel format stored in
519 * 'surface->format'. Once you are done accessing the surface, you should
524 * pixel format of the surface will not change. In particular, if the
610 * Creates a new surface of the specified format, and then copies and maps
713 * The color should be a pixel of the format used by the surface, and
722 * pixel format and colors of the video framebuffer, suitable for fast
735 * pixel format and colors of the video framebuffer (if possible),
758 Uint32 format, SDL_Surface *display);
835 * It takes an icon surface, and a mask in MSB format.