mesa: optimize saving/restoring bound textures for glPush/PopAttrib
authorMarek Olšák <marek.olsak@amd.com>
Sat, 3 Oct 2020 04:48:30 +0000 (00:48 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 11:52:11 +0000 (11:52 +0000)
commitd0e18550e26209a01465c85382c86a2c9246db0c
treee1e54ec8c7e343e822fc4197073b56869f4976f8
parent9a8b54285d24e84facc6f7aefe486a568b6e80c4
mesa: optimize saving/restoring bound textures for glPush/PopAttrib

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6946>
src/mesa/main/attrib.c
src/mesa/main/texobj.c
src/mesa/main/texobj.h