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

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

Issue 2871893002: color: Ensure solid color IOSurface layers are sRGB (Closed)
Patch Set: Fix up deps Created 3 years, 7 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 switches::kDisableGLExtensions, 124 switches::kDisableGLExtensions,
125 switches::kDisableLogging, 125 switches::kDisableLogging,
126 switches::kDisableSeccompFilterSandbox, 126 switches::kDisableSeccompFilterSandbox,
127 switches::kDisableShaderNameHashing, 127 switches::kDisableShaderNameHashing,
128 #if BUILDFLAG(ENABLE_WEBRTC) 128 #if BUILDFLAG(ENABLE_WEBRTC)
129 switches::kDisableWebRtcHWEncoding, 129 switches::kDisableWebRtcHWEncoding,
130 #endif 130 #endif
131 #if defined(OS_WIN) 131 #if defined(OS_WIN)
132 switches::kEnableAcceleratedVpxDecode, 132 switches::kEnableAcceleratedVpxDecode,
133 #endif 133 #endif
134 switches::kEnableColorCorrectRendering,
134 switches::kEnableGpuRasterization, 135 switches::kEnableGpuRasterization,
135 switches::kEnableHeapProfiling, 136 switches::kEnableHeapProfiling,
136 switches::kEnableLogging, 137 switches::kEnableLogging,
137 #if defined(OS_CHROMEOS) 138 #if defined(OS_CHROMEOS)
138 switches::kDisableVaapiAcceleratedVideoEncode, 139 switches::kDisableVaapiAcceleratedVideoEncode,
139 #endif 140 #endif
140 switches::kGpuDriverBugWorkarounds, 141 switches::kGpuDriverBugWorkarounds,
141 switches::kGpuStartupDialog, 142 switches::kGpuStartupDialog,
142 switches::kGpuSandboxAllowSysVShm, 143 switches::kGpuSandboxAllowSysVShm,
143 switches::kGpuSandboxFailuresFatal, 144 switches::kGpuSandboxFailuresFatal,
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 if (!cache.get()) 1207 if (!cache.get())
1207 return; 1208 return;
1208 1209
1209 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, 1210 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader,
1210 weak_ptr_factory_.GetWeakPtr())); 1211 weak_ptr_factory_.GetWeakPtr()));
1211 1212
1212 client_id_to_shader_cache_[client_id] = cache; 1213 client_id_to_shader_cache_[client_id] = cache;
1213 } 1214 }
1214 1215
1215 } // namespace content 1216 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698