but these is no called qxl_worker_update_area,except "dispatcher->base.update_area = qxl_worker_update_area".<br><br>
<div class="gmail_quote">2010/12/29 Alon Levy <span dir="ltr"><<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div class="h5">On Wed, Dec 29, 2010 at 10:27:57PM +0800, lin gu wrote:<br>> Hi,guys!<br>> I thought that when the QXL update_area,it will send a<br>> RED_WORKER_MESSAGE_UPDATE<br>> use Red_dispather,then the Red_worker will handler the message.<br>
> but I can't find any code to create the the<br>> message--"RED_WORKER_MESSAGE_UPDATE".<br>> so I want to know if the QXL send the RED_WORKER_MESSAGE_UPDATE message?<br>> or it's only a definition that dosenot use in spice?<br>
> Thanks!<br><br></div></div>U playa:spice alon master $ git grep -p RED_WORKER_MESSAGE_UPDATE<br>server/red_dispatcher.c=static void qxl_worker_update_area(QXLWorker *qxl_worker, uint32_t surface_i<br>server/red_dispatcher.c: RedWorkerMessage message = RED_WORKER_MESSAGE_UPDATE;<br>
server/red_worker.c=static void handle_dev_input(EventListener *listener, uint32_t events)<br>server/red_worker.c: case RED_WORKER_MESSAGE_UPDATE:<br>server/red_worker.h=enum {<br>server/red_worker.h: RED_WORKER_MESSAGE_UPDATE,<br>
<br><br>> Spice-devel mailing list<br>> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br></blockquote></div><br>