[Mesa-dev] Path to optimize (moving from create/bind/delete paradgim to set only ?)

Tilman Sauerbeck tilman at code-monkey.de
Tue Nov 16 23:58:31 PST 2010


Zack Rusin [2010-11-16 21:15]:

> Anyway what I think is of no consequence, what matters is what you can prove. 
> It'd be trivial to see:
> 1) what exactly changes that caching fails,

Maybe I'm totally missing the point but:
 * In OpenArena (running a random demo), context.create_sampler_state is
   called 10 times, ie we only create 10 sampler states
 * context.bind_fragment_sampler_states is called ~64000 times.

Caching of pipe_sampler_states seems to work here.

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101117/2da2e596/attachment.pgp>


More information about the mesa-dev mailing list