summaryrefslogtreecommitdiffstats
path: root/opengl/include/EGL
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-05 00:59:23 -0700
committerMathias Agopian <mathias@google.com>2009-05-05 00:59:23 -0700
commite633f9339a2556771c79c784b0b23a9aade30485 (patch)
treebb334508992dc3a8320957bb39e0016d047530ad /opengl/include/EGL
parent430f2ed5c03312700131a70c858b98e1cc6bc161 (diff)
downloadframeworks_base-e633f9339a2556771c79c784b0b23a9aade30485.zip
frameworks_base-e633f9339a2556771c79c784b0b23a9aade30485.tar.gz
frameworks_base-e633f9339a2556771c79c784b0b23a9aade30485.tar.bz2
get rid of android_native_buffer_t::getHandle() and replace it with an handle field
this abstraction was not necessary. things are easier now.
Diffstat (limited to 'opengl/include/EGL')
-rw-r--r--opengl/include/EGL/android_natives.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/opengl/include/EGL/android_natives.h b/opengl/include/EGL/android_natives.h
index 8db2bb3..b8465d5 100644
--- a/opengl/include/EGL/android_natives.h
+++ b/opengl/include/EGL/android_natives.h
@@ -157,13 +157,12 @@ struct android_native_buffer_t
int stride;
int format;
int usage;
+
+ void* reserved[2];
- void* reserved[3];
-
- int (*getHandle)(struct android_native_buffer_t const * base,
- buffer_handle_t* handle);
+ buffer_handle_t handle;
- void* reserved_proc[7];
+ void* reserved_proc[8];
};