qxl-render.c (d86fb03469e016af4e54f04efccbc20a8afa3e19) | qxl-render.c (67cc32ebfd8c0ee3fcdb26780a8991baf5eb1d45) |
---|---|
1/* 2 * qxl local rendering (aka display on sdl/vnc) 3 * 4 * Copyright (C) 2010 Red Hat, Inc. 5 * 6 * maintained by Gerd Hoffmann <kraxel@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or --- 145 unchanged lines hidden (view full) --- 154 qxl->dirty[i].bottom - qxl->dirty[i].top); 155 } 156 qxl->num_dirty_rects = 0; 157} 158 159/* 160 * use ssd.lock to protect render_update_cookie_num. 161 * qxl_render_update is called by io thread or vcpu thread, and the completion | 1/* 2 * qxl local rendering (aka display on sdl/vnc) 3 * 4 * Copyright (C) 2010 Red Hat, Inc. 5 * 6 * maintained by Gerd Hoffmann <kraxel@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or --- 145 unchanged lines hidden (view full) --- 154 qxl->dirty[i].bottom - qxl->dirty[i].top); 155 } 156 qxl->num_dirty_rects = 0; 157} 158 159/* 160 * use ssd.lock to protect render_update_cookie_num. 161 * qxl_render_update is called by io thread or vcpu thread, and the completion |
162 * callbacks are called by spice_server thread, defering to bh called from the | 162 * callbacks are called by spice_server thread, deferring to bh called from the |
163 * io thread. 164 */ 165void qxl_render_update(PCIQXLDevice *qxl) 166{ 167 QXLCookie *cookie; 168 169 qemu_mutex_lock(&qxl->ssd.lock); 170 --- 127 unchanged lines hidden --- | 163 * io thread. 164 */ 165void qxl_render_update(PCIQXLDevice *qxl) 166{ 167 QXLCookie *cookie; 168 169 qemu_mutex_lock(&qxl->ssd.lock); 170 --- 127 unchanged lines hidden --- |