Searched refs:gfx_state (Results 1 - 18 of 18) sorted by relevance

/freebsd-13-stable/stand/efi/loader/
H A Dframebuffer.h36 int efi_find_framebuffer(teken_gfx_t *gfx_state);
H A Dbootinfo.c303 efifb.fb_addr = gfx_state.tg_fb.fb_addr;
304 efifb.fb_size = gfx_state.tg_fb.fb_size;
305 efifb.fb_height = gfx_state.tg_fb.fb_height;
306 efifb.fb_width = gfx_state.tg_fb.fb_width;
307 efifb.fb_stride = gfx_state.tg_fb.fb_stride;
308 efifb.fb_mask_red = gfx_state.tg_fb.fb_mask_red;
309 efifb.fb_mask_green = gfx_state.tg_fb.fb_mask_green;
310 efifb.fb_mask_blue = gfx_state.tg_fb.fb_mask_blue;
311 efifb.fb_mask_reserved = gfx_state.tg_fb.fb_mask_reserved;
H A Dframebuffer.c540 efi_find_framebuffer(teken_gfx_t *gfx_state) argument
548 gfx_state->tg_fb_type = FB_TEXT;
585 gfx_state->tg_fb_type = FB_GOP;
586 gfx_state->tg_private = gop;
592 gfx_state->tg_fb_type = FB_UGA;
593 gfx_state->tg_private = uga;
599 switch (gfx_state->tg_fb_type) {
612 gfx_state->tg_fb.fb_addr = efifb.fb_addr;
613 gfx_state->tg_fb.fb_size = efifb.fb_size;
614 gfx_state
[all...]
/freebsd-13-stable/stand/efi/libefi/
H A Defi_console.c486 ap = teken_get_defattr(&gfx_state.tg_teken);
505 teken_set_defattr(&gfx_state.tg_teken, &a);
508 teken_input(&gfx_state.tg_teken, "\e[2J", 4);
849 if (gfx_state.tg_fb_type == FB_TEXT)
861 teken_set_defattr(&gfx_state.tg_teken, &attr);
863 gfx_fb_drawrect(0, 0, gfx_state.tg_fb.fb_width,
864 gfx_state.tg_origin.tp_row, 1);
866 gfx_state.tg_fb.fb_height - gfx_state.tg_origin.tp_row - 1,
867 gfx_state
[all...]
/freebsd-13-stable/stand/i386/libi386/
H A Dvidconsole.c590 ap = teken_get_defattr(&gfx_state.tg_teken);
609 teken_set_defattr(&gfx_state.tg_teken, &a);
612 teken_input(&gfx_state.tg_teken, "\e[2J", 4);
620 if (gfx_state.tg_fb_type == FB_TEXT)
636 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1;
637 goff = ffs(gfx_state.tg_fb.fb_mask_green) - 1;
638 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
640 gfx_state.tg_fb.fb_mask_red >> roff, roff,
641 gfx_state.tg_fb.fb_mask_green >> goff, goff,
642 gfx_state
[all...]
H A Dvbe.c271 gfx_state.tg_mode = mode;
272 gfx_state.tg_fb_type = FB_TEXT;
273 gfx_state.tg_fb.fb_height = TEXT_ROWS;
274 gfx_state.tg_fb.fb_width = TEXT_COLS;
276 gfx_state.tg_fb.fb_mask_red = (1 << palette_format) - 1 << 16;
277 gfx_state.tg_fb.fb_mask_green = (1 << palette_format) - 1 << 8;
278 gfx_state.tg_fb.fb_mask_blue = (1 << palette_format) - 1 << 0;
279 gfx_state.tg_ctype = CT_INDEXED;
542 if (gfx_state.tg_mode != mode) {
563 gfx_state
[all...]
H A Dbootinfo.c44 if (!gfx_state.tg_kernel_supported) {
56 sizeof(gfx_state.tg_fb), &gfx_state.tg_fb);
/freebsd-13-stable/stand/common/
H A Dgfx_fb.c120 teken_gfx_t gfx_state = { 0 }; variable
190 return (ptov((uint32_t)gfx_state.tg_fb.fb_addr));
283 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1;
284 goff = ffs(gfx_state.tg_fb.fb_mask_green) - 1;
285 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1;
286 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3;
289 rmask = gfx_state.tg_fb.fb_mask_red >> roff;
294 gmask = gfx_state.tg_fb.fb_mask_green >> goff;
299 bmask = gfx_state.tg_fb.fb_mask_blue >> boff;
421 if (DestinationY + Height > gfx_state
[all...]
H A Dgfx_fb.h227 extern teken_gfx_t gfx_state;
H A Dmodule.c275 gfx_state.tg_kernel_supported = false;
648 if (gfx_state.tg_font.vf_width == fl->font_data->vfbd_width &&
649 gfx_state.tg_font.vf_height == fl->font_data->vfbd_height) {
H A Dload_elf.c878 if (!gfx_state.tg_kernel_supported &&
885 gfx_state.tg_kernel_supported =
/freebsd-13-stable/stand/liblua/
H A Dlutils.c375 x1 = gfx_state.tg_origin.tp_col + x1 * gfx_state.tg_font.vf_width;
376 y1 = gfx_state.tg_origin.tp_row + y1 * gfx_state.tg_font.vf_height;
378 x2 = gfx_state.tg_origin.tp_col +
379 x2 * gfx_state.tg_font.vf_width;
382 y2 = gfx_state.tg_origin.tp_row +
383 y2 * gfx_state.tg_font.vf_height;
/freebsd-13-stable/stand/mips/beri/loader/
H A Dgfx_fb.c40 teken_gfx_t gfx_state = { 0 }; variable
/freebsd-13-stable/stand/powerpc/kboot/
H A Dgfx_fb.c40 teken_gfx_t gfx_state = { 0 }; variable
/freebsd-13-stable/stand/powerpc/ofw/
H A Dgfx_fb.c40 teken_gfx_t gfx_state = { 0 }; variable
/freebsd-13-stable/stand/uboot/lib/
H A Dgfx_fb.c40 teken_gfx_t gfx_state = { 0 }; variable
/freebsd-13-stable/stand/userboot/userboot/
H A Dgfx_fb.c40 teken_gfx_t gfx_state = { 0 }; variable
/freebsd-13-stable/stand/ficl/
H A Dloader.c93 x1 = gfx_state.tg_origin.tp_col + x1 * gfx_state.tg_font.vf_width;
94 y1 = gfx_state.tg_origin.tp_row + y1 * gfx_state.tg_font.vf_height;
96 x2 = gfx_state.tg_origin.tp_col +
97 x2 * gfx_state.tg_font.vf_width;
100 y2 = gfx_state.tg_origin.tp_row +
101 y2 * gfx_state.tg_font.vf_height;

Completed in 140 milliseconds