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

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

Issue 14947002: Updated OSX to blacklist multisampling when multiple monitors are connected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Windows build warning Created 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_data_manager_impl.h" 5 #include "content/browser/gpu/gpu_data_manager_impl.h"
6 6
7 #include "content/browser/gpu/gpu_data_manager_impl_private.h" 7 #include "content/browser/gpu/gpu_data_manager_impl_private.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 void GpuDataManagerImpl::DisableDomainBlockingFor3DAPIsForTesting() { 215 void GpuDataManagerImpl::DisableDomainBlockingFor3DAPIsForTesting() {
216 base::AutoLock auto_lock(lock_); 216 base::AutoLock auto_lock(lock_);
217 private_->DisableDomainBlockingFor3DAPIsForTesting(); 217 private_->DisableDomainBlockingFor3DAPIsForTesting();
218 } 218 }
219 219
220 size_t GpuDataManagerImpl::GetBlacklistedFeatureCount() const { 220 size_t GpuDataManagerImpl::GetBlacklistedFeatureCount() const {
221 base::AutoLock auto_lock(lock_); 221 base::AutoLock auto_lock(lock_);
222 return private_->GetBlacklistedFeatureCount(); 222 return private_->GetBlacklistedFeatureCount();
223 } 223 }
224 224
225 void GpuDataManagerImpl::SetDisplayCount(unsigned int display_count) {
226 base::AutoLock auto_lock(lock_);
227 private_->SetDisplayCount(display_count);
228 }
229
230 unsigned int GpuDataManagerImpl::GetDisplayCount() const {
231 base::AutoLock auto_lock(lock_);
232 return private_->GetDisplayCount();
233 }
234
225 void GpuDataManagerImpl::Notify3DAPIBlocked(const GURL& url, 235 void GpuDataManagerImpl::Notify3DAPIBlocked(const GURL& url,
226 int render_process_id, 236 int render_process_id,
227 int render_view_id, 237 int render_view_id,
228 ThreeDAPIType requester) { 238 ThreeDAPIType requester) {
229 base::AutoLock auto_lock(lock_); 239 base::AutoLock auto_lock(lock_);
230 private_->Notify3DAPIBlocked( 240 private_->Notify3DAPIBlocked(
231 url, render_process_id, render_view_id, requester); 241 url, render_process_id, render_view_id, requester);
232 } 242 }
233 243
234 GpuDataManagerImpl::GpuDataManagerImpl() 244 GpuDataManagerImpl::GpuDataManagerImpl()
235 : private_(GpuDataManagerImplPrivate::Create(this)) { 245 : private_(GpuDataManagerImplPrivate::Create(this)) {
236 } 246 }
237 247
238 GpuDataManagerImpl::~GpuDataManagerImpl() { 248 GpuDataManagerImpl::~GpuDataManagerImpl() {
239 } 249 }
240 250
241 } // namespace content 251 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_data_manager_impl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698