| 832 | } |
| 833 | |
| 834 | OVR_PUBLIC_FUNCTION(ovrSizei) ovr_GetFovTextureSize(ovrSession session, ovrEyeType eye, ovrFovPort fov, float pixelsPerDisplayPixel) |
| 835 | { |
| 836 | REV_TRACE(ovr_GetFovTextureSize); |
| 837 | |
| 838 | // TODO: Add support for pixelsPerDisplayPixel |
| 839 | ovrSizei size = { |
| 840 | (int)(session->PixelsPerTan[eye].x * (fov.LeftTan + fov.RightTan)), |
| 841 | (int)(session->PixelsPerTan[eye].y * (fov.UpTan + fov.DownTan)), |
| 842 | }; |
| 843 | return size; |
| 844 | } |
| 845 | |
| 846 | OVR_PUBLIC_FUNCTION(ovrEyeRenderDesc) ovr_GetRenderDesc2(ovrSession session, ovrEyeType eyeType, ovrFovPort fov) |
| 847 | { |
nothing calls this directly
no outgoing calls
no test coverage detected