Changeset View
Changeset View
Standalone View
Standalone View
stand/common/gfx_fb.h
Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | |||||
/* Screen buffer element */ | /* Screen buffer element */ | ||||
struct text_pixel { | struct text_pixel { | ||||
teken_char_t c; | teken_char_t c; | ||||
teken_attr_t a; | teken_attr_t a; | ||||
}; | }; | ||||
extern const int cons_to_vga_colors[NCOLORS]; | extern const int cons_to_vga_colors[NCOLORS]; | ||||
/* Set by freebsd-LoaderRotate UEFI variable, determines rotation of framebuffer. */ | |||||
extern uint32_t rotation; | |||||
/* Screen buffer to track changes on the terminal screen. */ | /* Screen buffer to track changes on the terminal screen. */ | ||||
extern struct text_pixel *screen_buffer; | extern struct text_pixel *screen_buffer; | ||||
bool is_same_pixel(struct text_pixel *, struct text_pixel *); | bool is_same_pixel(struct text_pixel *, struct text_pixel *); | ||||
bool gfx_get_edid_resolution(struct vesa_edid_info *, edid_res_list_t *); | bool gfx_get_edid_resolution(struct vesa_edid_info *, edid_res_list_t *); | ||||
void gfx_framework_init(void); | void gfx_framework_init(void); | ||||
void gfx_fb_cons_display(uint32_t, uint32_t, uint32_t, uint32_t, void *); | void gfx_fb_cons_display(uint32_t, uint32_t, uint32_t, uint32_t, void *); | ||||
void gfx_fb_setpixel(uint32_t, uint32_t); | void gfx_fb_setpixel(uint32_t, uint32_t); | ||||
Show All 21 Lines |