commit | 43b004269af441999f2535cd1a9e7bb45e945b08 | [log] [tgz] |
---|---|---|
author | Geoff Lang <geofflang@chromium.org> | Mon May 12 16:28:07 2014 -0400 |
committer | Geoff Lang <geofflang@chromium.org> | Fri May 16 15:09:07 2014 +0000 |
tree | 847558483f3c754a3ec827a7cb582edbf7ac6c94 | |
parent | 45c785d35c270ca1d1168b6ca5517cb3a5a285cc [diff] |
Optimize texture application in draw calls. Gather all bound textures and samplers first and then pass them to generateSwizzles and applyTextures to reduce redundant get calls. BUG=260069 Change-Id: I5b10dddb01a6bfd756c58b76218838cfc1fd59b6 Reviewed-on: https://chromium-review.googlesource.com/199343 Reviewed-by: Jamie Madill <jmadill@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>