diff options
author | Mathias Agopian <mathias@google.com> | 2009-05-05 00:37:46 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-05-05 00:37:46 -0700 |
commit | e71212ba5397387100a578d23b15862518a7a859 (patch) | |
tree | 3bbcd9e77ec897c785781aacc35a5498fe2a0edc /opengl/include | |
parent | b2dd686d06a608ee40285b93bc0217cf26c2b035 (diff) | |
download | frameworks_native-e71212ba5397387100a578d23b15862518a7a859.zip frameworks_native-e71212ba5397387100a578d23b15862518a7a859.tar.gz frameworks_native-e71212ba5397387100a578d23b15862518a7a859.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.h | 3 |
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); |