XenevaOS
Loading...
Searching...
No Matches
cmd2d.h
Go to the documentation of this file.
1
32#ifndef __COMMAND_2D_H__
33#define __COMMAND_2D_H__
34
35#include <stdint.h>
36#include <Drivers/virtio.h>
37#include "virtiogpu.h"
38
39
40
47extern void virtio_cmd2d_create(int resource_id, int width, int height);
58extern void virt_gpu_transfer_to_host2d(VirtioCommonCfg* cfg, int resource_id, int x, int y, int w, int h);
59
66extern void virt_gpu_flush_rect(VirtioCommonCfg* cfg, int resource_id, int x, int y, int w, int h);
67
68
69
70#endif
void virtio_cmd2d_create(int resource_id, int width, int height)
virtio_cmd2d_create2d – create a 2d resource
Definition cmd2d.cpp:42
void virt_gpu_transfer_to_host2d(VirtioCommonCfg *cfg, int resource_id, int x, int y, int w, int h)
virt_gpu_transfer_to_host2d – transfer buffers from guest to host
Definition virtscreen.cpp:141
void virt_gpu_flush_rect(VirtioCommonCfg *cfg, int resource_id, int x, int y, int w, int h)
virt_gpu_flush_rect – flush graphics from guest to host only with given rect area
Definition virtscreen.cpp:175
Definition virtio.h:37