Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp39 static uint32_t gr_current = ~0; variable
81 if (alpha == 255) return gr_current; in pixel_blend()
86 uint32_t cur_r = gr_current & 0xff; in pixel_blend()
87 uint32_t cur_g = gr_current & 0xff00; in pixel_blend()
88 uint32_t cur_b = gr_current & 0xff0000; in pixel_blend()
94 return (out_r & 0xff) | (out_g & 0xff00) | (out_b & 0xff0000) | (gr_current & 0xff000000); in pixel_blend()
144 uint8_t alpha_current = static_cast<uint8_t>((alpha_mask & gr_current) >> 24); in TextBlend()
159 if (!font || !font->texture || (gr_current & alpha_mask) == 0) return; in gr_text()
213 gr_current = (a32 << 24) | (r32 << 16) | (g32 << 8) | b32; in gr_color()
215 gr_current = (a32 << 24) | (b32 << 16) | (g32 << 8) | r32; in gr_color()
[all …]