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

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

Issue 2945453002: color: Use base::Feature to control color correct rendering (Closed)
Patch Set: Add histogram enum Created 3 years, 6 months 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 switches::kDisableGLExtensions, 126 switches::kDisableGLExtensions,
127 switches::kDisableLogging, 127 switches::kDisableLogging,
128 switches::kDisableSeccompFilterSandbox, 128 switches::kDisableSeccompFilterSandbox,
129 switches::kDisableShaderNameHashing, 129 switches::kDisableShaderNameHashing,
130 #if BUILDFLAG(ENABLE_WEBRTC) 130 #if BUILDFLAG(ENABLE_WEBRTC)
131 switches::kDisableWebRtcHWEncoding, 131 switches::kDisableWebRtcHWEncoding,
132 #endif 132 #endif
133 #if defined(OS_WIN) 133 #if defined(OS_WIN)
134 switches::kEnableAcceleratedVpxDecode, 134 switches::kEnableAcceleratedVpxDecode,
135 #endif 135 #endif
136 switches::kEnableColorCorrectRendering,
137 switches::kEnableGpuRasterization, 136 switches::kEnableGpuRasterization,
138 switches::kEnableHeapProfiling, 137 switches::kEnableHeapProfiling,
139 switches::kEnableLogging, 138 switches::kEnableLogging,
140 #if defined(OS_CHROMEOS) 139 #if defined(OS_CHROMEOS)
141 switches::kDisableVaapiAcceleratedVideoEncode, 140 switches::kDisableVaapiAcceleratedVideoEncode,
142 #endif 141 #endif
143 switches::kGpuDriverBugWorkarounds, 142 switches::kGpuDriverBugWorkarounds,
144 switches::kGpuStartupDialog, 143 switches::kGpuStartupDialog,
145 switches::kGpuSandboxAllowSysVShm, 144 switches::kGpuSandboxAllowSysVShm,
146 switches::kGpuSandboxFailuresFatal, 145 switches::kGpuSandboxFailuresFatal,
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 if (!cache.get()) 1208 if (!cache.get())
1210 return; 1209 return;
1211 1210
1212 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, 1211 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader,
1213 weak_ptr_factory_.GetWeakPtr())); 1212 weak_ptr_factory_.GetWeakPtr()));
1214 1213
1215 client_id_to_shader_cache_[client_id] = cache; 1214 client_id_to_shader_cache_[client_id] = cache;
1216 } 1215 }
1217 1216
1218 } // namespace content 1217 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698