Home
last modified time | relevance | path

Searched refs:frame_buffer (Results 1 – 25 of 94) sorted by relevance

1234

/haiku/src/system/boot/platform/openfirmware/
H A Dvideo.cpp33 switch (gKernelArgs.frame_buffer.depth) { in platform_set_palette()
84 gKernelArgs.frame_buffer.physical_buffer.start = address; in platform_switch_to_logo()
85 gKernelArgs.frame_buffer.physical_buffer.size = lineBytes * height; in platform_switch_to_logo()
86 gKernelArgs.frame_buffer.width = width; in platform_switch_to_logo()
87 gKernelArgs.frame_buffer.height = height; in platform_switch_to_logo()
88 gKernelArgs.frame_buffer.depth = depth; in platform_switch_to_logo()
89 gKernelArgs.frame_buffer.bytes_per_row = lineBytes; in platform_switch_to_logo()
95 dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width, in platform_switch_to_logo()
96 gKernelArgs.frame_buffer.height, gKernelArgs.frame_buffer.depth); in platform_switch_to_logo()
98 gKernelArgs.frame_buffer.enabled = true; in platform_switch_to_logo()
[all …]
/haiku/src/system/boot/platform/amiga_m68k/
H A Dvideo.cpp42 gKernelArgs.frame_buffer.enabled = false; in probe_video_mode()
64 gKernelArgs.frame_buffer.width = gScreen->RastPort.BitMap->BytesPerRow * 8; in probe_video_mode()
65 gKernelArgs.frame_buffer.height = gScreen->RastPort.BitMap->Rows; in probe_video_mode()
66 gKernelArgs.frame_buffer.bytes_per_row = gScreen->RastPort.BitMap->BytesPerRow; in probe_video_mode()
67 gKernelArgs.frame_buffer.depth = gScreen->RastPort.BitMap->Depth; in probe_video_mode()
68 gKernelArgs.frame_buffer.physical_buffer.size in probe_video_mode()
69 = gKernelArgs.frame_buffer.width in probe_video_mode()
70 * gKernelArgs.frame_buffer.height in probe_video_mode()
72 gKernelArgs.frame_buffer.physical_buffer.start in probe_video_mode()
75 dprintf("video mode: %ux%ux%u\n", gKernelArgs.frame_buffer.width, in probe_video_mode()
[all …]
/haiku/src/system/boot/platform/next_m68k/
H A Dvideo.cpp99 gKernelArgs.frame_buffer.width = mg->km_coni.dspy_w; in platform_switch_to_logo()
100 gKernelArgs.frame_buffer.height = mg->km_coni.dspy_h; in platform_switch_to_logo()
101 gKernelArgs.frame_buffer.bytes_per_row = mg->km_coni.bytes_per_scanline; in platform_switch_to_logo()
103 gKernelArgs.frame_buffer.depth = in platform_switch_to_logo()
105 gKernelArgs.frame_buffer.physical_buffer.size = in platform_switch_to_logo()
107 gKernelArgs.frame_buffer.physical_buffer.start = in platform_switch_to_logo()
112 gKernelArgs.frame_buffer.enabled = true; in platform_switch_to_logo()
120 if (!gKernelArgs.frame_buffer.enabled) { in platform_switch_to_text_mode()
124 gKernelArgs.frame_buffer.enabled = false; in platform_switch_to_text_mode()
131 gKernelArgs.frame_buffer.enabled = false; in platform_init_video()
H A Ddebug.cpp67 if (!gKernelArgs.frame_buffer.enabled) in dprintf()
/haiku/src/system/boot/platform/riscv/
H A Dvideo.cpp91 gKernelArgs.frame_buffer.physical_buffer.start = (addr_t)gFramebuf.colors; in platform_switch_to_logo()
92 gKernelArgs.frame_buffer.physical_buffer.size in platform_switch_to_logo()
94 gKernelArgs.frame_buffer.width = gFramebuf.width; in platform_switch_to_logo()
95 gKernelArgs.frame_buffer.height = gFramebuf.height; in platform_switch_to_logo()
96 gKernelArgs.frame_buffer.depth = 32; in platform_switch_to_logo()
97 gKernelArgs.frame_buffer.bytes_per_row = 4 * gFramebuf.stride; in platform_switch_to_logo()
98 gKernelArgs.frame_buffer.enabled = gFramebuf.width > 0 && gFramebuf.height > 0; in platform_switch_to_logo()
100 video_display_splash(gKernelArgs.frame_buffer.physical_buffer.start); in platform_switch_to_logo()
107 gKernelArgs.frame_buffer.enabled = false; in platform_switch_to_text_mode()
/haiku/src/system/kernel/debug/
H A Dframe_buffer_console.cpp51 addr_t frame_buffer; member
150 uint8* base = (uint8*)(sConsole.frame_buffer in render_glyph()
178 uint8* base = (uint8*)(sConsole.frame_buffer in render_glyph()
221 uint8* base = (uint8*)(sConsole.frame_buffer + y * sConsole.bytes_per_row); in draw_cursor()
322 memmove((void*)(sConsole.frame_buffer + (desty + y) in console_blit()
324 (void*)(sConsole.frame_buffer + (srcy + y) * sConsole.bytes_per_row in console_blit()
341 memset((void*)sConsole.frame_buffer, in console_clear()
346 memset((void*)sConsole.frame_buffer, 0xff, in console_clear()
352 uint8* base = (uint8*)sConsole.frame_buffer; in console_clear()
409 return sConsole.frame_buffer != 0; in frame_buffer_console_available()
[all …]
/haiku/src/system/boot/platform/generic/
H A Dvideo_splash.cpp89 if (gKernelArgs.frame_buffer.depth == 4) { in video_blit_image()
101 params.toBytesPerRow = gKernelArgs.frame_buffer.bytes_per_row; in video_blit_image()
104 blit(params, gKernelArgs.frame_buffer.depth); in video_blit_image()
112 if (!gKernelArgs.frame_buffer.enabled) in video_display_splash()
118 addr_t size = min_c(gKernelArgs.frame_buffer.width in video_display_splash()
119 * gKernelArgs.frame_buffer.height * 4u, in video_display_splash()
120 gKernelArgs.frame_buffer.physical_buffer.size); in video_display_splash()
138 switch (gKernelArgs.frame_buffer.depth) { in video_display_splash()
165 compute_splash_logo_placement(gKernelArgs.frame_buffer.width, gKernelArgs.frame_buffer.height, in video_display_splash()
175 switch (gKernelArgs.frame_buffer.depth) { in video_display_splash()
[all …]
H A Dvideo_text_console.cpp46 frame_buffer_update(framebuffer, gKernelArgs.frame_buffer.width, in VideoTextConsole()
47 gKernelArgs.frame_buffer.height, gKernelArgs.frame_buffer.depth, in VideoTextConsole()
48 gKernelArgs.frame_buffer.bytes_per_row); in VideoTextConsole()
/haiku/src/system/boot/platform/bios_ia32/
H A Dvideo.cpp614 if (gKernelArgs.frame_buffer.depth != 8) in vesa_set_palette()
821 switch (gKernelArgs.frame_buffer.depth) { in platform_set_palette()
845 addr_t lastBase = gKernelArgs.frame_buffer.physical_buffer.start; in platform_switch_to_logo()
846 size_t lastSize = gKernelArgs.frame_buffer.physical_buffer.size; in platform_switch_to_logo()
866 gKernelArgs.frame_buffer.width = modeInfo.width; in platform_switch_to_logo()
867 gKernelArgs.frame_buffer.height = modeInfo.height; in platform_switch_to_logo()
868 gKernelArgs.frame_buffer.bytes_per_row = modeInfo.bytes_per_row; in platform_switch_to_logo()
869 gKernelArgs.frame_buffer.depth = modeInfo.bits_per_pixel; in platform_switch_to_logo()
870 gKernelArgs.frame_buffer.physical_buffer.size in platform_switch_to_logo()
872 * (phys_size_t)gKernelArgs.frame_buffer.height; in platform_switch_to_logo()
[all …]
H A Dconsole.cpp80 if (gKernelArgs.frame_buffer.enabled) in WriteAt()
101 if (gKernelArgs.frame_buffer.enabled) in ClearScreen()
/haiku/src/system/boot/platform/efi/
H A Dvideo.cpp170 gKernelArgs.frame_buffer.enabled = false; in platform_init_video()
235 gKernelArgs.frame_buffer.enabled = false; in platform_init_video()
239 gKernelArgs.frame_buffer.enabled = true; in platform_init_video()
260 if (sGraphicsOutput == NULL || !gKernelArgs.frame_buffer.enabled) in platform_switch_to_logo()
267 gKernelArgs.frame_buffer.physical_buffer.start = in platform_switch_to_logo()
269 gKernelArgs.frame_buffer.physical_buffer.size = in platform_switch_to_logo()
271 gKernelArgs.frame_buffer.width = in platform_switch_to_logo()
273 gKernelArgs.frame_buffer.height = in platform_switch_to_logo()
275 gKernelArgs.frame_buffer.depth = in platform_switch_to_logo()
277 gKernelArgs.frame_buffer.bytes_per_row = in platform_switch_to_logo()
[all …]
/haiku/src/system/boot/platform/atari_m68k/
H A Dvideo.cpp1116 addr_t lastBase = gKernelArgs.frame_buffer.physical_buffer.start; in platform_switch_to_logo()
1117 size_t lastSize = gKernelArgs.frame_buffer.physical_buffer.size; in platform_switch_to_logo()
1122 gKernelArgs.frame_buffer.width = sMode->ops->Width(sMode); in platform_switch_to_logo()
1123 gKernelArgs.frame_buffer.height = sMode->ops->Height(sMode); in platform_switch_to_logo()
1124 gKernelArgs.frame_buffer.bytes_per_row = sMode->ops->BytesPerRow(sMode); in platform_switch_to_logo()
1125 gKernelArgs.frame_buffer.depth = sMode->ops->Depth(sMode); in platform_switch_to_logo()
1126 gKernelArgs.frame_buffer.physical_buffer.size = in platform_switch_to_logo()
1127 gKernelArgs.frame_buffer.height in platform_switch_to_logo()
1128 * gKernelArgs.frame_buffer.bytes_per_row; in platform_switch_to_logo()
1129 gKernelArgs.frame_buffer.physical_buffer.start = in platform_switch_to_logo()
[all …]
H A Ddebug.cpp66 if (!gKernelArgs.frame_buffer.enabled) in dprintf()
/haiku/src/add-ons/accelerants/virtio/
H A Dmode.cpp156 config->frame_buffer = gInfo->shared_info->frame_buffer; in virtio_gpu_get_frame_buffer_config()
158 config->frame_buffer)); in virtio_gpu_get_frame_buffer_config()
161 TRACE(("virtio_gpu_get_frame_buffer_config() %p\n", config->frame_buffer)); in virtio_gpu_get_frame_buffer_config()
/haiku/src/add-ons/kernel/drivers/graphics/matrox/
H A Ddriver.c322 int frame_buffer = 0; in map_device() local
330 frame_buffer = 1; in map_device()
375 tmpUlong = di->pcii.u.h0.base_registers[frame_buffer]; in map_device()
381 di->pcii.u.h0.base_registers[frame_buffer], in map_device()
499 di->pcii.u.h0.base_registers[frame_buffer], in map_device()
500 di->pcii.u.h0.base_register_sizes[frame_buffer], in map_device()
509 di->pcii.u.h0.base_registers[frame_buffer], in map_device()
510 di->pcii.u.h0.base_register_sizes[frame_buffer], in map_device()
533 si->framebuffer_pci = (void *) di->pcii.u.h0.base_registers_pci[frame_buffer]; in map_device()
579 int frame_buffer = 0; in copy_rom() local
[all …]
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvga.cpp51 if (info->frame_buffer == NULL) in vga_planar_blit()
55 uint8 *dst = info->frame_buffer + top * dstBPR + left / 8; in vga_planar_blit()
/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp17 #define set_pixel(x,y,color) (frame_buffer[x + (line_length*y)] = color)
18 #define get_pixel(x,y) (frame_buffer[x + (line_length*y)])
68 uint8* frame_buffer; member in NWindowScreen
169 frame_buffer = (uint8*)(CardInfo()->frame_buffer); in ScreenConnected()
175 memset(frame_buffer,0,480*line_length); in ScreenConnected()
191 memcpy(frame_buffer+y*line_length,save_buffer+640*y,640); in ScreenConnected()
268 memcpy(save_buffer+640*y,frame_buffer+y*line_length,640); in ScreenConnected()
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/
H A Dframebuffer.cpp101 addr_t frameBuffer = info.frame_buffer; in remap_frame_buffer()
133 info.frame_buffer = frameBuffer; in remap_frame_buffer()
148 sharedInfo.frame_buffer = (uint8*)frameBuffer; in remap_frame_buffer()
H A Dframebuffer_private.h26 addr_t frame_buffer; member
/haiku/headers/private/graphics/virtio/
H A Dvirtio_info.h22 uint8* frame_buffer; member
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_acc.c781 ACCW(OFFSET0, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
783 ACCW(OFFSET1, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
785 ACCW(OFFSET2, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
787 ACCW(OFFSET3, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
788 ACCW(OFFSET4, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
789 ACCW(OFFSET5, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
805 ACCW(NV20_OFFSET0, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
806 ACCW(NV20_OFFSET1, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
807 ACCW(NV20_OFFSET2, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
808 ACCW(NV20_OFFSET3, ((uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer)); in nv_acc_init()
[all …]
/haiku/src/add-ons/accelerants/framebuffer/
H A Dmode.cpp137 config->frame_buffer = gInfo->shared_info->frame_buffer; in framebuffer_get_frame_buffer_config()
/haiku/headers/private/kernel/
H A Dframe_buffer_console.h21 addr_t frame_buffer; member
/haiku/headers/private/graphics/vesa/
H A Dvesa_info.h41 uint8* frame_buffer; member
/haiku/src/add-ons/accelerants/neomagic/
H A DSetDisplayMode.c87 startadd = (uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer; in SET_DISPLAY_MODE()
216 startadd += (uint8*)si->fbc.frame_buffer - (uint8*)si->framebuffer; in MOVE_DISPLAY()

1234