commit | 91a55b613d572497a660fb3303a6326d1844cd02 | [log] [tgz] |
---|---|---|
author | Nader Jawad <njawad@google.com> | Thu May 13 19:08:04 2021 -0700 |
committer | Nader Jawad <njawad@google.com> | Thu May 13 19:08:04 2021 -0700 |
tree | 3149947d941d0fcd0e9d84373e0575bc18d24c04 | |
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