|
gpu: Separate GpuControlService from GpuControl
Orignal goal of this CL is to make
InProcessCommandBuffer::CreateGpuMemoryBuffer and
DestroyGpuMemoryBuffer thread safe. Before this, Create runs
on the client thread and Destroy runs on the service thread
without any kind of synchronization. This change makes the
division closer to the cross-process implementation, moving
parts of the implementation from GpuControlService to
GpuControl/InProcessViewRenderer.
As a result, GpuControlService no longer needs to inherit
GpuControl. And GLES2Decoder has enough information to
decide on all gpu::Capabilities.
Need to implement the bare minimum client GpuControl for
gl_tests and gles2_conform_test. This currently involves
some boilerplate and duplication.
BUG= 362346
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267753
Total comments: 10
Total comments: 1
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+278 lines, -325 lines) |
Patch |
|
M |
content/common/gpu/client/command_buffer_proxy_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+8 lines, -15 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/client_test_helper.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/gles2_implementation.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
A + |
gpu/command_buffer/client/gpu_control.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/client/gpu_memory_buffer_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gpu/command_buffer/common/capabilities.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
D |
gpu/command_buffer/common/gpu_control.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -71 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
8 chunks |
+10 lines, -19 lines |
2 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gpu_control_service.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+8 lines, -38 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gpu_control_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+9 lines, -89 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gpu_memory_buffer_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/image_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/image_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/in_process_command_buffer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/in_process_command_buffer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+35 lines, -14 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/vertex_array_manager.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/vertex_array_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -14 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/vertex_array_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/gl_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+26 lines, -3 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/tests/gl_manager.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+67 lines, -7 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer_client.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer_common.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
gpu/gles2_conform_support/egl/display.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+22 lines, -2 lines |
0 comments
|
Download
|
|
M |
gpu/gles2_conform_support/egl/display.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+50 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/gles2/command_buffer_client_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/gles2/command_buffer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
ppapi/proxy/ppapi_command_buffer_proxy.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|