Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics_fbdev.cpp90 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init() local
91 if (bits == MAP_FAILED) { in Init()
97 memset(bits, 0, fi.smem_len); in Init()
103 gr_framebuffer[0].data = static_cast<uint8_t*>(bits); in Init()
Dgraphics.cpp301 unsigned char* bits = static_cast<unsigned char*>(malloc(font.width * font.height)); in gr_init_font() local
302 gr_font->texture->data = bits; in gr_init_font()
307 memset(bits, (data & 0x80) ? 255 : 0, data & 0x7f); in gr_init_font()
308 bits += (data & 0x7f); in gr_init_font()