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

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

Issue 2727273003: Prevent preliminary blacklisted features from being used too early (Closed)
Patch Set: Created 3 years, 9 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_private.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_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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 GpuDataManagerImpl::DomainGuilt guilt, 226 GpuDataManagerImpl::DomainGuilt guilt,
227 base::Time at_time); 227 base::Time at_time);
228 GpuDataManagerImpl::DomainBlockStatus Are3DAPIsBlockedAtTime( 228 GpuDataManagerImpl::DomainBlockStatus Are3DAPIsBlockedAtTime(
229 const GURL& url, base::Time at_time) const; 229 const GURL& url, base::Time at_time) const;
230 int64_t GetBlockAllDomainsDurationInMs() const; 230 int64_t GetBlockAllDomainsDurationInMs() const;
231 231
232 bool complete_gpu_info_already_requested_; 232 bool complete_gpu_info_already_requested_;
233 233
234 std::set<int> blacklisted_features_; 234 std::set<int> blacklisted_features_;
235 std::set<int> preliminary_blacklisted_features_; 235 std::set<int> preliminary_blacklisted_features_;
236 bool preliminary_blacklisted_features_initialized_;
237
236 // Eventually |blacklisted_features_| should be folded in to this. 238 // Eventually |blacklisted_features_| should be folded in to this.
237 gpu::GpuFeatureInfo gpu_feature_info_; 239 gpu::GpuFeatureInfo gpu_feature_info_;
238 240
239 std::set<int> gpu_driver_bugs_; 241 std::set<int> gpu_driver_bugs_;
240 242
241 gpu::GPUInfo gpu_info_; 243 gpu::GPUInfo gpu_info_;
242 244
243 std::unique_ptr<gpu::GpuBlacklist> gpu_blacklist_; 245 std::unique_ptr<gpu::GpuBlacklist> gpu_blacklist_;
244 std::unique_ptr<gpu::GpuDriverBugList> gpu_driver_bug_list_; 246 std::unique_ptr<gpu::GpuDriverBugList> gpu_driver_bug_list_;
245 247
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // If one tries to call a member before initialization then it is defered 283 // If one tries to call a member before initialization then it is defered
282 // until Initialize() is completed. 284 // until Initialize() is completed.
283 std::vector<base::Closure> post_init_tasks_; 285 std::vector<base::Closure> post_init_tasks_;
284 286
285 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 287 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
286 }; 288 };
287 289
288 } // namespace content 290 } // namespace content
289 291
290 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 292 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698