|
Add multi-process GpuMemoryBuffer framework.
This adds a multi-process framework for reading/writing directly to
memory that the 3D graphics hardware can use for rendering without
any costly copying having to be done on the GPU process side.
A GpuMemoryBuffer is a type of shared memory that can be accessed
by the GPU. The high level procedure required to allocate this type
of memory is almost exactly the same as that for standard shared
memory. Only the browser process can allocated the memory and it
needs to be shared and registered with the GPU process before it can
be used.
This also adds a GpuMemoryBuffer type that is backed by standard
shared memory for testing purposes.
TEST=gpu_unittests --gtest_filter=MockGpuMemoryBufferTest.Lifecycle
BUG= 261649
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230248
Total comments: 1
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+451 lines, -7 lines) |
Patch |
|
M |
content/browser/gpu/browser_gpu_channel_host_factory.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/gpu/browser_gpu_channel_host_factory.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_message_filter.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_message_filter.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+21 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/child_process_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/child_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/child_process_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
|
content/common/gpu/client/command_buffer_proxy_impl.h
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/client/command_buffer_proxy_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+50 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_channel_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
6 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
|
content/common/gpu/client/gpu_channel_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
|
content/common/gpu/client/gpu_memory_buffer_impl.h
|
View
|
1
2
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/common/gpu/client/gpu_memory_buffer_impl.cc
|
View
|
1
2
3
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
3
4
5
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+42 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|