summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-10-21 16:27:21 -0700
committer Mathias Agopian <mathias@google.com> 2009-10-23 15:37:28 -0700
commit57720c384af81327d327ef8b88078f11a750fd05 (patch)
tree4125091c671e9fd56bb292f54b04b3668a8fadab /opengl/libagl/array.cpp
parent9521fc0f17c227fa79dd4d830d4607557d060f00 (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.
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions