summaryrefslogtreecommitdiffstats
path: root/opengl/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-05-05 00:37:46 -0700
committerMathias Agopian <mathias@google.com>2009-05-05 00:37:46 -0700
commit430f2ed5c03312700131a70c858b98e1cc6bc161 (patch)
tree9ca0a2fbaeab0b932002818f2a33bd0de2e80623 /opengl/include
parent6279619e4279daf77feff0c76e089b26ad66124f (diff)
downloadframeworks_base-430f2ed5c03312700131a70c858b98e1cc6bc161.zip
frameworks_base-430f2ed5c03312700131a70c858b98e1cc6bc161.tar.gz
frameworks_base-430f2ed5c03312700131a70c858b98e1cc6bc161.tar.bz2
removed the "bits" attribute from android_native_buffer_t.
"bits" can never be trusted now that we need to call lock() on the handle to get the virtual address of the buffer.
Diffstat (limited to 'opengl/include')
-rw-r--r--opengl/include/EGL/android_natives.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/opengl/include/EGL/android_natives.h b/opengl/include/EGL/android_natives.h
index 329705b..8db2bb3 100644
--- a/opengl/include/EGL/android_natives.h
+++ b/opengl/include/EGL/android_natives.h
@@ -157,9 +157,8 @@ struct android_native_buffer_t
int stride;
int format;
int usage;
- void* bits; // non-zero if buffer is locked for sw usage
- void* reserved[2];
+ void* reserved[3];
int (*getHandle)(struct android_native_buffer_t const * base,
buffer_handle_t* handle);