Implement TransformFeedbackManager in GPU command buffer.
A few design points:
1) create a "default" transform feedback for each context (instead of using
the default 0). This will make context switching easier.
2) Emulate BindBufferRange behaviors on GL 4.1 or lower by tracking indexed
buffer bindings.
WHat's left to be done:
1) Intercept GetIntegeri_v and GetIntegeri64_v on GL 4.1 or lower (due to the
emulation)
2) Hook up indexed buffer bindings to Program (for uniform buffer bindings)
BUG=604436
TEST=gpu_unittests,webgl2_conformance
R=piman@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/1922633002
Cr-Commit-Position: refs/heads/master@{#391605}
CrOS-Libchrome-Original-Commit: 6c468baf6600fe4846e73203ce2e83398ee73813
1 file changed