On Fri, Jul 06, 2012 at 02:16:23PM -0700, Eric Anholt wrote:
> Kristian Høgsberg writes:
> > +static __DRIimage *
> > +intel_create_sub_image(__DRIimage *parent,
> > + int width, int height, int dri_format,
> > + int offset, int pitch, void *loaderPrivat
Kristian Høgsberg writes:
> +static __DRIimage *
> +intel_create_sub_image(__DRIimage *parent,
> + int width, int height, int dri_format,
> + int offset, int pitch, void *loaderPrivate)
> +{
> +__DRIimage *image;
> +
> +image = intel_allocate_ima
We use the new miptree offset to pick out the sub-image when we bind
the EGLImage to a texture.
Signed-off-by: Kristian Høgsberg
---
src/mesa/drivers/dri/intel/intel_regions.h |1 +
src/mesa/drivers/dri/intel/intel_screen.c| 36 --
src/mesa/drivers/dri/intel/i