summaryrefslogtreecommitdiffstats
path: root/include/ui/Surface.h
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 /include/ui/Surface.h
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 'include/ui/Surface.h')
-rw-r--r--include/ui/Surface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/Surface.h b/include/ui/Surface.h
index 6eb06ae..ce50719 100644
--- a/include/ui/Surface.h
+++ b/include/ui/Surface.h
@@ -54,8 +54,8 @@ public:
return handle;
}
- status_t lock(uint32_t usage);
- status_t lock(uint32_t usage, const Rect& rect);
+ status_t lock(uint32_t usage, void** vaddr);
+ status_t lock(uint32_t usage, const Rect& rect, void** vaddr);
status_t unlock();
protected: