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 | 430f2ed5c03312700131a70c858b98e1cc6bc161 (patch) | |
tree | 9ca0a2fbaeab0b932002818f2a33bd0de2e80623 /opengl/include | |
parent | 6279619e4279daf77feff0c76e089b26ad66124f (diff) | |
download | frameworks_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.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); |