Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp45 static PixelFormat pixel_format = PixelFormat::UNKNOWN; variable
58 return 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()
Dgraphics_adf.cpp117 PixelFormat pixel_format = gr_pixel_format(); in Init() local
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()
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()