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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 8692013: Improve GPU tests to fail when GPU drawing fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-added DLOG Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index fd2d2180ac57f22110b1d2e8b991b31351c5dc6f..7d7b3d33d7be4ade2957a5f57302911d0506b6ff 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -481,6 +481,10 @@ void GpuProcessHost::OnDestroyCommandBuffer(
}
void GpuProcessHost::OnGraphicsInfoCollected(const content::GPUInfo& gpu_info) {
+ // OnGraphicsInfoCollected is sent back after the GPU process successfully
+ // initializes GL.
+ TRACE_EVENT0("test_gpu", "OnGraphicsInfoCollected");
+
GpuDataManager::GetInstance()->UpdateGpuInfo(gpu_info);
}
@@ -493,8 +497,6 @@ void GpuProcessHost::OnProcessLaunched() {
// respond to any requests to establish a GPU channel. The response
// to such requests require that the GPU process handle be known.
- TRACE_EVENT0("test_gpu", "GpuProcessLaunched");
-
base::ProcessHandle child_handle = in_process_ ?
base::GetCurrentProcessHandle() : handle();
« no previous file with comments | « chrome/test/gpu/gpu_feature_browsertest.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698