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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl_private.h

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 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 void DisableDomainBlockingFor3DAPIsForTesting(); 96 void DisableDomainBlockingFor3DAPIsForTesting();
97 97
98 void Notify3DAPIBlocked(const GURL& url, 98 void Notify3DAPIBlocked(const GURL& url,
99 int render_process_id, 99 int render_process_id,
100 int render_view_id, 100 int render_view_id,
101 ThreeDAPIType requester); 101 ThreeDAPIType requester);
102 102
103 size_t GetBlacklistedFeatureCount() const; 103 size_t GetBlacklistedFeatureCount() const;
104 104
105 void SetDisplayCount(unsigned int display_count);
106 unsigned int GetDisplayCount() const;
107
105 virtual ~GpuDataManagerImplPrivate(); 108 virtual ~GpuDataManagerImplPrivate();
106 109
107 private: 110 private:
108 friend class GpuDataManagerImplPrivateTest; 111 friend class GpuDataManagerImplPrivateTest;
109 112
110 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, 113 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest,
111 GpuSideBlacklisting); 114 GpuSideBlacklisting);
112 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, 115 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest,
113 GpuSideExceptions); 116 GpuSideExceptions);
114 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest, 117 FRIEND_TEST_ALL_PREFIXES(GpuDataManagerImplPrivateTest,
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 226
224 // Number of currently open windows, to be used in gpu memory allocation. 227 // Number of currently open windows, to be used in gpu memory allocation.
225 int window_count_; 228 int window_count_;
226 229
227 DomainBlockMap blocked_domains_; 230 DomainBlockMap blocked_domains_;
228 mutable std::list<base::Time> timestamps_of_gpu_resets_; 231 mutable std::list<base::Time> timestamps_of_gpu_resets_;
229 bool domain_blocking_enabled_; 232 bool domain_blocking_enabled_;
230 233
231 GpuDataManagerImpl* owner_; 234 GpuDataManagerImpl* owner_;
232 235
236 unsigned int display_count_;
237
233 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 238 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
234 }; 239 };
235 240
236 } // namespace content 241 } // namespace content
237 242
238 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 243 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
239 244
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698