Bike-X
0.8
|
#include "CAPI_GL_DistortionRenderer.h"
Data Structures | |
struct | FOR_EACH_EYE |
class | GraphicsState |
struct | StandardUniformData |
Public Member Functions | |
DistortionRenderer (ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState) | |
~DistortionRenderer () | |
virtual bool | Initialize (const ovrRenderAPIConfig *apiConfig, unsigned distortionCaps) |
virtual void | SubmitEye (int eyeId, ovrTexture *eyeTexture) |
virtual void | EndFrame (bool swapBuffers, unsigned char *latencyTesterDrawColor, unsigned char *latencyTester2DrawColor) |
void | WaitUntilGpuIdle () |
double | FlushGpuAndWaitTillTime (double absTime) |
Public Member Functions inherited from OVR::CAPI::DistortionRenderer | |
DistortionRenderer (ovrRenderAPIType api, ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState) | |
void | SaveGraphicsState () |
void | RestoreGraphicsState () |
ovrRenderAPIType | GetRenderAPI () const |
Public Member Functions inherited from OVR::RefCountBase< DistortionRenderer > | |
OVR_FORCE_INLINE | RefCountBase () |
Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl > | |
RefCountBaseStatImpl () | |
Public Member Functions inherited from OVR::RefCountImpl | |
void | AddRef () |
void | Release () |
Public Member Functions inherited from OVR::RefCountImplCore | |
OVR_FORCE_INLINE | RefCountImplCore () |
virtual | ~RefCountImplCore () |
int | GetRefCount () const |
void | operator= (const RefCountImplCore &) |
Static Public Member Functions | |
static CAPI::DistortionRenderer * | Create (ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState) |
Static Public Member Functions inherited from OVR::RefCountImplCore | |
static void | checkInvalidDelete (RefCountImplCore *) |
Protected Member Functions | |
void | initBuffersAndShaders () |
void | initShaders () |
void | initFullscreenQuad () |
void | destroy () |
void | setViewport (const Recti &vp) |
void | renderDistortion (Texture *leftEyeTexture, Texture *rightEyeTexture) |
void | renderPrimitives (const ShaderFill *fill, Buffer *vertices, Buffer *indices, int offset, int count, PrimitiveType rprim, GLuint *vao, bool isDistortionMesh) |
void | createDrawQuad () |
void | renderLatencyQuad (unsigned char *latencyTesterDrawColor) |
void | renderLatencyPixel (unsigned char *latencyTesterPixelColor) |
Additional Inherited Members | |
Public Types inherited from OVR::CAPI::DistortionRenderer | |
typedef DistortionRenderer *(* | CreateFunc )(ovrHmd hmd, FrameTimeManager &timeManager, const HMDRenderState &renderState) |
Static Public Attributes inherited from OVR::CAPI::DistortionRenderer | |
static CreateFunc | APICreateRegistry [ovrRenderAPI_Count] |
Definition at line 30 of file CAPI_GL_DistortionRenderer.h.
struct OVR::CAPI::GL::DistortionRenderer::StandardUniformData |
Definition at line 151 of file CAPI_GL_DistortionRenderer.h.
Data Fields | ||
---|---|---|
Matrix4f | Proj | |
Matrix4f | View |
OVR::CAPI::GL::DistortionRenderer::DistortionRenderer | ( | ovrHmd | hmd, |
FrameTimeManager & | timeManager, | ||
const HMDRenderState & | renderState | ||
) |
Definition at line 92 of file CAPI_GL_DistortionRenderer.cpp.
|
virtual |
Reimplemented from OVR::CAPI::DistortionRenderer.
Definition at line 101 of file CAPI_GL_DistortionRenderer.cpp.
|
static |
Definition at line 107 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 500 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 758 of file CAPI_GL_DistortionRenderer.cpp.
|
virtual |
Implements OVR::CAPI::DistortionRenderer.
Definition at line 187 of file CAPI_GL_DistortionRenderer.cpp.
double OVR::CAPI::GL::DistortionRenderer::FlushGpuAndWaitTillTime | ( | double | absTime | ) |
Definition at line 265 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 393 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
|
virtual |
Implements OVR::CAPI::DistortionRenderer.
Definition at line 118 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 683 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 445 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 557 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 530 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 581 of file CAPI_GL_DistortionRenderer.cpp.
|
protected |
Definition at line 677 of file CAPI_GL_DistortionRenderer.cpp.
|
virtual |
Implements OVR::CAPI::DistortionRenderer.
Definition at line 161 of file CAPI_GL_DistortionRenderer.cpp.
void OVR::CAPI::GL::DistortionRenderer::WaitUntilGpuIdle | ( | ) |
Definition at line 259 of file CAPI_GL_DistortionRenderer.cpp.
Definition at line 161 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 163 of file CAPI_GL_DistortionRenderer.h.
Definition at line 162 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 102 of file CAPI_GL_DistortionRenderer.h.
Definition at line 146 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 147 of file CAPI_GL_DistortionRenderer.h.
Definition at line 145 of file CAPI_GL_DistortionRenderer.h.
Definition at line 149 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 158 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 157 of file CAPI_GL_DistortionRenderer.h.
Definition at line 143 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 123 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 170 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 173 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 171 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 166 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 168 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 167 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 169 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 172 of file CAPI_GL_DistortionRenderer.h.
|
protected |
Definition at line 165 of file CAPI_GL_DistortionRenderer.h.
Definition at line 159 of file CAPI_GL_DistortionRenderer.h.
|
protected |