Re: [Mesa-dev] [PATCH] intel: implement create image from texture (v8)

2013-02-01 Thread Abdiel Janulgue
On Thursday, January 31, 2013 10:31:33 AM Chad Versace wrote: > > +#include "egl/main/eglcurrent.h" > > > > > > +static __DRIimage * > > +intel_create_image_from_texture(__DRIcontext *context, int target, > > +unsigned texture, int zoffset, > > +

Re: [Mesa-dev] [PATCH] intel: implement create image from texture (v8)

2013-01-31 Thread Chad Versace
On 01/31/2013 09:35 AM, Abdiel Janulgue wrote: > Save miptree level info to DRIImage: > - Appropriately-aligned base offset pointing to the image > - Additional x/y adjustment offsets from above. > > In non-tile-aligned surface cases where resolving back to the original image > located in mip-leve

[Mesa-dev] [PATCH] intel: implement create image from texture (v8)

2013-01-31 Thread Abdiel Janulgue
Save miptree level info to DRIImage: - Appropriately-aligned base offset pointing to the image - Additional x/y adjustment offsets from above. In non-tile-aligned surface cases where resolving back to the original image located in mip-levels higher than the base level proves problematic due to off