Alex Vakulenko | e4eec20 | 2017-01-27 14:41:04 -0800 | [diff] [blame] | 1 | #include <dvr/eds.h> |
| 2 | |
| 3 | #include <private/dvr/graphics/vr_gl_extensions.h> |
| 4 | #include <private/dvr/late_latch.h> |
| 5 | #include <private/dvr/types.h> |
| 6 | |
| 7 | // TODO(jbates) delete this file and eds.h |
| 8 | |
| 9 | extern "C" int dvrEdsInit(bool with_late_latch) { return 0; } |
| 10 | |
| 11 | extern "C" void dvrEdsDeinit() {} |
| 12 | |
| 13 | extern "C" int dvrEdsCapturePoseAsync(int eye, uint32_t target_vsync_count, |
| 14 | const float* projection_matrix, |
| 15 | const float* eye_from_head_matrix, |
| 16 | const float* pose_offset_matrix) { |
| 17 | return 0; |
| 18 | } |
| 19 | |
| 20 | extern "C" int dvrEdsBindPose(int eye, uint32_t ubo_binding, intptr_t offset, |
| 21 | ssize_t size) { |
| 22 | return 0; |
| 23 | } |
| 24 | |
| 25 | extern "C" int dvrEdsBlitPose(int eye, int viewport_width, |
| 26 | int viewport_height) { |
| 27 | return 0; |
| 28 | } |
| 29 | |
| 30 | extern "C" int dvrEdsBlitPoseFromCpu(int eye, int viewport_width, |
| 31 | int viewport_height, |
| 32 | const float* pose_quaternion, |
| 33 | const float* pose_position) { |
| 34 | return 0; |
| 35 | } |