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

Side by Side Diff: gpu/ipc/service/gpu_memory_tracking.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_ 5 #ifndef GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_
6 #define GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_ 6 #define GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/process/process.h" 10 #include "base/process/process.h"
(...skipping 22 matching lines...) Expand all
33 private: 33 private:
34 friend class GpuMemoryManager; 34 friend class GpuMemoryManager;
35 35
36 GpuMemoryTrackingGroup(base::ProcessId pid, 36 GpuMemoryTrackingGroup(base::ProcessId pid,
37 gles2::MemoryTracker* memory_tracker, 37 gles2::MemoryTracker* memory_tracker,
38 GpuMemoryManager* memory_manager); 38 GpuMemoryManager* memory_manager);
39 39
40 base::ProcessId pid_; 40 base::ProcessId pid_;
41 uint64_t size_; 41 uint64_t size_;
42 42
43 // Set and used only during the Manage function, to determine which
44 // non-surface clients should be hibernated.
45 bool hibernated_;
46
47 gles2::MemoryTracker* memory_tracker_; 43 gles2::MemoryTracker* memory_tracker_;
48 GpuMemoryManager* memory_manager_; 44 GpuMemoryManager* memory_manager_;
49 }; 45 };
50 46
51 } // namespace gpu 47 } // namespace gpu
52 48
53 #endif // GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_ 49 #endif // GPU_IPC_SERVICE_GPU_MEMORY_TRACKING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698