[Spice-devel] [PATCH 08/11] Add red_worker_get_clockid()

Jonathon Jongsma jjongsma at redhat.com
Mon Nov 16 09:18:48 PST 2015


On Mon, 2015-11-16 at 14:08 +0100, Fabiano FidĂȘncio wrote:
> On Mon, Nov 16, 2015 at 1:37 PM, Pavel Grunt <pgrunt at redhat.com> wrote:
> > Hi,
> > 
> > I'm not sure it should be a separate commit. Or at least add a note that it
> > will
> > be needed in the following commit and merge it just before "worker:
> > painfully
> > move display_channel_add_drawable".
> 
> Totally agree with Pavel. If it's a separate commit, some info about
> when/why it will be used is more than appreciated.

yeah, let's just fold it back into the "painfully move" commit.

> 
> > 
> > Pavel
> > 
> > On Mon, 2015-11-16 at 11:06 +0000, Frediano Ziglio wrote:
> > > From: Jonathon Jongsma <jjongsma at redhat.com>
> > > 
> > > ---
> > >  server/red_worker.c | 7 +++++++
> > >  server/red_worker.h | 1 +
> > >  2 files changed, 8 insertions(+)
> > > 
> > > diff --git a/server/red_worker.c b/server/red_worker.c
> > > index 0d17085..a5abe87 100644
> > > --- a/server/red_worker.c
> > > +++ b/server/red_worker.c
> > > @@ -9540,3 +9540,10 @@ RedChannel*
> > > red_worker_get_display_channel(RedWorker
> > > *worker)
> > > 
> > >      return RED_CHANNEL(worker->display_channel);
> > >  }
> > > +
> > > +clockid_t red_worker_get_clockid(RedWorker *worker)
> > > +{
> > > +    spice_return_val_if_fail(worker, 0);
> > > +
> > > +    return worker->clockid;
> > > +}
> > > diff --git a/server/red_worker.h b/server/red_worker.h
> > > index 3604dfd..d70e862 100644
> > > --- a/server/red_worker.h
> > > +++ b/server/red_worker.h
> > > @@ -110,6 +110,7 @@ QXLInstance* red_worker_get_qxl(RedWorker *worker);
> > >  RedChannel* red_worker_get_cursor_channel(RedWorker *worker);
> > >  RedChannel* red_worker_get_display_channel(RedWorker *worker);
> > >  void red_worker_print_stats(RedWorker *worker);
> > > +clockid_t red_worker_get_clockid(RedWorker *worker);
> > > 
> > >  RedChannel *red_worker_new_channel(RedWorker *worker, int size,
> > >                                     const char *name,
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list