summaryrefslogtreecommitdiffstats
path: root/opengl/include
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
commit21c59d0070fe24a8e04e52ce04d511a924a9932f (patch)
treefb3f5f8519fce57c714dce607b12dc44aba67702 /opengl/include
parente71212ba5397387100a578d23b15862518a7a859 (diff)
downloadframeworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.zip
frameworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.tar.gz
frameworks_native-21c59d0070fe24a8e04e52ce04d511a924a9932f.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')
-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];
};