Loading libs/vr/libbufferhub/buffer_hub_base.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -209,10 +209,6 @@ int BufferHubBase::GetBlobReadWritePointer(size_t size, void** addr) { return ret; } int BufferHubBase::GetBlobReadOnlyPointer(size_t size, void** addr) { return GetBlobReadWritePointer(size, addr); } void BufferHubBase::GetBlobFds(int* fds, size_t* fds_count, size_t max_fds_count) const { size_t numFds = static_cast<size_t>(native_handle()->numFds); Loading libs/vr/libbufferhub/include/private/dvr/buffer_hub_base.h +0 −5 Original line number Diff line number Diff line Loading @@ -39,11 +39,6 @@ class BufferHubBase : public pdx::Client { // after calling this method. int GetBlobReadWritePointer(size_t size, void** addr); // Gets a blob buffer that was created with ProducerBuffer::CreateBlob. // Locking and Unlocking is handled internally. There's no need to Unlock // after calling this method. int GetBlobReadOnlyPointer(size_t size, void** addr); // Returns a dup'd file descriptor for accessing the blob shared memory. The // caller takes ownership of the file descriptor and must close it or pass on // ownership. Some GPU API extensions can take file descriptors to bind shared Loading libs/vr/libvrsensor/pose_client.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class PoseClient : public pdx::ClientBase<PoseClient> { } constexpr size_t size = DvrVsyncPoseBuffer::kSize * sizeof(DvrPoseAsync); void* addr = nullptr; int ret = buffer->GetBlobReadOnlyPointer(size, &addr); int ret = buffer->GetBlobReadWritePointer(size, &addr); if (ret < 0 || !addr) { ALOGE("Pose failed to map ring buffer: ret:%d, addr:%p", ret, addr); return -EIO; Loading Loading
libs/vr/libbufferhub/buffer_hub_base.cpp +0 −4 Original line number Diff line number Diff line Loading @@ -209,10 +209,6 @@ int BufferHubBase::GetBlobReadWritePointer(size_t size, void** addr) { return ret; } int BufferHubBase::GetBlobReadOnlyPointer(size_t size, void** addr) { return GetBlobReadWritePointer(size, addr); } void BufferHubBase::GetBlobFds(int* fds, size_t* fds_count, size_t max_fds_count) const { size_t numFds = static_cast<size_t>(native_handle()->numFds); Loading
libs/vr/libbufferhub/include/private/dvr/buffer_hub_base.h +0 −5 Original line number Diff line number Diff line Loading @@ -39,11 +39,6 @@ class BufferHubBase : public pdx::Client { // after calling this method. int GetBlobReadWritePointer(size_t size, void** addr); // Gets a blob buffer that was created with ProducerBuffer::CreateBlob. // Locking and Unlocking is handled internally. There's no need to Unlock // after calling this method. int GetBlobReadOnlyPointer(size_t size, void** addr); // Returns a dup'd file descriptor for accessing the blob shared memory. The // caller takes ownership of the file descriptor and must close it or pass on // ownership. Some GPU API extensions can take file descriptors to bind shared Loading
libs/vr/libvrsensor/pose_client.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class PoseClient : public pdx::ClientBase<PoseClient> { } constexpr size_t size = DvrVsyncPoseBuffer::kSize * sizeof(DvrPoseAsync); void* addr = nullptr; int ret = buffer->GetBlobReadOnlyPointer(size, &addr); int ret = buffer->GetBlobReadWritePointer(size, &addr); if (ret < 0 || !addr) { ALOGE("Pose failed to map ring buffer: ret:%d, addr:%p", ret, addr); return -EIO; Loading