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

Side by Side Diff: content/browser/gpu/gpu_process_host.cc

Issue 2529713002: Run the WebGL conformance tests with the passthrough command decoder. (Closed)
Patch Set: Remove buildbot changes. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/gpu/gpu_process_host.h" 5 #include "content/browser/gpu/gpu_process_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <list> 10 #include <list>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 #endif 155 #endif
156 #if defined(USE_OZONE) 156 #if defined(USE_OZONE)
157 switches::kOzonePlatform, 157 switches::kOzonePlatform,
158 #endif 158 #endif
159 #if defined(USE_X11) && !defined(OS_CHROMEOS) 159 #if defined(USE_X11) && !defined(OS_CHROMEOS)
160 switches::kX11Display, 160 switches::kX11Display,
161 #endif 161 #endif
162 switches::kGpuTestingGLVendor, 162 switches::kGpuTestingGLVendor,
163 switches::kGpuTestingGLRenderer, 163 switches::kGpuTestingGLRenderer,
164 switches::kGpuTestingGLVersion, 164 switches::kGpuTestingGLVersion,
165 switches::kDisableGpuDriverBugWorkarounds}; 165 switches::kDisableGpuDriverBugWorkarounds,
166 switches::kUsePassthroughCmdDecoder};
166 167
167 enum GPUProcessLifetimeEvent { 168 enum GPUProcessLifetimeEvent {
168 LAUNCHED, 169 LAUNCHED,
169 DIED_FIRST_TIME, 170 DIED_FIRST_TIME,
170 DIED_SECOND_TIME, 171 DIED_SECOND_TIME,
171 DIED_THIRD_TIME, 172 DIED_THIRD_TIME,
172 DIED_FOURTH_TIME, 173 DIED_FOURTH_TIME,
173 GPU_PROCESS_LIFETIME_EVENT_MAX = 100 174 GPU_PROCESS_LIFETIME_EVENT_MAX = 100
174 }; 175 };
175 176
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1191 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1192 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1192 ClientIdToShaderCacheMap::iterator iter = 1193 ClientIdToShaderCacheMap::iterator iter =
1193 client_id_to_shader_cache_.find(client_id); 1194 client_id_to_shader_cache_.find(client_id);
1194 // If the cache doesn't exist then this is an off the record profile. 1195 // If the cache doesn't exist then this is an off the record profile.
1195 if (iter == client_id_to_shader_cache_.end()) 1196 if (iter == client_id_to_shader_cache_.end())
1196 return; 1197 return;
1197 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1198 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1198 } 1199 }
1199 1200
1200 } // namespace content 1201 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/test/gpu/gpu_tests/gpu_test_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698