Searched refs:surface (Results 1 – 4 of 4) sorted by relevance
| /kernel/lib/gfx/ |
| A D | gfx.cpp | 144 surface->fillrect(surface, x, y, width, height, color); in gfx_fillrect() 156 surface->putpixel(surface, x, y, color); in gfx_putpixel() 264 surface->putpixel(surface, px, py, color); in gfx_line() 275 surface->putpixel(surface, px, py, color); in gfx_line() 454 surface->putchar(surface, font, ch, x, y, fg, bg); in gfx_putchar() 465 surface->flush(0, surface->height - 1); in gfx_flush() 527 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_init_surface() 537 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_init_surface() 546 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_init_surface() 555 surface->len = (surface->height * surface->stride * surface->pixelsize); in gfx_init_surface() [all …]
|
| /kernel/lib/gfxconsole/ |
| A D | gfxconsole.cpp | 43 gfx_surface* surface; member 128 gfx_copyrect(gfxconsole.surface, 0, font->height, gfxconsole.surface->width, in gfxconsole_putc() 133 … gfx_fillrect(gfxconsole.surface, 0, gfxconsole.surface->height - font->height - gfxconsole.extray, in gfxconsole_putc() 135 gfx_flush(gfxconsole.surface); in gfxconsole_putc() 164 gfx_flush(gfxconsole.surface); in gfxconsole_print_callback() 183 gfxconsole.surface = surface; in gfxconsole_setup() 187 memcpy(&gfxconsole.line, surface, sizeof(*surface)); in gfxconsole_setup() 189 gfxconsole.linestride = surface->stride * surface->pixelsize * font->height; in gfxconsole_setup() 214 gfx_fillrect(gfxconsole.surface, 0, 0, gfxconsole.surface->width, gfxconsole.surface->height, in gfxconsole_clear() 216 gfx_flush(gfxconsole.surface); in gfxconsole_clear() [all …]
|
| /kernel/lib/gfx/include/lib/ |
| A D | gfx.h | 72 void gfx_fillrect(gfx_surface* surface, uint x, uint y, uint width, uint height, uint color); 75 void gfx_putpixel(gfx_surface* surface, uint x, uint y, uint color); 78 void gfx_line(gfx_surface* surface, uint x1, uint y1, uint x2, uint y2, uint color); 84 void gfx_flush(struct gfx_surface* surface); 87 void gfx_flush_rows(struct gfx_surface* surface, uint start, uint end); 89 void gfx_putchar(struct gfx_surface* surface, const struct gfx_font* font, 93 static inline void gfx_clear(gfx_surface* surface, uint color) { in gfx_clear() argument 94 surface->fillrect(surface, 0, 0, surface->width, surface->height, color); in gfx_clear() 95 gfx_flush(surface); in gfx_clear() 105 zx_status_t gfx_init_surface_from_display(gfx_surface* surface, struct display_info*); [all …]
|
| /kernel/lib/gfxconsole/include/lib/ |
| A D | gfxconsole.h | 17 void gfxconsole_start(gfx_surface* surface, gfx_surface* hw_surface);
|
Completed in 17 milliseconds