mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 21:03:10 +00:00
NOTES
This commit is contained in:
parent
c84dc2e04c
commit
7ef8efe104
@ -171,15 +171,19 @@ struct QXLDevSurfaceCreate {
|
||||
struct QXLInterface {
|
||||
SpiceBaseInterface base;
|
||||
|
||||
// ONLY QXL, used to see id
|
||||
void (*attache_worker)(QXLInstance *qin, QXLWorker *qxl_worker);
|
||||
void (*set_compression_level)(QXLInstance *qin, int level);
|
||||
// REMOVED
|
||||
void (*set_mm_time)(QXLInstance *qin, uint32_t mm_time) SPICE_GNUC_DEPRECATED;
|
||||
|
||||
// ONLY QXL
|
||||
void (*get_init_info)(QXLInstance *qin, QXLDevInitInfo *info);
|
||||
|
||||
/* Retrieve the next command to be processed
|
||||
* This call should be non-blocking. If no commands are available, it
|
||||
* should return 0, or 1 if a command was retrieved */
|
||||
// ONLY QXL
|
||||
int (*get_command)(QXLInstance *qin, struct QXLCommandExt *cmd);
|
||||
|
||||
/* Request notification when new commands are available
|
||||
@ -187,13 +191,21 @@ struct QXLInterface {
|
||||
* notified by calling spice_qxl_wakeup(). If commands are already
|
||||
* available, this function should return false and no notification
|
||||
* triggered */
|
||||
// ONLY QXL
|
||||
int (*req_cmd_notification)(QXLInstance *qin);
|
||||
// ONLY QXL
|
||||
void (*release_resource)(QXLInstance *qin, struct QXLReleaseInfoExt release_info);
|
||||
// ONLY QXL
|
||||
int (*get_cursor_command)(QXLInstance *qin, struct QXLCommandExt *cmd);
|
||||
// ONLY QXL
|
||||
int (*req_cursor_notification)(QXLInstance *qin);
|
||||
// REMOVED
|
||||
void (*notify_update)(QXLInstance *qin, uint32_t update_id);
|
||||
// abort for display, do something in HW called in OOM
|
||||
int (*flush_resources)(QXLInstance *qin);
|
||||
// both for sure
|
||||
void (*async_complete)(QXLInstance *qin, uint64_t cookie);
|
||||
// abort for display, do something in HW spice_qxl_update_area_async, only QXL
|
||||
void (*update_area_complete)(QXLInstance *qin, uint32_t surface_id,
|
||||
struct QXLRect *updated_rects,
|
||||
uint32_t num_updated_rects);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user