Re: [Mesa-dev] [v4 06/10] intel: prepare for dri images having more than one plane

2013-05-28 Thread Pohjolainen, Topi
On Fri, May 24, 2013 at 11:55:00AM +0300, Pohjolainen, Topi wrote: > On Thu, May 23, 2013 at 09:39:57PM -0700, Chad Versace wrote: > > On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: > > >v2 (as advised by Eric): > > >- use ARRAY_SIZE > > >- re-use 'image_destroy' for cleaning up after fail

Re: [Mesa-dev] [v4 06/10] intel: prepare for dri images having more than one plane

2013-05-24 Thread Pohjolainen, Topi
On Thu, May 23, 2013 at 09:39:57PM -0700, Chad Versace wrote: > On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: > >v2 (as advised by Eric): > >- use ARRAY_SIZE > >- re-use 'image_destroy' for cleaning up after failure > >- check directly the region pointer instead of the buffer object >

Re: [Mesa-dev] [v4 06/10] intel: prepare for dri images having more than one plane

2013-05-23 Thread Chad Versace
On 05/02/2013 12:08 AM, Topi Pohjolainen wrote: v2 (as advised by Eric): - use ARRAY_SIZE - re-use 'image_destroy' for cleaning up after failure - check directly the region pointer instead of the buffer object when determining if a region exists Signed-off-by: Topi Pohjolainen

[Mesa-dev] [v4 06/10] intel: prepare for dri images having more than one plane

2013-05-02 Thread Topi Pohjolainen
v2 (as advised by Eric): - use ARRAY_SIZE - re-use 'image_destroy' for cleaning up after failure - check directly the region pointer instead of the buffer object when determining if a region exists Signed-off-by: Topi Pohjolainen --- src/mesa/drivers/dri/intel/intel_screen.c | 103