summaryrefslogtreecommitdiffstats
path: root/core/jni/com_google_android_gles_jni_EGLImpl.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-07-09 11:44:11 -0700
committerDianne Hackborn <hackbod@google.com>2010-07-09 16:58:19 -0700
commit289b9b62372ef52a06113b83dfb870e2c2fb325a (patch)
treee444446a331fdbe9b936a0c2570a609675468d05 /core/jni/com_google_android_gles_jni_EGLImpl.cpp
parent2aaa9e9fc5ddc05cedbe530c7a41eca0e3a62b7a (diff)
downloadframeworks_base-289b9b62372ef52a06113b83dfb870e2c2fb325a.zip
frameworks_base-289b9b62372ef52a06113b83dfb870e2c2fb325a.tar.gz
frameworks_base-289b9b62372ef52a06113b83dfb870e2c2fb325a.tar.bz2
Add ANativeWindow API for directly drawing to the surface bits.
Also other cleanup and fixes: - We now properly set the default window format to 565. - New APIs to set the window format and flags from native code. - Tweaked glue for simpler handling of the "destroy" message. - Um, other stuff. Change-Id: Id7790a21a2fa9a19b91854d225324a7c1e7c6ade
Diffstat (limited to 'core/jni/com_google_android_gles_jni_EGLImpl.cpp')
-rw-r--r--core/jni/com_google_android_gles_jni_EGLImpl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/jni/com_google_android_gles_jni_EGLImpl.cpp b/core/jni/com_google_android_gles_jni_EGLImpl.cpp
index 866c038..941ed63 100644
--- a/core/jni/com_google_android_gles_jni_EGLImpl.cpp
+++ b/core/jni/com_google_android_gles_jni_EGLImpl.cpp
@@ -16,6 +16,7 @@
*/
#include <android_runtime/AndroidRuntime.h>
+#include <android_runtime/android_view_Surface.h>
#include <utils/misc.h>
#include <EGL/egl.h>
@@ -25,8 +26,6 @@
#include <SkBitmap.h>
#include <SkPixelRef.h>
-#include "android_view_Surface.h"
-
namespace android {
static jclass gDisplay_class;