summaryrefslogtreecommitdiff
path: root/libs/utils/StringArray.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2013-04-10 22:55:41 -0700
committer Mathias Agopian <mathias@google.com> 2013-04-11 17:35:24 -0700
commit180f10de6f504d2ba56ff32ae8ed53c58bb458e9 (patch)
tree8c4bb55925067d105376ae9708130870cfc715e7 /libs/utils/StringArray.cpp
parentd19e519f673adcc5d12fcca549e577eea74f31aa (diff)
Improve screenshot performance on some devices (DO NOT MERGE)
this affects devices that need a glReadPixels(). We use a FBO instead of a GlConsumer as an intermediate render target, this saves 2 calls to eglMakeCurrent(). On Galaxy Nexus this allows us to go from ~135ms to ~35ms for recent's screenshots. Bug: 8582615 Change-Id: I6b25291ecc235f1927579bbb2db3c731e985c6e8
Diffstat (limited to 'libs/utils/StringArray.cpp')
0 files changed, 0 insertions, 0 deletions