Re: [Spice-devel] [spice v16 01/23] streaming: Better check for sized frames

2016-06-10 Thread Christophe Fergeau
Hey, Not sure I would bother changing that logic right now, ie I'd just drop that patch. Christophe On Tue, Jun 07, 2016 at 03:57:43PM +0200, Francois Gouget wrote: > Usually the RedDrawable bbox dimensions match the src_area dimensions > so that checking that the bbox matches the stream's origi

Re: [Spice-devel] [spice v16 01/23] streaming: Better check for sized frames

2016-06-08 Thread Francois Gouget
On Tue, 7 Jun 2016, Frediano Ziglio wrote: [...] > > if (rect_contains(&red_drawable->bbox, other_dest)) { > > +SpiceRect* candidate_src; > > int candidate_area = rect_get_area(&red_drawable->bbox); > > int other_area = rect_get_area(other_dest); > >

Re: [Spice-devel] [spice v16 01/23] streaming: Better check for sized frames

2016-06-07 Thread Frediano Ziglio
> Usually the RedDrawable bbox dimensions match the src_area dimensions > so that checking that the bbox matches the stream's original dest_area > should be enough to determine if sized stream support is needed to > send the frame. > But making the bbox different could be used to have the scaling

[Spice-devel] [spice v16 01/23] streaming: Better check for sized frames

2016-06-07 Thread Francois Gouget
Usually the RedDrawable bbox dimensions match the src_area dimensions so that checking that the bbox matches the stream's original dest_area should be enough to determine if sized stream support is needed to send the frame. But making the bbox different could be used to have the scaling be performe