Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Issue 211133005: [WIP] Not for review. Zero copy.

Created:
6 years, 9 months ago by kalyank
Modified:
6 years, 6 months ago
Reviewers:
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : Remove un-necessary offset calculations #

Patch Set 3 : GBM + mmap support #

Patch Set 4 : Rebase #

Patch Set 5 : Move buffer creation to Browser process side. #

Patch Set 6 : rebase #

Patch Set 7 : Use dma_buf+mmap only if platform supports it #

Patch Set 8 : Get stride from Bo #

Patch Set 9 : remove unintended changes #

Patch Set 10 : minor cleanup #

Patch Set 11 : Rebase #

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

Powered by Google App Engine
This is Rietveld 408576698