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

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

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Fixed Ozone build. Created 4 years, 8 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 base::FilePath swiftshader_path_; 246 base::FilePath swiftshader_path_;
247 247
248 // Current card force-blacklisted due to GPU crashes, or disabled through 248 // Current card force-blacklisted due to GPU crashes, or disabled through
249 // the --disable-gpu commandline switch. 249 // the --disable-gpu commandline switch.
250 bool card_blacklisted_; 250 bool card_blacklisted_;
251 251
252 // We disable histogram stuff in testing, especially in unit tests because 252 // We disable histogram stuff in testing, especially in unit tests because
253 // they cause random failures. 253 // they cause random failures.
254 bool update_histograms_; 254 bool update_histograms_;
255 255
256 // Number of currently open windows, to be used in gpu memory allocation.
257 int window_count_;
258
259 DomainBlockMap blocked_domains_; 256 DomainBlockMap blocked_domains_;
260 mutable std::list<base::Time> timestamps_of_gpu_resets_; 257 mutable std::list<base::Time> timestamps_of_gpu_resets_;
261 bool domain_blocking_enabled_; 258 bool domain_blocking_enabled_;
262 259
263 GpuDataManagerImpl* owner_; 260 GpuDataManagerImpl* owner_;
264 261
265 bool gpu_process_accessible_; 262 bool gpu_process_accessible_;
266 263
267 // True if Initialize() has been completed. 264 // True if Initialize() has been completed.
268 bool is_initialized_; 265 bool is_initialized_;
269 266
270 // True if all future Initialize calls should be ignored. 267 // True if all future Initialize calls should be ignored.
271 bool finalized_; 268 bool finalized_;
272 269
273 std::string disabled_extensions_; 270 std::string disabled_extensions_;
274 271
275 // If one tries to call a member before initialization then it is defered 272 // If one tries to call a member before initialization then it is defered
276 // until Initialize() is completed. 273 // until Initialize() is completed.
277 std::vector<base::Closure> post_init_tasks_; 274 std::vector<base::Closure> post_init_tasks_;
278 275
279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 276 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
280 }; 277 };
281 278
282 } // namespace content 279 } // namespace content
283 280
284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 281 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698