|
Android: Support GPU process
This supports running the GPU thread in its own process outside the browser (which is really the default mode).
This changes the browser compositor API to pass a Java Surface instead of ANativeWindow. (Needed to pass the surface handle over to the other process).
It implements a synchronous API from the GPU thread to the browser to retrieve the surface, which is safe since this ends up on a binder thread different from the main thread.
This is enabled by removing kInProcessGpu from content_startup_flags.cc
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186606
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+218 lines, -19 lines) |
Patch |
 |
M |
content/app/android/sandboxed_process_service.cc
|
View
|
1
|
5 chunks |
+31 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_render_view.cc
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/sandboxed_process_launcher.cc
|
View
|
1
|
2 chunks |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
|
4 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/app/SandboxedProcessService.java
|
View
|
1
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/SandboxedProcessLauncher.java
|
View
|
1
|
6 chunks |
+41 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/common/ISandboxedProcessCallback.aidl
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/browser/android/compositor.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.cc
|
View
|
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|