Searched refs:bits (Results 1 – 2 of 2) sorted by relevance
123 void* bits = mmap(0, fi.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in fbdev_init() local124 if (bits == MAP_FAILED) { in fbdev_init()130 memset(bits, 0, fi.smem_len); in fbdev_init()136 gr_framebuffer[0].data = reinterpret_cast<uint8_t*>(bits); in fbdev_init()
291 unsigned char* bits = reinterpret_cast<unsigned char*>(malloc(font.width * font.height)); in gr_init_font() local292 gr_font->texture->data = reinterpret_cast<unsigned char*>(bits); in gr_init_font()297 memset(bits, (data & 0x80) ? 255 : 0, data & 0x7f); in gr_init_font()298 bits += (data & 0x7f); in gr_init_font()