OSDN Git Service

meta: Remove the 'allocate_storage' parameter in _mesa_meta_pbo_GetTexSubImage()
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 2 Mar 2016 00:46:22 +0000 (16:46 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 2 Mar 2016 23:06:46 +0000 (15:06 -0800)
commitde61849994dec48496a81540c384159da0e8371e
treeca4c468083215a860cd7443197d3d26a5382261f
parent6d4ebbe9e5798edee199671c0a98cbf2c5b042e2
meta: Remove the 'allocate_storage' parameter in _mesa_meta_pbo_GetTexSubImage()

Texture is already allocated before calling this meta function. So,
the value of 'allocate_storage' passed to the function is always false.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/common/meta.h
src/mesa/drivers/common/meta_tex_subimage.c
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/i965/intel_tex_subimage.c