commit | 8b3c1afb53497bddeab3828c3acc35a126bce84b | [log] [tgz] |
---|---|---|
author | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Oct 12 01:21:41 2011 +0000 |
committer | jbauman@chromium.org <jbauman@chromium.org@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Wed Oct 12 01:21:41 2011 +0000 |
tree | d0ef8d56c0d724680c3ea2ae11da2eac826ac3f9 | |
parent | c620985643df4de781808fb9dbaf73273ea4a49a [diff] |
Improve performance of applyRenderTarget and applyTextures Get rid of unnecessary GetSurfaceLevel/Release calls, move invariants out of the applyTextures loop, and fix the if in getSemanticIndex so we can avoid calling getMaximumCombinedTextureImageUnits. Gets donuts NaCl demo from 14->16 fps. BUG= TEST=webgl conformance tests Review URL: http://codereview.appspot.com/5248057 git-svn-id: https://angleproject.googlecode.com/svn/trunk@787 736b8ea6-26fd-11df-bfd4-992fa37f6226