|
|
Clear shader disk cache after glProgramBinary failure.
Currently, when the GPU process crashes trying to load a GL program from
our disk cache, we take no special action. This means we will very
likely try to load this same cache entry again, causing another crash.
This CL adds an "activity flags" object which is written by the GPU
process and read by the GPU process host. This allows us to detect
crashes while loading shaders and clear the cache in these instances.
R=vmiura
BUG= 699122, 658784
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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
Review-Url: https://codereview.chromium.org/2744363002
Cr-Commit-Position: refs/heads/master@{#457869}
Committed: https://chromium.googlesource.com/chromium/src/+/8c0b7bf620cb0ff2d74470b17800281e65405cdd
Total comments: 2
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+322 lines, -38 lines) |
Patch |
 |
M |
content/browser/gpu/gpu_process_host.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/gpu/gpu_process_host.cc
|
View
|
1
2
3
4
|
2 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_child_thread.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/BUILD.gn
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/DEPS
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/command_buffer/common/activity_flags.h
|
View
|
1
2
3
4
5
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/command_buffer/common/activity_flags.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/command_buffer/common/activity_flags_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/memory_program_cache.h
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/memory_program_cache.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/memory_program_cache_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/host/shader_disk_cache.h
|
View
|
1
2
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/host/shader_disk_cache.cc
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/in_process_command_buffer.h
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/in_process_command_buffer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/service/gpu_channel_manager.h
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
gpu/ipc/service/gpu_channel_manager.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
gpu/ipc/service/gpu_channel_test_common.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_main.h
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_main.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_service.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/ui/gpu/gpu_service.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/gpu/interfaces/gpu_main.mojom
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/ui/ws/gpu_host.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 47 (29 generated)
|