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

Unified Diff: ui/gl/gl_implementation_android.cc

Issue 2189233003: Move last of platform dependent init from //ui/gl to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix return values. 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 | « ui/gl/gl_implementation.h ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_implementation_android.cc
diff --git a/ui/gl/gl_implementation_android.cc b/ui/gl/gl_implementation_android.cc
deleted file mode 100644
index 0608b2e4685d6c1b50d849c6dc2d4f50be7f93ca..0000000000000000000000000000000000000000
--- a/ui/gl/gl_implementation_android.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 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 "ui/gl/gl_implementation.h"
-
-#include "base/logging.h"
-#include "ui/gl/gl_context_stub_with_extensions.h"
-#include "ui/gl/gl_egl_api_implementation.h"
-#include "ui/gl/gl_gl_api_implementation.h"
-#include "ui/gl/gl_implementation_osmesa.h"
-#include "ui/gl/gl_osmesa_api_implementation.h"
-
-namespace gl {
-
-void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
- impls->push_back(kGLImplementationEGLGLES2);
- impls->push_back(kGLImplementationOSMesaGL);
-}
-
-bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
- switch (GetGLImplementation()) {
- case kGLImplementationEGLGLES2:
- return GetGLWindowSystemBindingInfoEGL(info);
- default:
- return false;
- }
- return false;
-}
-
-} // namespace gl
« no previous file with comments | « ui/gl/gl_implementation.h ('k') | ui/gl/gl_implementation_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698