diff options
author | Omprakash Dhyade c_odhyad@quicinc.com <c_odhyad@quicinc.com> | 2009-12-03 12:12:02 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-07-12 03:02:03 -0400 |
commit | 168859ed53f8e2a45d732ec5d78f91ae7cbcbf7e (patch) | |
tree | a558e0c288f1cf0665a5f8f48a23406e686ab5c2 /include | |
parent | 8e309093776b259a23077feb095aee082f68a2f8 (diff) | |
download | frameworks_base-168859ed53f8e2a45d732ec5d78f91ae7cbcbf7e.zip frameworks_base-168859ed53f8e2a45d732ec5d78f91ae7cbcbf7e.tar.gz frameworks_base-168859ed53f8e2a45d732ec5d78f91ae7cbcbf7e.tar.bz2 |
frameworks/base: Add setFd api to Overlay
setFd() is for client to pass its own buffer id
for Overlay HW engine to directly access.
Change-Id: I4e727cdb7d34d24b84bde41892694969ad2d4841
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/Overlay.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/Overlay.h b/include/ui/Overlay.h index a9ae1c4..9156e80 100644 --- a/include/ui/Overlay.h +++ b/include/ui/Overlay.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2007 The Android Open Source Project + * Copyright (c) 2009, Code Aurora Forum. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -91,6 +92,7 @@ public: /* set the buffer attributes */ status_t setParameter(int param, int value); + status_t setFd(int fd); /* returns the address of a given buffer if supported, NULL otherwise. */ void* getBufferAddress(overlay_buffer_t buffer); |