Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp43 static PixelFormat pixel_format = PixelFormat::UNKNOWN; variable
59 return pixel_format; in gr_pixel_format()
116 if (pixel_format == PixelFormat::RGBA) { in pixel_blend()
123 if (pixel_format == PixelFormat::RGBA) { in get_alphamask()
130 if (pixel_format == PixelFormat::RGBA) { in get_alpha_shift()
255 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in gr_color()
257 } else if (pixel_format == PixelFormat::RGBA) { in gr_color()
408 pixel_format = PixelFormat::ABGR; in gr_init()
410 pixel_format = PixelFormat::RGBX; in gr_init()
412 pixel_format = PixelFormat::ARGB; in gr_init()
[all …]
Dresources.cpp156 PixelFormat pixel_format = gr_pixel_format(); in TransformRgbToDraw() local
162 if (pixel_format == PixelFormat::RGBA) { in TransformRgbToDraw()
180 if (pixel_format == PixelFormat::RGBA) { in TransformRgbToDraw()
195 if (pixel_format == PixelFormat::RGBA) { in TransformRgbToDraw()
226 PixelFormat pixel_format = gr_pixel_format(); in res_create_display_surface() local
227 if (pixel_format == PixelFormat::ARGB || pixel_format == PixelFormat::BGRA) { in res_create_display_surface()
229 } else if (pixel_format == PixelFormat::RGBA) { in res_create_display_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()