OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GL_EGL_UTIL_H_ | 5 #include "ui/gfx/android/gfx_jni_registrar.h" |
6 #define UI_GL_EGL_UTIL_H_ | |
7 | 6 |
8 namespace gfx { | 7 namespace gfx { |
9 | 8 |
10 // Returns the last EGL error as a string. | 9 void RegisterBitmapAndroid(JNIEnv* env); |
11 const char* GetLastEGLErrorString(); | 10 |
| 11 bool RegisterJni(JNIEnv* env) { |
| 12 RegisterBitmapAndroid(env); |
| 13 return true; |
| 14 } |
12 | 15 |
13 } // namespace gfx | 16 } // namespace gfx |
14 | |
15 #endif // UI_GL_EGL_UTIL_H_ | |
OLD | NEW |