summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-20 10:50:52 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-20 10:50:52 -0700
commit811fdfd9b7863ee4e6300500b9159d11878e1664 (patch)
tree96226ddee497fb27b25451434507bdfa79ff43c1 /include
parente69b16a6cb04014f3bab0c7a0ed4ed5f40732e5c (diff)
parent71f771570e1b5341048a6fbf82a7c57d885bd850 (diff)
downloadframeworks_native-811fdfd9b7863ee4e6300500b9159d11878e1664.zip
frameworks_native-811fdfd9b7863ee4e6300500b9159d11878e1664.tar.gz
frameworks_native-811fdfd9b7863ee4e6300500b9159d11878e1664.tar.bz2
Merge change 5892
* changes: Hardware overlay support
Diffstat (limited to 'include')
-rw-r--r--include/ui/Overlay.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/Overlay.h b/include/ui/Overlay.h
index 9ba2f7b..acc9bea 100644
--- a/include/ui/Overlay.h
+++ b/include/ui/Overlay.h
@@ -82,6 +82,10 @@ public:
/* release the overlay buffer and post it */
status_t queueBuffer(overlay_buffer_t buffer);
+ status_t setCrop(uint32_t x, uint32_t y, uint32_t w, uint32_t h) ;
+
+ status_t getCrop(uint32_t* x, uint32_t* y, uint32_t* w, uint32_t* h) ;
+
/* returns the address of a given buffer if supported, NULL otherwise. */
void* getBufferAddress(overlay_buffer_t buffer);