diff options
author | Nader Jawad <njawad@google.com> | 2021-05-13 19:08:04 -0700 |
---|---|---|
committer | Nader Jawad <njawad@google.com> | 2021-05-13 19:08:04 -0700 |
commit | 91a55b613d572497a660fb3303a6326d1844cd02 (patch) | |
tree | 3149947d941d0fcd0e9d84373e0575bc18d24c04 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5ac4488fecbccb9779b51798d4f3c9c0c7e06fb3 (diff) |
Improve Stretch shader performance
Refactor stretch shader to return within
conditional blocks instead of falling
through to main function body.
Improves performance on coral by approximately 60%
~600 fps to ~1k fps on non-surfaceview case
~300 fps to 500 fps on surfaceview case
Bug: 187718492
Test: manual
Change-Id: Ida0d0dee9c94b0ac210a024708100283fecc2a5c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions