diff options
| author | 2018-06-21 12:10:12 -0700 | |
|---|---|---|
| committer | 2018-06-26 05:10:00 +0000 | |
| commit | 9fdb7e0c8204aba5666d8e9f7f526682c8efc203 (patch) | |
| tree | bba78cffa691f591050f4bb03fbec0830bf2a150 /libs/gui/SurfaceControl.cpp | |
| parent | 63a2d825b866c6a0d9201222a6ba54b352937ecf (diff) | |
SF: Add GL texture pool
Adds a pool of GL texture names.
Prior to this change, Layer creation was forced to run on the SF main
thread because it would need to call into RenderEngine to generate a new
texture name.
By creating a pool of pre-generated texture names, this operation no
longer needs to run on the main thread, which unblocks the rest of the
system during operations such as fingerprint unlock.
Bug: 110477323
Test: SurfaceFlinger_test + manual: examine systrace and observe that
layer creation no longer blocks on access to the main thread
Change-Id: I9d68874d6c6f704c8884676454e84d916cd86507
Merged-In: I9d68874d6c6f704c8884676454e84d916cd86507
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions