summaryrefslogtreecommitdiff
path: root/framebuffer/framebuffer.h
blob: 5204dbd92bcc1eab1db58d66c42eefd1f5a32ea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "desktop/plotters.h"

extern const struct plotter_table fb_plotters;

nsfb_t *framebuffer_initialise(const char *fename, int width, int height, int bpp);
bool framebuffer_resize(nsfb_t *nsfb, int width, int height, int bpp);
void framebuffer_finalise(void);
bool framebuffer_set_cursor(struct fbtk_bitmap *bm);

/** Set framebuffer surface to render into
 *
 * @return return old surface
 */
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb);