|
Remove unneeded shm versions of bucket functions from command buffer
Remove shm versions of bucket functions from command buffer for commands
that do not need two different ways to send pointer data.
The actual code uses only bucket commands. The shm versions are
either unused or used only by the unit tests.
Make the unit tests use the immediate commands.
Solves the problem of not having to implement one useless function for
the a new command when using bucket commands.
Support the case of CompressedTex{,Sub}Image2D, where the function
is implemented with shm and bucket commands.
In the code generator function info table, replace 'immediate': False
and 'bucket': True properties of function info objects with
'data_transfer_method': ['immediate', 'bucket', 'shm' ] property.
Remove the handwritten GetAttribLocation command and rename
GetAttribLocationBucket to GetAttribLocation. This is consistent with
other handwritten commands: the command name is the gl call name, and it
just happens to use buckets to communicate some of its arguments. The
command does not have 'Bucket' prefix due to it not being a 'Bucket'
variant. Do the same with GetUniformLocation and
GetUniformLocationBucket.
BUG= 373763
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277697
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+565 lines, -1399 lines) |
Patch |
 |
M |
gpu/command_buffer/build_gles2_cmd_buffer.py
|
View
|
1
2
3
|
39 chunks |
+66 lines, -74 lines |
2 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_cmd_helper.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -29 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_cmd_helper_autogen.h
|
View
|
1
2
3
|
6 chunks |
+24 lines, -58 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format.h
|
View
|
1
2
3
|
5 chunks |
+24 lines, -158 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_autogen.h
|
View
|
1
2
3
|
7 chunks |
+109 lines, -279 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_format_test_autogen.h
|
View
|
1
2
3
|
12 chunks |
+31 lines, -89 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/gles2_cmd_ids_autogen.h
|
View
|
1
2
3
|
1 chunk |
+195 lines, -200 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
|
5 chunks |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h
|
View
|
1
|
5 chunks |
+47 lines, -8 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_2.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h
|
View
|
1
2
3
|
4 chunks |
+8 lines, -50 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc
|
View
|
|
8 chunks |
+33 lines, -356 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|