Searched refs:PixelFormat (Results 1 – 4 of 4) sorted by relevance
43 static PixelFormat pixel_format = PixelFormat::UNKNOWN;58 PixelFormat gr_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 …]
156 PixelFormat pixel_format = gr_pixel_format(); in TransformRgbToDraw()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()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()301 if (gr_pixel_format() == PixelFormat::ARGB || gr_pixel_format() == PixelFormat::BGRA) { in res_create_multi_display_surface()303 } else if (gr_pixel_format() == PixelFormat::RGBA) { in res_create_multi_display_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 { enum160 PixelFormat gr_pixel_format();