Searched refs:PixelFormat (Results 1 – 5 of 5) sorted by relevance
45 static PixelFormat pixel_format = PixelFormat::UNKNOWN;57 PixelFormat gr_pixel_format() { in gr_pixel_format()212 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in gr_color()348 pixel_format = PixelFormat::ABGR; in gr_init()350 pixel_format = PixelFormat::RGBX; in gr_init()352 pixel_format = PixelFormat::ARGB; in gr_init()354 pixel_format = PixelFormat::BGRA; in gr_init()356 pixel_format = PixelFormat::UNKNOWN; in gr_init()
117 PixelFormat pixel_format = gr_pixel_format(); in Init()118 if (pixel_format == PixelFormat::ABGR) { in Init()120 } else if (pixel_format == PixelFormat::BGRA) { in Init()122 } else if (pixel_format == PixelFormat::RGBX) { in Init()
201 PixelFormat pixel_format = gr_pixel_format(); in res_create_display_surface()202 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in res_create_display_surface()274 if (gr_pixel_format() == PixelFormat::ARGB || gr_pixel_format() == PixelFormat::BGRA) { in res_create_multi_display_surface()319 PixelFormat pixel_format = gr_pixel_format(); in res_create_alpha_surface()320 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in res_create_alpha_surface()
81 PixelFormat pixel_format = gr_pixel_format(); in Create()86 if (pixel_format == PixelFormat::ABGR) { in Create()88 } else if (pixel_format == PixelFormat::BGRA) { in Create()90 } else if (pixel_format == PixelFormat::RGBX) { in Create()92 } else if (pixel_format == PixelFormat::ARGB) { in Create()
99 enum class PixelFormat : int { enum145 PixelFormat gr_pixel_format();