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

Unified Diff: ui/gl/x11_pixmap_tracker.cc

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include x11 pixmap tracker Created 6 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 side-by-side diff with in-line comments
Download patch
« ui/gl/x11_pixmap_tracker.h ('K') | « ui/gl/x11_pixmap_tracker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/x11_pixmap_tracker.cc
diff --git a/ui/gl/android/surface_texture_tracker.cc b/ui/gl/x11_pixmap_tracker.cc
similarity index 61%
copy from ui/gl/android/surface_texture_tracker.cc
copy to ui/gl/x11_pixmap_tracker.cc
index d0ff16add929390c1b668aa4593855e3caf8d305..8354bf260692ff2b1b344f5b59ec2c66a639c569 100644
--- a/ui/gl/android/surface_texture_tracker.cc
+++ b/ui/gl/x11_pixmap_tracker.cc
@@ -2,23 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/gl/android/surface_texture_tracker.h"
+#include "ui/gl/x11_pixmap_tracker.h"
#include "base/logging.h"
namespace gfx {
namespace {
-SurfaceTextureTracker* g_instance = NULL;
+X11PixmapTracker* g_instance = NULL;
} // namespace
// static
-SurfaceTextureTracker* SurfaceTextureTracker::GetInstance() {
+X11PixmapTracker* X11PixmapTracker::GetInstance() {
DCHECK(g_instance);
return g_instance;
}
// static
-void SurfaceTextureTracker::InitInstance(SurfaceTextureTracker* tracker) {
+void X11PixmapTracker::InitInstance(X11PixmapTracker* tracker) {
DCHECK(!g_instance);
g_instance = tracker;
}
« ui/gl/x11_pixmap_tracker.h ('K') | « ui/gl/x11_pixmap_tracker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698