commit | 382e17d46fc54396a303593f2db3abe1fb911411 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Oct 21 16:27:21 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri Oct 23 15:37:28 2009 -0700 |
tree | 718e2186139053ae9b3cf5dc07c7cbffb6b7cb5d | |
parent | dd28d56368441537ec5eb42150516416fdbf10ad [diff] |
fix [2211532] improves sholes graphics performance Instead of using glTex{Sub}Image2D() to refresh the textures, we're using an EGLImageKHR object backed up by a gralloc buffer. The data is updated using memcpy(). This is faster than glTex{Sub}Image2D() because the texture is not swizzled. It also uses less memory because EGLImageKHW is not limited to power-of-two dimensions.