Home
last modified time | relevance | path

Searched refs:controller_id (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libvrsensor/
Dpose_client.cpp66 int GetControllerPose(int32_t controller_id, uint32_t vsync_count, in GetControllerPose() argument
68 if (controller_id < 0 || controller_id >= arraysize(controllers_)) { in GetControllerPose()
71 if (!controllers_[controller_id].mapped_pose_buffer) { in GetControllerPose()
72 int ret = GetControllerRingBuffer(controller_id); in GetControllerPose()
77 controllers_[controller_id] in GetControllerPose()
171 int GetControllerRingBuffer(int32_t controller_id) { in GetControllerRingBuffer() argument
172 if (controller_id < 0 || controller_id >= arraysize(controllers_)) { in GetControllerRingBuffer()
175 ControllerClientState& client_state = controllers_[controller_id]; in GetControllerRingBuffer()
182 DVR_POSE_GET_CONTROLLER_RING_BUFFER, &controller_id, in GetControllerRingBuffer()
183 sizeof(controller_id), nullptr, 0); in GetControllerRingBuffer()
[all …]
/frameworks/native/libs/vr/libvrsensor/include/dvr/
Dpose_client.h148 int dvrPoseGetController(DvrPose* client, int32_t controller_id,
/frameworks/native/libs/vr/libdvr/include/dvr/
Ddvr_api.h182 typedef int (*DvrPoseGetControllerPtr)(DvrPose* client, int32_t controller_id,