Fast path when rebinding the same texture in single context environment
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 3 Jun 2009 16:49:05 +0000 (17:49 +0100)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 3 Jun 2009 16:50:37 +0000 (17:50 +0100)
commit7f8000db8bd45bb95bda4a4f8535c49b8ef74254
tree445cccb492aac0eba9be2c45e8190f05c4a29738
parent54576130a88fe93a64367f882cd680e37f0ec0ac
Fast path when rebinding the same texture in single context environment

If there is no shared context, there is no purpose in rebinding the same
texture.  In some artificial tests this improves performance 10% - 30%.
src/mesa/main/texobj.c