diff options
| author | 2024-04-28 13:09:04 +0000 | |
|---|---|---|
| committer | 2024-05-29 01:03:49 +0000 | |
| commit | a17429660467548a1bc5f8d435a327500fbe972b (patch) | |
| tree | c53a4d8b2becfaf2d120c95ae241f00cd0fd36be /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 5f5998f23f6d6599e0771386d0555601d904fed2 (diff) | |
Build egl_display extension string using temporary vector
Currently it is very easy to forget to add a trailing space when adding to the extension string. This has already caused a major bug fixed by 0bc64a80291111ad9356377e7247acdf77325e75.
Build the string using a vector instead similar to libANGLE::Context::initExtensionStrings() does it. This is much less error prone than the current code.
Test: Added unit test
Test: Ran atest EGL_test
Test: Confirmed string output is the same with print
Bug: 285606242
Change-Id: I7f837a3009f0ccfedcf44f3d7ff709a269d0034f
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions