|
Collect DirectX diagnostic information asynchronously.
Collecting this can take a couple of seconds. I put the code onto a worker thread. The about:gpuinfo handler polls for it until it is available, initially displaying only the subset of informtation that can be retreived quickly.
This makes the startup time for accelerated compositing, WebGL, etc significantly lower on Windows. None of the other platforms have this issue.
TEST=go to about:gpuinfo, try
BUG= 59711
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66184
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -68 lines) |
Patch |
 |
M |
chrome/browser/browser_about_handler.cc
|
View
|
1
|
2 chunks |
+22 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_info.h
|
View
|
1
|
3 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_info.cc
|
View
|
1
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_messages.cc
|
View
|
1
|
7 chunks |
+44 lines, -43 lines |
0 comments
|
Download
|
 |
M |
chrome/common/gpu_messages_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_info_collector_linux.cc
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_info_collector_mac.mm
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_info_collector_win.cc
|
View
|
1
|
1 chunk |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/gpu/gpu_thread.cc
|
View
|
1
|
4 chunks |
+40 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|