commit | 57720c384af81327d327ef8b88078f11a750fd05 | [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 | 4125091c671e9fd56bb292f54b04b3668a8fadab | |
parent | 9521fc0f17c227fa79dd4d830d4607557d060f00 [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.