Use internal enums and a flat array for bound texture tracking.
Storing the bound textures in flat arrays significantly improves the performance of binding textures in the passthrough command decoder. BUG=angleproject:2188 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ibb9dca361a2d598aece5b9ed7ed2e373ae9b7183 Reviewed-on: https://chromium-review.googlesource.com/811765 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#527091}
Showing
Please register or sign in to comment