diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-02-07 20:14:30 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-02-07 20:14:30 -0500 |
| commit | ea15c8963fa17deaba4356219e481128db66f5bc (patch) | |
| tree | 0e426f2b61a269bb747c48981dd5dfc47913cef3 /drivers/include/gfx.h | |
| parent | c3b4bab880c9b3426db6252240ea3ab7838fa17b (diff) | |
| download | kappa-ea15c8963fa17deaba4356219e481128db66f5bc.zip kappa-ea15c8963fa17deaba4356219e481128db66f5bc.tar.gz kappa-ea15c8963fa17deaba4356219e481128db66f5bc.tar.bz2 kappa-ea15c8963fa17deaba4356219e481128db66f5bc.tar.xz | |
add benchmark
Diffstat (limited to 'drivers/include/gfx.h')
| -rw-r--r-- | drivers/include/gfx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/include/gfx.h b/drivers/include/gfx.h index 19019a9..182428e 100644 --- a/drivers/include/gfx.h +++ b/drivers/include/gfx.h @@ -36,6 +36,17 @@ bool gfx_init(struct vbe_info_t *vbe_mode_info); void gfx_drawpixel(int x, int y, uint32_t color); +void gfx_drawchar(int x, int y, char c, uint32_t fg, uint32_t bg); + +void gfx_putchar(char ch); + +void gfx_puts(const char* str); + void gfx_clear(uint32_t color); +void gfx_reset(void); + extern const uint16_t *gfx_width, *gfx_height; + +/* this is _BYTES_ per pixel, NOT BITS per pixel! */ +extern const uint8_t *gfx_bpp; |