Searched refs:pixel_format (Results 1 – 4 of 4) sorted by relevance
117 PixelFormat pixel_format = gr_pixel_format(); in Init() local118 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()
45 static PixelFormat pixel_format = PixelFormat::UNKNOWN; variable58 return pixel_format; in gr_pixel_format()212 if (pixel_format == PixelFormat::ABGR || 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::BGRA; in gr_init()354 pixel_format = PixelFormat::UNKNOWN; in gr_init()
201 PixelFormat pixel_format = gr_pixel_format(); in res_create_display_surface() local202 if (pixel_format == PixelFormat::ABGR || pixel_format == PixelFormat::BGRA) { in res_create_display_surface()319 PixelFormat pixel_format = gr_pixel_format(); in res_create_alpha_surface() local320 if (pixel_format == PixelFormat::ABGR || pixel_format == PixelFormat::BGRA) { in res_create_alpha_surface()
79 PixelFormat pixel_format = gr_pixel_format(); in Create() local84 if (pixel_format == PixelFormat::ABGR) { in Create()86 } else if (pixel_format == PixelFormat::BGRA) { in Create()88 } else if (pixel_format == PixelFormat::RGBX) { in Create()