Lines Matching refs:gl
32 VirtIOGPUGL *gl = VIRTIO_GPU_GL(g); in virtio_gpu_gl_update_cursor_data() local
36 if (gl->renderer_state != RS_INITED) { in virtio_gpu_gl_update_cursor_data()
66 VirtIOGPUGL *gl = VIRTIO_GPU_GL(vdev); in virtio_gpu_gl_handle_ctrl() local
73 switch (gl->renderer_state) { in virtio_gpu_gl_handle_ctrl()
79 gl->renderer_state = RS_INIT_FAILED; in virtio_gpu_gl_handle_ctrl()
83 gl->renderer_state = RS_INITED; in virtio_gpu_gl_handle_ctrl()
107 VirtIOGPUGL *gl = VIRTIO_GPU_GL(vdev); in virtio_gpu_gl_reset() local
115 if (gl->renderer_state == RS_INITED) { in virtio_gpu_gl_reset()
117 gl->renderer_state = RS_RESET; in virtio_gpu_gl_reset()
168 VirtIOGPUGL *gl = VIRTIO_GPU_GL(qdev); in virtio_gpu_gl_device_unrealize() local
170 if (gl->renderer_state >= RS_INITED) { in virtio_gpu_gl_device_unrealize()
172 qemu_bh_delete(gl->cmdq_resume_bh); in virtio_gpu_gl_device_unrealize()
175 timer_free(gl->print_stats); in virtio_gpu_gl_device_unrealize()
177 timer_free(gl->fence_poll); in virtio_gpu_gl_device_unrealize()
181 gl->renderer_state = RS_START; in virtio_gpu_gl_device_unrealize()