DescriptionImplement glGetUniformBlocksCHROMIUM: service side data packing
The plan is to implement a Chromium internal command glGetUniformBlocksCHROMIUM,
like what we did with glGetProgramInfoCHROMIUM. So we could obtain all uniform
block related information from a linked program in one command. This is to
optimize the below commands:
* glGetUniformBlockIndex
* glGetActiveUniformBlockiv
* glGetActiveUniformBlockName
By separating glGetUniformBlocksCHROMIUM from glGetProgramInfoCHROMIUM,
command buffer doesn't need to respond differently for glGetProgramInfoCHROMIUM
depending on whether it's ES2 or ES3 command. The drawback is we add an extra
client/service side round trip for some ES3 programs. If this becomes a
critical perf issue, we can easily merge these two commands into one at a future
time.
BUG=453127
TEST=gpu_unittests
R=piman@chromium.org
Committed: https://crrev.com/b2285c12f91b4ded610cde29763417c3a9797d8b
Cr-Commit-Position: refs/heads/master@{#313854}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Total comments: 2
Patch Set 3 : #Patch Set 4 : Fix #
Messages
Total messages: 12 (1 generated)
|