commit | 10689992cf793bd21873cd2e57e3d3681650b952 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Wed Nov 13 10:25:22 2019 -0500 |
committer | Stan Iliev <stani@google.com> | Wed Nov 13 11:48:04 2019 -0500 |
tree | b0d29ee74c5143fbcd3ec60671212514715901bd | |
parent | b814d6b3179c24849c4243a94d4742b1e90e40da [diff] |
Fix an issue with GPU stats not enabled Invoke Surface::enableFrameTimestamps after eglDestroySurface. eglDestroySurface internally disables time stats. Order is important, when CanvasContext::setSurface is invoked with a surface, that is already current (which happens all the time). Test: ran UiBench microbenchmark tests Change-Id: I3d023c3a87da6329c556426d553c744e541b9dff