commit | dff8ce6bc07e7c678adf94d7732cd39d952f3313 | [log] [tgz] |
---|---|---|
author | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Jan 24 23:21:52 2012 +0000 |
committer | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Tue Jan 24 23:21:52 2012 +0000 |
tree | afdadf825e18c277a170c37597a75a489e2c795a | |
parent | eeb167cb3f16bf77d66b73e140949fd231fda040 [diff] |
Remove 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= Review URL: https://codereview.appspot.com/5540071 git-svn-id: http://angleproject.googlecode.com/svn/trunk@961 736b8ea6-26fd-11df-bfd4-992fa37f6226