intel: Implement __DRIimage::createSubImage and bump supported version to 5
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 5 Jul 2012 17:02:02 +0000 (13:02 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Jul 2012 19:28:35 +0000 (15:28 -0400)
commit95bc0527e9f81c62cbfe02dace94e73d9950d04d
treed5b3e3f982c865049af9b8aa5ed28147a79f064e
parent02ebad900db4ef1ac42cbfb41b433919a4c857a2
intel: Implement __DRIimage::createSubImage and bump supported version to 5

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 <krh@bitplanet.net>
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_tex_image.c