Re: [Mesa-dev] [PATCH 03/13] mesa: replace Driver.GetTexImage with GetTexSubImage()

2015-07-14 Thread Brian Paul
Yes. Missed that. I'll post an updated series later. Thanks for reviewing. -Brian On 07/14/2015 10:33 AM, Ilia Mirkin wrote: Don't you also have to update src/mesa/drivers/dri/i965/intel_tex_image.c:intel_get_tex_image ? On Mon, Jul 13, 2015 at 9:21 PM, Brian Paul wrote: The new driver ho

Re: [Mesa-dev] [PATCH 03/13] mesa: replace Driver.GetTexImage with GetTexSubImage()

2015-07-14 Thread Ilia Mirkin
Don't you also have to update src/mesa/drivers/dri/i965/intel_tex_image.c:intel_get_tex_image ? On Mon, Jul 13, 2015 at 9:21 PM, Brian Paul wrote: > The new driver hook has x/y/zoffset and width/height/depth parameters > for the new glGetTextureSubImage() function. > > The meta code and gallium s

[Mesa-dev] [PATCH 03/13] mesa: replace Driver.GetTexImage with GetTexSubImage()

2015-07-13 Thread Brian Paul
The new driver hook has x/y/zoffset and width/height/depth parameters for the new glGetTextureSubImage() function. The meta code and gallium state tracker are updated to handle the new parameters. Callers to Driver.GetTexSubImage() pass in offsets=0 and sizes equal to the whole texture size. ---