mesa: optimize out the realloc from glCopyTexImagexD()
authorMiklós Máté <mtmkls@gmail.com>
Thu, 24 Mar 2016 00:13:02 +0000 (01:13 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Mar 2016 17:58:33 +0000 (19:58 +0200)
commit50d653c2bbe7e6a7c0893b13ad6e57b68f55f8e4
treeaef7565f724a5f40b025b87b977e6232fff45ff8
parentbaab345b192d207236253ce67b320fb32fa67625
mesa: optimize out the realloc from glCopyTexImagexD()

v2: comment about the purpose of the code
v3: also compare texFormat,
 add a perf debug message,
 formatting fixes

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/teximage.c