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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl.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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 void DisableDomainBlockingFor3DAPIsForTesting(); 158 void DisableDomainBlockingFor3DAPIsForTesting();
159 159
160 void Notify3DAPIBlocked(const GURL& url, 160 void Notify3DAPIBlocked(const GURL& url,
161 int render_process_id, 161 int render_process_id,
162 int render_view_id, 162 int render_view_id,
163 ThreeDAPIType requester); 163 ThreeDAPIType requester);
164 164
165 // Get number of features being blacklisted. 165 // Get number of features being blacklisted.
166 size_t GetBlacklistedFeatureCount() const; 166 size_t GetBlacklistedFeatureCount() const;
167 167
168 void SetDisplayCount(unsigned int display_count);
169 unsigned int GetDisplayCount() const;
170
168 private: 171 private:
169 friend class GpuDataManagerImplPrivate; 172 friend class GpuDataManagerImplPrivate;
170 friend class GpuDataManagerImplPrivateTest; 173 friend class GpuDataManagerImplPrivateTest;
171 friend struct DefaultSingletonTraits<GpuDataManagerImpl>; 174 friend struct DefaultSingletonTraits<GpuDataManagerImpl>;
172 175
173 // It's similar to AutoUnlock, but we want to make it a no-op 176 // It's similar to AutoUnlock, but we want to make it a no-op
174 // if the owner GpuDataManagerImpl is null. 177 // if the owner GpuDataManagerImpl is null.
175 // This should only be used by GpuDataManagerImplPrivate where 178 // This should only be used by GpuDataManagerImplPrivate where
176 // callbacks are called, during which re-entering 179 // callbacks are called, during which re-entering
177 // GpuDataManagerImpl is possible. 180 // GpuDataManagerImpl is possible.
(...skipping 21 matching lines...) Expand all
199 202
200 mutable base::Lock lock_; 203 mutable base::Lock lock_;
201 scoped_ptr<GpuDataManagerImplPrivate> private_; 204 scoped_ptr<GpuDataManagerImplPrivate> private_;
202 205
203 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 206 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
204 }; 207 };
205 208
206 } // namespace content 209 } // namespace content
207 210
208 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 211 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698