summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-06-04 18:26:32 -0700
committerMathias Agopian <mathias@google.com>2010-06-04 18:57:41 -0700
commita0c30e924193da57723fd53b710ce6be24fb26f5 (patch)
treef0ec9769bcf30567a876534af93900770a2f7095 /opengl/tests/gl_basic/gl_basic.cpp
parentb7e930db175c192464cebdeb49eb56cf6dd60114 (diff)
optimize Surface.readFromParcel()
this is called for each relayout() and used to create a full Surface (cpp) which in turn did some heavy work (including an IPC with surfaceflinger), most of the time to destroy it immediatelly when the returned surface (the one in the parcel) was the same. we now more intelligentely read from the parcel and construct the new object only if needed. Change-Id: Idfd40d9ac96ffc6d4ae5fd99bcc0773e131e2267
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions