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

Unified Diff: ui/gl/gl_image.cc

Issue 10543125: gpu: Add support for GLX_EXT_texture_from_pixmap extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move CreateGLImage below virtual methods. Created 8 years, 2 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
Index: ui/gl/gl_image.cc
diff --git a/chrome/browser/ui/android/extensions/extension_view_android.cc b/ui/gl/gl_image.cc
similarity index 54%
copy from chrome/browser/ui/android/extensions/extension_view_android.cc
copy to ui/gl/gl_image.cc
index 072c5fe81ebb8de4731bbbc9b185026383e2e5fe..aaefb9453e994e3f80d5706418b836c19e56f2b9 100644
--- a/chrome/browser/ui/android/extensions/extension_view_android.cc
+++ b/ui/gl/gl_image.cc
@@ -2,14 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/android/extensions/extension_view_android.h"
+#include "ui/gl/gl_image.h"
#include "base/logging.h"
-void ExtensionViewAndroid::ResizeDueToAutoResize(const gfx::Size& new_size) {
+namespace gfx {
+
+GLImage::GLImage() {}
+
+bool GLImage::BindTexImage() {
NOTIMPLEMENTED();
+ return false;
}
-void ExtensionViewAndroid::RenderViewCreated() {
+void GLImage::ReleaseTexImage() {
NOTIMPLEMENTED();
}
+
+GLImage::~GLImage() {}
+
+} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698