Searched refs:SDL_PIXELTYPE (Results 1 – 3 of 3) sorted by relevance
124 #define SDL_PIXELTYPE(X) (((X) >> 24) & 0x0F) macro136 ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX1) || \137 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX4) || \138 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX8)))142 ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED8) || \143 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED16) || \144 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32)))148 ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU8) || \149 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU16) || \150 (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU32) || \[all …]
179 if (SDL_PIXELTYPE(format) != SDL_PIXELTYPE_PACKED8 && in SDL_PixelFormatEnumToMasks()180 SDL_PIXELTYPE(format) != SDL_PIXELTYPE_PACKED16 && in SDL_PixelFormatEnumToMasks()181 SDL_PIXELTYPE(format) != SDL_PIXELTYPE_PACKED32) { in SDL_PixelFormatEnumToMasks()
884 && SDL_PIXELTYPE(current->format) == in SDL_GetClosestDisplayModeForDisplay()885 SDL_PIXELTYPE(target_format))) { in SDL_GetClosestDisplayModeForDisplay()