Home
last modified time | relevance | path

Searched refs:gc_image (Results 1 – 4 of 4) sorted by relevance

/devicemodel/hw/
A Dgc.c24 assert(gc_image != NULL); in gc_init()
26 gc_image->width = width; in gc_init()
29 gc_image->data = fbaddr; in gc_init()
35 gc->gc_image = gc_image; in gc_init()
46 if (gc->gc_image) { in gc_deinit()
51 free(gc->gc_image); in gc_deinit()
52 gc->gc_image = NULL; in gc_deinit()
63 if (gc->gc_image->data && gc->gc_image->data != fbaddr) in gc_set_fbaddr()
73 return gc->gc_image; in gc_get_image()
81 gc_image = gc->gc_image; in gc_resize()
[all …]
A Dvga.c33 struct gfx_ctx_image *gc_image; member
167 old_width = vd->gc_image->width; in vga_check_size()
168 old_height = vd->gc_image->height; in vga_check_size()
302 memset(vd->gc_image->data, 0, in vga_render()
303 vd->gc_image->width * vd->gc_image->height * in vga_render()
1198 if (vd->gc_image) in vga_port_out_handler()
1199 vd->gc_image->vgamode = 1; in vga_port_out_handler()
1315 vd->gc_image = gc->gc_image; in vga_init()
1453 vga->gc->gc_image->vgamode = 1; in vga_vbe_write()
1454 vga->gc->gc_image->width = 0; in vga_vbe_write()
[all …]
/devicemodel/include/
A Dgc.h42 struct gfx_ctx_image *gc_image; member
/devicemodel/hw/pci/virtio/
A Dvirtio_gpu.c1602 if ((gpu->vga.surf.width != gpu->vga.gc->gc_image->width) || in virtio_gpu_vga_bh()
1603 (gpu->vga.surf.height != gpu->vga.gc->gc_image->height)) { in virtio_gpu_vga_bh()
1604 gpu->vga.surf.width = gpu->vga.gc->gc_image->width; in virtio_gpu_vga_bh()
1605 gpu->vga.surf.height = gpu->vga.gc->gc_image->height; in virtio_gpu_vga_bh()
1606 gpu->vga.surf.stride = gpu->vga.gc->gc_image->width * 4; in virtio_gpu_vga_bh()
1607 gpu->vga.surf.pixel = gpu->vga.gc->gc_image->data; in virtio_gpu_vga_bh()
1626 if ((gpu->vga.gc->gc_image->vgamode) && (gpu->vga.dev != NULL)) { in virtio_gpu_vga_render()
1631 if(gpu->vga.gc->gc_image->width != gpu->vga.vberegs.xres || in virtio_gpu_vga_render()
1632 gpu->vga.gc->gc_image->height != gpu->vga.vberegs.yres) { in virtio_gpu_vga_render()

Completed in 13 milliseconds