|
Add commands Jump, Call and Return
This is the minimal change version.
There were 3 possible solution:
#1) Remove these commands
#2) Change the command buffers so the client side
can not see the "get" pointer and therefore force
the client side to use tokens to say in sync.
It's the cleaner solution. It lets you put commands
in any shared memory thereby getting rid of the ring
buffer commands.
But, it required major changes. After going down
that path for an entire day I punted for...
#3) Implement the commands assuming there is only
one buffer the commands can be in (what is currently
called the ring_buffer). With the jump commands
available it no longer has to be used as a ring
buffer. A Pepper or NaCl app can use it however
they want but, unlike solution #2 they only get
the one buffer.
TEST=none
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37446
Total comments: 1
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+265 lines, -112 lines) |
Patch |
 |
M |
gpu/command_buffer/client/cmd_buffer_helper.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/cmd_buffer_helper.cc
|
View
|
1
|
2 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/cmd_buffer_helper_test.cc
|
View
|
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/cmd_buffer_common.h
|
View
|
|
4 chunks |
+22 lines, -30 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_buffer_engine.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_parser.h
|
View
|
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_parser.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/common_decoder.h
|
View
|
1
2
3
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/common_decoder.cc
|
View
|
1
2
3
|
2 chunks |
+31 lines, -5 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/common_decoder_unittest.cc
|
View
|
1
2
3
|
6 chunks |
+131 lines, -16 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_processor.cc
|
View
|
1
2
3
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|