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

Unified Diff: runtime/embedders/android/graphics.cc

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review fixes Created 7 years, 11 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 | « runtime/embedders/android/graphics.h ('k') | runtime/embedders/android/input_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/embedders/android/graphics.cc
diff --git a/samples/android_sample/jni/graphics.cc b/runtime/embedders/android/graphics.cc
similarity index 96%
rename from samples/android_sample/jni/graphics.cc
rename to runtime/embedders/android/graphics.cc
index ac0646e5e50a34b04e06650727853f95a1f300f7..2b2ed17ecf16ff04908171cc4fe6d2a84bdb7d33 100644
--- a/samples/android_sample/jni/graphics.cc
+++ b/runtime/embedders/android/graphics.cc
@@ -2,12 +2,12 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#include "jni/graphics.h"
+#include "embedders/android/graphics.h"
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
-#include "jni/log.h"
+#include "embedders/android/log.h"
Graphics::Graphics(android_app* application, Timer* timer)
: application_(application),
@@ -28,7 +28,7 @@ const int32_t& Graphics::width() {
}
int32_t Graphics::Start() {
- EGLint format, numConfigs, errorResult;
+ EGLint format, numConfigs;
EGLConfig config;
const EGLint attributes[] = {
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
« no previous file with comments | « runtime/embedders/android/graphics.h ('k') | runtime/embedders/android/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698