DescriptionAvoid unnecessarily copying uniforms
Transpose and expand matrices and float vectors when copied on setUniform (and getUniform) to avoid allocating an array and doing that on applyUniform. Then use straight D3D calls, not D3DX, to possibly avoid another copy. Gets NaCl donuts test from 19->25 fps.
BUG=
TEST=webgl conformance tests
Committed: http://code.google.com/p/angleproject/source/detail?r=800
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use raw d3d9 for everything #Patch Set 3 : make certain bools work #
MessagesTotal messages: 7
|