[Spice-devel] [PATCH v2] server/spice.h: add surface_updated callback (unused yet)

Alon Levy alevy at redhat.com
Thu Jul 7 02:05:53 PDT 2011


On Thu, Jul 07, 2011 at 11:26:56AM +0300, Yonit Halperin wrote:
> On 07/06/2011 08:37 PM, Alon Levy wrote:
> >---
> >  server/spice.h |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> >
> >diff --git a/server/spice.h b/server/spice.h
> >index fec2476..20ceeef 100644
> >--- a/server/spice.h
> >+++ b/server/spice.h
> >@@ -206,6 +206,8 @@ struct QXLInterface {
> >      void (*notify_update)(QXLInstance *qin, uint32_t update_id);
> >      int (*flush_resources)(QXLInstance *qin);
> >      void (*async_complete)(QXLInstance *qin, uint64_t cookie);
> >+    void (*surface_updated)(QXLInstance *qin, uint32_t surface_id, struct QXLRect *updated_rects,
> >+                       uint32_t num_updated_rects);
> Hi,
> With this cb added, do we still need the same rects parameters in
> update_area_async interface?

No, but then I'll really need to use them now.. ok, will do.

> >  };
> >
> >  struct QXLInstance {
> 


More information about the Spice-devel mailing list