summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2017-12-04 16:06:13 -0800
committerRobert Carr <racarr@google.com>2017-12-06 07:59:06 -0800
commit56a0b9ac6a951053e283cf42e245a48d28d2624c (patch)
tree5427f63869923958346a679efbc9619a20496c07 /opengl/tests/gl_basic/gl_basic.cpp
parent503d2bd9a0c64f90fc321f9d65fc65e592f1fa2b (diff)
Avoid unnecessary calls to updateTransformHint
It was observed that this could start to take noticeable time with high layer counts, I guess due to the acquisition of one mutex per layer per call. Anyway it looks like there's no need to call it if a display transaction didn't occur. Test: Existing tests pass. Change-Id: I1918d326a6d0ed32a0a5fea4008a746d328b335d
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions