Re: [PATCH weston v2 15/16] pixman-renderer: implement source clipping

2015-03-12 Thread Bill Spitzak
On 03/11/2015 03:13 AM, Pekka Paalanen wrote: On Tue, 10 Mar 2015 12:39:58 -0700 Bill Spitzak wrote: Using the new pixman_image_t may be equivalent (I should check) but if there is some speed problem it should be possible to get an arbitrary subrectangle by making a new pixman_image_t direct

Re: [PATCH weston v2 15/16] pixman-renderer: implement source clipping

2015-03-11 Thread Pekka Paalanen
On Tue, 10 Mar 2015 12:39:58 -0700 Bill Spitzak wrote: > Using the new pixman_image_t may be equivalent (I should check) but if > there is some speed problem it should be possible to get an arbitrary > subrectangle by making a new pixman_image_t directly from the buffer by > setting the stride

Re: [PATCH weston v2 15/16] pixman-renderer: implement source clipping

2015-03-10 Thread Bill Spitzak
Using the new pixman_image_t may be equivalent (I should check) but if there is some speed problem it should be possible to get an arbitrary subrectangle by making a new pixman_image_t directly from the buffer by setting the stride to the full buffer stride and setting the origin and the width

[PATCH weston v2 15/16] pixman-renderer: implement source clipping

2015-03-10 Thread Pekka Paalanen
From: Pekka Paalanen Implement a way to do composition clipping with a region32 given in source image space. Pixman does not directly support this kind of operation at all. If you pixman_image_set_clip_region32() on a source image, it will be ignored unless you also pixman_image_set_sour