commit | 10e68eb8aa4db8b6f8cfbf2c3754e2677d7bf848 | [log] [tgz] |
---|---|---|
author | Hendrik Wagenaar <hendrikw@google.com> | Wed Mar 15 13:29:02 2017 -0700 |
committer | Hendrik Wagenaar <hendrikw@google.com> | Tue Mar 21 10:14:33 2017 -0700 |
tree | a3665e7e851a30b1c92d6b9032981acbedc8bd6d | |
parent | 1a13cc31a6064b882b627d78be7e0a04e8556463 [diff] [blame] |
Add dvr_buffer apis Test: None Bug: None Change-Id: I234d7ef4dabb4453cdbc67d3112adf2ffbbadaf4
diff --git a/libs/vr/libbufferhub/include/private/dvr/buffer_hub_client.h b/libs/vr/libbufferhub/include/private/dvr/buffer_hub_client.h index cefde7b..aacc385 100644 --- a/libs/vr/libbufferhub/include/private/dvr/buffer_hub_client.h +++ b/libs/vr/libbufferhub/include/private/dvr/buffer_hub_client.h
@@ -70,6 +70,10 @@ return LocalHandle(dup(native_handle()->data[0])); } + // Get up to |max_fds_count| file descriptors for accessing the blob shared + // memory. |fds_count| will contain the actual number of file descriptors. + void GetBlobFds(int* fds, size_t* fds_count, size_t max_fds_count) const; + using Client::event_fd; Status<int> GetEventMask(int events) {