|
X11: Use a better visual for OpenGL
This CL delegates picking a transparent visual to the GPU
process. Previously, the browser process did not have enough
information to decide which visual to use because it couldn't get
GL-specific visual information directly. On Nvidia drivers,
picking the wrong transparent visual made the browser unusable.
Main changes introduced:
* Remove command line arguments window-depth, x11-visual-id, and
disable_transparent_visuals.
* Remove driver bug DISABLE_TRANSPARENT_VISUALS
* GPU process picks an ARGB visual and a system visual (which may
be different from the default visual) and sends it back in GPUInfo
BUG= 347333, 369209, 640170, 640170
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/62ba78ffcdf525eb9ed640724e640fcf22fbbf87
Cr-Commit-Position: refs/heads/master@{#422274}
Total comments: 34
Total comments: 1
Total comments: 30
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+678 lines, -259 lines) |
Patch |
 |
M |
content/browser/browser_main_loop.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
4 chunks |
+43 lines, -23 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_internals_ui.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_main.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/gpu/in_process_gpu_thread.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/test/gpu/page_sets/gpu_process_tests.py
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/app_window/app_window_apitest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gl_context_virtual_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/in_process_command_buffer.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_driver_bug_list_json.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_driver_bug_workaround_type.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info.h
|
View
|
1
2
3
4
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info.cc
|
View
|
1
2
3
4
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info_collector.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/gpu_info.mojom
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/gpu_info_struct_traits.h
|
View
|
1
2
3
4
5
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/gpu_info_struct_traits.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/gpu_param_traits_macros.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/common/struct_traits_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/service/gpu_channel_manager.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
gpu/ipc/service/gpu_command_buffer_stub.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/gpu/avda_picture_buffer_manager.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/BUILD.gn
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/x/x11_util.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+93 lines, -50 lines |
0 comments
|
Download
|
 |
M |
ui/base/x/x11_util_internal.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+62 lines, -6 lines |
0 comments
|
Download
|
 |
D |
ui/base/x/x11_util_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/x/x11_switches.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/x/x11_switches.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/x/x11_types.h
|
View
|
1
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/DEPS
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_context.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/gl/gl_share_group.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_share_group.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_egl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+12 lines, -23 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_glx.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gl/gl_surface_glx.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+33 lines, -11 lines |
0 comments
|
Download
|
 |
A |
ui/gl/gl_visual_picker_glx.h
|
View
|
1
2
3
4
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/gl/gl_visual_picker_glx.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+169 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/test/views_test_base.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+22 lines, -17 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 95 (68 generated)
|