commit | a31a0310154660e3105ab6a1955d3667efda3630 | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <lfy@google.com> | Tue Mar 01 21:27:49 2016 -0800 |
committer | Bo Hu <bohu@google.com> | Wed Mar 02 06:25:46 2016 +0000 |
tree | fce6e335da993aac4a60e9b8b37845c129147b36 | |
parent | 24db87f76308c1eb933dbb32f312fe53f945cbc9 [diff] |
Cache glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, int*). BUG:27418143 If we don't, the chatter over the pipe will kill framerate. I believe this is OK for the emulator, as the parameter is dependent on only the GPU hardware. Change-Id: I9bd74de6317316902bddf54b915ef509625cee52