[Mesa-dev] [PATCH 1/4] mesa: Track maximum CurrentTexUnit to reduce glDeleteTextures() overhead.
Kenneth Graunke
kenneth at whitecape.org
Wed Apr 30 13:47:14 PDT 2014
On 04/25/2014 06:19 PM, Eric Anholt wrote:
> No more walking 96*6 pointers looking to see if they're the current
> texture, when we only use the first 2 out of 96 units. -6.26002% +/-
> 1.87817% effect on cairo runtime on no-fbo-cache glamor (n=36).
> ---
> src/mesa/main/mtypes.h | 3 +++
> src/mesa/main/texobj.c | 4 +++-
> src/mesa/main/texstate.c | 6 ++++++
> 3 files changed, 12 insertions(+), 1 deletion(-)
The series is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140430/c91e4cd6/attachment.sig>
More information about the mesa-dev
mailing list