Home
last modified time | relevance | path

Searched refs:pixel_format (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/minui/
Dgraphics.cpp44 static PixelFormat pixel_format = PixelFormat::UNKNOWN; variable
57 return pixel_format; in gr_pixel_format()
211 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in gr_color()
347 pixel_format = PixelFormat::ABGR; in gr_init()
349 pixel_format = PixelFormat::RGBX; in gr_init()
351 pixel_format = PixelFormat::ARGB; in gr_init()
353 pixel_format = PixelFormat::BGRA; in gr_init()
355 pixel_format = PixelFormat::UNKNOWN; in gr_init()
Dresources.cpp201 PixelFormat pixel_format = gr_pixel_format(); in res_create_display_surface() local
202 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in res_create_display_surface()
319 PixelFormat pixel_format = gr_pixel_format(); in res_create_alpha_surface() local
320 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in res_create_alpha_surface()
Dgraphics_drm.cpp81 PixelFormat pixel_format = gr_pixel_format(); in Create() local
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()