|
command_buffer: Batch command processing to reduce handler overheads.
Old processing order for each command:
scheduler.PutChanged() -> parser::ParseCommand() -> decoder::DoCommand()
This patch runs commands in batches (default of 20):
scheduler.PutChanged() -> CmdParser::ParseCommands(20) -> dec::DoCommands(..)
Performance improvement is an average 0.2ms/frame on N5 on GPU rasterized pages.
BUG= 394570
Committed: https://crrev.com/8266ca7b30020175e2564b9760597672f7f3ad57
Cr-Commit-Position: refs/heads/master@{#294017}
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+437 lines, -162 lines) |
Patch |
 |
M |
gpu/command_buffer/client/cmd_buffer_helper_test.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/fenced_allocator_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/mapped_memory_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/client/ring_buffer_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_parser.h
|
View
|
1
2
3
4
|
4 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_parser.cc
|
View
|
1
2
3
4
|
1 chunk |
+53 lines, -34 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/cmd_parser_test.cc
|
View
|
|
14 chunks |
+52 lines, -58 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/common_decoder_unittest.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
|
13 chunks |
+144 lines, -44 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_mock.h
|
View
|
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_mock.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
View
|
|
2 chunks |
+100 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_scheduler.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_scheduler_unittest.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/mocks.h
|
View
|
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/mocks.cc
|
View
|
|
1 chunk |
+17 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (2 generated)
|