summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/tests/unittests/EventThreadTest.cpp
diff options
context:
space:
mode:
authorAna Krulec <akrulec@google.com>2021-01-13 12:51:47 -0800
committerAna Krulec <akrulec@google.com>2021-01-20 12:39:48 -0800
commitdfec8f5f9665e4088900cd76f656f480a10ed464 (patch)
tree667d5025fa5cf20a63c96ae2b1845986a73cccc6 /services/surfaceflinger/tests/unittests/EventThreadTest.cpp
parente74432c55a7bd6cc904ecb673ac567e343cfe89b (diff)
Caching images and textures for threaded Skia RE
Skia also performs texture generation and deletion when we create an image. This needs to happen on the same thread. Running Skia on it's own thread, will allow async caching of images, and hopefully increasing the start up/transition of application. Screenshot of the parallel caching: https://screenshot.googleplex.com/BUnne3urcoavykk Test results for DisplayOrientationMicrobench test for SFSTATS_GLOBAL_RENDER_ENGINE_DURATION_AVG metric: skiathreaded 1st run: 5.750296 ms skia threaded 2nd run: 5.530306 ms gles: 4.974821 ms skia: 6.374791 ms Test: Set renderengine backend to 'skiathreaded'. - run libsurfaceflinger_test, SurfaceFlinger_test - open apps - switch between apps Bug: 175312877 Change-Id: I6521f9ddfadff8c839bdd7071c2bd6cfadebb663
Diffstat (limited to 'services/surfaceflinger/tests/unittests/EventThreadTest.cpp')
0 files changed, 0 insertions, 0 deletions