mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
virtio-gpu: move fields to struct VirtIOGPUGL
Move two virglrenderer state variables to struct VirtIOGPUGL. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20210430113547.1816178-1-kraxel@redhat.com Message-Id: <20210430113547.1816178-14-kraxel@redhat.com>
This commit is contained in:
parent
49afbca3b0
commit
eff6fa1735
2 changed files with 12 additions and 8 deletions
|
@ -151,8 +151,6 @@ struct VirtIOGPU {
|
|||
uint64_t hostmem;
|
||||
|
||||
bool processing_cmdq;
|
||||
bool renderer_inited;
|
||||
bool renderer_reset;
|
||||
QEMUTimer *fence_poll;
|
||||
QEMUTimer *print_stats;
|
||||
|
||||
|
@ -177,6 +175,9 @@ struct VirtIOGPUClass {
|
|||
|
||||
struct VirtIOGPUGL {
|
||||
struct VirtIOGPU parent_obj;
|
||||
|
||||
bool renderer_inited;
|
||||
bool renderer_reset;
|
||||
};
|
||||
|
||||
struct VhostUserGPU {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue