DescriptionRemove calls to new when modifying shader constants.
There were some unnecessary temporary copies we can remove, and the rest have a maximum size so we can allocate them on the stack.
BUG=276
TEST=
Committed: https://code.google.com/p/angleproject/source/detail?r=961
Patch Set 1 #Patch Set 2 : add asserts, define constants in context.h #
MessagesTotal messages: 6
|