Lines Matching refs:framebuffer
228 Buffer framebuffer; in main() local
229 framebuffer.w = vi.xres; in main()
230 framebuffer.h = vi.yres; in main()
231 framebuffer.s = fi.line_length / (vi.bits_per_pixel >> 3); in main()
232 framebuffer.addr = bits; in main()
257 clearBuffer(&framebuffer, 0); in main()
263 drawRect(&framebuffer, 0x400000, framebuffer.w-2, 0, 2, framebuffer.h); in main()
266 drawCircle(&framebuffer, 0, lag_x, lag_y, 100); in main()
267 drawHLine(&framebuffer, 0, 0, lag_y, 32); in main()
269 drawCircle(&framebuffer, 0, x, y, 100, true); in main()
270 drawHLine(&framebuffer, 0, 0, y, 32); in main()
273 drawHLine(&framebuffer, 0x808080, 0, 1000, framebuffer.w); in main()
281 drawCircle(&framebuffer, 0x00FF00, lag_x, lag_y, 100); in main()
282 drawHLine(&framebuffer, 0x00FF00, 0, lag_y, 32); in main()
285 drawCircle(&framebuffer, 0xFFFFFF, x, y, 100, true); in main()
286 drawHLine(&framebuffer, 0xFFFFFF, 0, y, 32); in main()
289 drawRect(&framebuffer, 0x004000, framebuffer.w-2, 0, 2, framebuffer.h); in main()