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

Unified Diff: services/ui/gles2/gpu_memory_tracker.cc

Issue 2194893002: services/ui: Revert CLs that broke Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/gles2/gpu_memory_tracker.h ('k') | services/ui/gles2/gpu_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gles2/gpu_memory_tracker.cc
diff --git a/services/ui/gles2/gpu_memory_tracker.cc b/services/ui/gles2/gpu_memory_tracker.cc
new file mode 100644
index 0000000000000000000000000000000000000000..efdaec78c0a4f2f1049c1aabe70055450ae39918
--- /dev/null
+++ b/services/ui/gles2/gpu_memory_tracker.cc
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "services/ui/gles2/gpu_memory_tracker.h"
+
+namespace ui {
+
+GpuMemoryTracker::GpuMemoryTracker() {}
+
+void GpuMemoryTracker::TrackMemoryAllocatedChange(
+ size_t old_size,
+ size_t new_size) {}
+
+bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) {
+ return true;
+}
+
+uint64_t GpuMemoryTracker::ClientTracingId() const {
+ return 0u;
+}
+
+int GpuMemoryTracker::ClientId() const {
+ return 0;
+}
+
+uint64_t GpuMemoryTracker::ShareGroupTracingGUID() const {
+ // TODO(rjkroege): This should return a GUID which identifies the share group
+ // we are tracking memory for. This GUID should correspond to the GUID of the
+ // first command buffer in the share group.
+ return 0;
+}
+
+GpuMemoryTracker::~GpuMemoryTracker() {}
+
+} // namespace ui
« no previous file with comments | « services/ui/gles2/gpu_memory_tracker.h ('k') | services/ui/gles2/gpu_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698