-
Adrienne Walker authored
https://chromium-review.googlesource.com/c/chromium/src/+/883944 restricted how often we would use shaders that clamped tex coords. However, this confusingly regressed perf a little bit on Android, which implies that program switching is expensive. This patch changes GLRenderer to always texture clamp these quads which reduces the number of shaders we use. Bug: 806836,806826 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I2b2e71b362d6a12f17758abe2edddf1759536016 Reviewed-on: https://chromium-review.googlesource.com/972546Reviewed-by:
Kenneth Russell <kbr@chromium.org> Reviewed-by:
Eric Karl <ericrk@chromium.org> Commit-Queue: enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#547780}
ac2b2c65