DescriptionCache the current program pointer
Hash table lookups are somewhat expensive, so cache a pointer to the current program for on a context. This gains about 3 fps (from 58) on a Native Client demo.
BUG=
TEST=webgl conformance tests
Committed: http://code.google.com/p/angleproject/source/detail?r=786
Patch Set 1 #
Total comments: 2
Patch Set 2 : Optimize a bit more #
MessagesTotal messages: 5
|