summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-21 16:27:21 -0700
committerMathias Agopian <mathias@google.com>2009-10-23 15:37:28 -0700
commit382e17d46fc54396a303593f2db3abe1fb911411 (patch)
tree718e2186139053ae9b3cf5dc07c7cbffb6b7cb5d /graphics/java/android/renderscript/ProgramStore.java
parentdd28d56368441537ec5eb42150516416fdbf10ad (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 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions