Descriptiongpu: Support other buffer targets for ScopedBufferBinder
As a result of [1], ScopedBufferBinder supports decoder state restoration only for GL_ARRAY_BUFFER.
This CL now extends its support for other buffer targets which are supported at the context level.
[1] https://codereview.chromium.org/2762833003/
BUG=None
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
Review-Url: https://codereview.chromium.org/2788793003
Cr-Commit-Position: refs/heads/master@{#462376}
Committed: https://chromium.googlesource.com/chromium/src/+/b0a7f41f21e310fb708a01ea0cdf81816d4df386
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added support for other buffer targets #
Total comments: 4
Patch Set 3 : Update{Pack,Unpack}Parameters() made public #
Messages
Total messages: 25 (11 generated)
|