|
gpu: Mailbox emulation with EGLImage
This adds support for sharing image buffers through EGLImage-like
semantics. It's made to look as if textures were shared through
mailboxes by creating multiple Texture instances and synchronizing
parameters and image handle etc. across MailboxManager instances (for
example across contexts and possibly GPU threads).
Since GL clients are async anyways, it only guarantees that changes to
the texture structure or filters become visible after the client has
waited on a sync point, while fences are used to synchronize read/write
access to the underlying buffer.
NOTRY=True
BUG= 332146
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256962
Total comments: 4
Total comments: 2
Total comments: 1
Total comments: 42
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1466 lines, -38 lines) |
Patch |
|
M |
android_webview/lib/main/aw_main_delegate.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/framebuffer_manager.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/framebuffer_manager.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_decoder.cc
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+53 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/in_process_command_buffer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/in_process_command_buffer.cc
|
View
|
|
3 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/mailbox_manager.h
|
View
|
|
4 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/mailbox_manager.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+39 lines, -6 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/mailbox_manager_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+339 lines, -2 lines |
0 comments
|
Download
|
|
A |
gpu/command_buffer/service/mailbox_synchronizer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+96 lines, -0 lines |
0 comments
|
Download
|
|
A |
gpu/command_buffer/service/mailbox_synchronizer.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+204 lines, -0 lines |
0 comments
|
Download
|
|
A |
gpu/command_buffer/service/texture_definition.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+127 lines, -0 lines |
0 comments
|
Download
|
|
A |
gpu/command_buffer/service/texture_definition.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+445 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/texture_manager.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer/service/texture_manager.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
gpu/command_buffer_service.gypi
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/generate_bindings.py
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_fence.h
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_fence.cc
|
View
|
1
|
9 chunks |
+41 lines, -16 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gl/gl_image.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|