commit | 67ad5f8258c79d3ec962cdae6c920954892604df | [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 | 2b85f4902ff92b0c2d9151a2191ef45e39a95ddb [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: http://angleproject.googlecode.com/svn/trunk@787 736b8ea6-26fd-11df-bfd4-992fa37f6226