• Geoff Lang's avatar
    Use internal enums and a flat array for bound texture tracking. · fd4fc476
    Geoff Lang authored
    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: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#527091}
    fd4fc476
gles2_cmd_decoder_passthrough.cc 71.3 KB