|
Implement DRM Native Pixmap using prime buffer
This CL implements a new client native pixmap through the prime buffer. In
particular it uses a new feature of prime to map the exported graphics fd,
which conveniently can be used in the GpuMemoryBuffer for zero-copy (and
one-copy) rasterization in Chrome.
This pretty much replaces VGEM infrastructure when that's used to share buffers
in Chrome processes, so support for VGEM in Chrome is being removed as well in
this CL.
This feature requires Kernel changes in i915 and drm subsystems, and also in
userspace mini-gbm library.
BUG= 581151
TEST=memory coherent (IvyBridge) and non-coherent hardware (BayTrail-T).
Committed: https://crrev.com/eb129a0286bf817ce4e2d182ec1ce8222d50a316
Cr-Commit-Position: refs/heads/master@{#383513}
Total comments: 10
Total comments: 9
Total comments: 1
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+105 lines, -314 lines) |
Patch |
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
1
2
3
|
3 chunks |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/child_process_messages.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/common/sandbox_linux/bpf_renderer_policy_linux.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/content_test_suite.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/common/stub_client_native_pixmap_factory.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/caca/ozone_platform_caca.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/cast/ozone_platform_cast.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc
|
View
|
1
2
3
|
5 chunks |
+4 lines, -31 lines |
0 comments
|
Download
|
 |
A |
ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
|
View
|
1
2
3
4
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.cc
|
View
|
1
2
3
4
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
D |
ui/ozone/platform/drm/common/client_native_pixmap_vgem.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -49 lines |
0 comments
|
Download
|
 |
D |
ui/ozone/platform/drm/common/client_native_pixmap_vgem.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/gbm.gypi
|
View
|
1
2
3
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/gpu/gbm_surface_factory.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/host/drm_display_host_manager.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/host/drm_display_host_manager.cc
|
View
|
1
2
3
4
|
6 chunks |
+0 lines, -24 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/drm/ozone_platform_gbm.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/egltest/ozone_platform_egltest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/headless/ozone_platform_headless.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/wayland/ozone_platform_wayland.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/platform/x11/ozone_platform_x11.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/public/client_native_pixmap_factory.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/ozone/public/ozone_platform.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 40 (13 generated)
|