|
This is a POC for enabling zero copy support using GBM. This work is inspired by
1)https://codereview.chromium.org/186123006/
2)https://codereview.chromium.org/116983006/
This CL adds support for EGL backend but am working on POC with GLX too.
I needed to export the following variables:
export EGL_PLATFORM=x11
Launched chrome with following command:
out/Debug/chrome --ui-enable-zero-copy --enable-zero-copy --no-sandbox --use-gl=egl
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+571 lines, -6 lines) |
Patch |
 |
M |
chrome/browser/lifetime/application_lifetime_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/app_list/linux/app_list_service_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
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
9
10
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_channel_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
A |
content/common/gpu/client/gpu_memory_buffer_impl_intel_drm.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/gpu/client/gpu_memory_buffer_impl_intel_drm.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+312 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/client/gpu_memory_buffer_impl_linux.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/gpu_memory_buffer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/gl/gl_image_linux_dma_buffer.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/gl/gl_image_linux_dma_buffer.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_image_x11.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|