Bike-X
0.8
|
Data Structures | |
struct | ShaderInfo |
struct | DistortionVertex |
struct | LatencyVertex |
class | DistortionRenderer |
struct | RenderParams |
class | Buffer |
class | Texture |
class | Shader |
class | ShaderSet |
class | ShaderFill |
struct | DisplayId |
class | ShaderBase |
class | ShaderImpl |
Typedefs | |
typedef ShaderImpl < Shader_Vertex, GL_VERTEX_SHADER > | VertexShader |
typedef ShaderImpl < Shader_Fragment, GL_FRAGMENT_SHADER > | FragmentShader |
Functions | |
void | DistortionShaderBitIndexCheck () |
void | InitGLExtensions () |
Variables | |
static ShaderInfo | DistortionVertexShaderLookup [DistortionVertexShaderCount] |
static ShaderInfo | DistortionPixelShaderLookup [DistortionPixelShaderCount] |
static const char | glsl2Prefix [] |
static const char | glsl3Prefix [] |
static const char | SimpleQuad_vs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | SimpleQuad_vs_refl [] |
static const char | SimpleQuad_fs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | SimpleQuad_fs_refl [] |
static const char | Distortion_vs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | Distortion_vs_refl [] |
static const char | Distortion_fs [] |
static const char | DistortionTimewarp_vs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | DistortionTimewarp_vs_refl [] |
static const char | DistortionChroma_vs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | DistortionChroma_vs_refl [] |
static const char | DistortionChroma_fs [] |
static const char | DistortionTimewarpChroma_vs [] |
const OVR::CAPI::GL::ShaderBase::Uniform | DistortionTimewarpChroma_vs_refl [] |
PFNGLDELETESHADERPROC | glDeleteShader |
PFNGLBINDFRAMEBUFFERPROC | glBindFramebuffer |
PFNGLACTIVETEXTUREPROC | glActiveTexture |
PFNGLDISABLEVERTEXATTRIBARRAYPROC | glDisableVertexAttribArray |
PFNGLVERTEXATTRIBPOINTERPROC | glVertexAttribPointer |
PFNGLENABLEVERTEXATTRIBARRAYPROC | glEnableVertexAttribArray |
PFNGLBINDBUFFERPROC | glBindBuffer |
PFNGLUNIFORMMATRIX3FVPROC | glUniformMatrix3fv |
PFNGLUNIFORMMATRIX4FVPROC | glUniformMatrix4fv |
PFNGLDELETEBUFFERSPROC | glDeleteBuffers |
PFNGLBUFFERDATAPROC | glBufferData |
PFNGLGENBUFFERSPROC | glGenBuffers |
PFNGLMAPBUFFERPROC | glMapBuffer |
PFNGLUNMAPBUFFERPROC | glUnmapBuffer |
PFNGLGETSHADERINFOLOGPROC | glGetShaderInfoLog |
PFNGLGETSHADERIVPROC | glGetShaderiv |
PFNGLCOMPILESHADERPROC | glCompileShader |
PFNGLSHADERSOURCEPROC | glShaderSource |
PFNGLCREATESHADERPROC | glCreateShader |
PFNGLCREATEPROGRAMPROC | glCreateProgram |
PFNGLATTACHSHADERPROC | glAttachShader |
PFNGLDETACHSHADERPROC | glDetachShader |
PFNGLDELETEPROGRAMPROC | glDeleteProgram |
PFNGLUNIFORM1IPROC | glUniform1i |
PFNGLGETUNIFORMLOCATIONPROC | glGetUniformLocation |
PFNGLGETACTIVEUNIFORMPROC | glGetActiveUniform |
PFNGLUSEPROGRAMPROC | glUseProgram |
PFNGLGETPROGRAMINFOLOGPROC | glGetProgramInfoLog |
PFNGLGETPROGRAMIVPROC | glGetProgramiv |
PFNGLLINKPROGRAMPROC | glLinkProgram |
PFNGLBINDATTRIBLOCATIONPROC | glBindAttribLocation |
PFNGLGETATTRIBLOCATIONPROC | glGetAttribLocation |
PFNGLUNIFORM4FVPROC | glUniform4fv |
PFNGLUNIFORM3FVPROC | glUniform3fv |
PFNGLUNIFORM2FVPROC | glUniform2fv |
PFNGLUNIFORM1FVPROC | glUniform1fv |
PFNGLGENVERTEXARRAYSPROC | glGenVertexArrays |
PFNGLDELETEVERTEXARRAYSPROC | glDeleteVertexArrays |
PFNGLBINDVERTEXARRAYPROC | glBindVertexArray |
void(*)(void) | GetFunction (const char *functionName) |
struct OVR::CAPI::GL::ShaderInfo |
Definition at line 35 of file CAPI_GL_DistortionRenderer.cpp.
Data Fields | ||
---|---|---|
const Uniform * | ReflectionData | |
size_t | ReflectionSize | |
const char * | ShaderData | |
size_t | ShaderSize |
struct OVR::CAPI::GL::DistortionVertex |
struct OVR::CAPI::GL::RenderParams |
Definition at line 222 of file CAPI_GL_Util.h.
Data Fields | ||
---|---|---|
int | Multisample | |
ovrSizei | RTSize |
typedef ShaderImpl<Shader_Fragment, GL_FRAGMENT_SHADER> OVR::CAPI::GL::FragmentShader |
Definition at line 533 of file CAPI_GL_Util.h.
typedef ShaderImpl<Shader_Vertex, GL_VERTEX_SHADER> OVR::CAPI::GL::VertexShader |
Definition at line 532 of file CAPI_GL_Util.h.
anonymous enum |
Enumerator | |
---|---|
DistortionVertexShaderBitMask | |
DistortionVertexShaderCount | |
DistortionPixelShaderBitMask | |
DistortionPixelShaderCount |
Definition at line 28 of file CAPI_GL_DistortionRenderer.cpp.
Enumerator | |
---|---|
Buffer_Unknown | |
Buffer_Vertex | |
Buffer_Index | |
Buffer_Uniform | |
Buffer_TypeMask | |
Buffer_ReadOnly |
Definition at line 184 of file CAPI_GL_Util.h.
Enumerator | |
---|---|
Map_Discard | |
Map_Read | |
Map_Unsynchronized |
Definition at line 175 of file CAPI_GL_Util.h.
Enumerator | |
---|---|
Prim_Triangles | |
Prim_Lines | |
Prim_TriangleStrip | |
Prim_Unknown | |
Prim_Count |
Definition at line 157 of file CAPI_GL_Util.h.
Enumerator | |
---|---|
Sample_Linear | |
Sample_Nearest | |
Sample_Anisotropic | |
Sample_FilterMask | |
Sample_Repeat | |
Sample_Clamp | |
Sample_ClampBorder | |
Sample_AddressMask | |
Sample_Count |
Definition at line 205 of file CAPI_GL_Util.h.
Enumerator | |
---|---|
Shader_Vertex | |
Shader_Fragment | |
Shader_Pixel | |
Shader_Count |
Definition at line 167 of file CAPI_GL_Util.h.
Enumerator | |
---|---|
Texture_RGBA | |
Texture_Depth | |
Texture_TypeMask | |
Texture_SamplesMask | |
Texture_RenderTarget | |
Texture_GenMipmaps |
Definition at line 194 of file CAPI_GL_Util.h.
void OVR::CAPI::GL::DistortionShaderBitIndexCheck | ( | ) |
Definition at line 62 of file CAPI_GL_DistortionRenderer.cpp.
void OVR::CAPI::GL::InitGLExtensions | ( | ) |
Definition at line 124 of file CAPI_GL_Util.cpp.
|
static |
Definition at line 107 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 77 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::Distortion_vs_refl[] |
Definition at line 101 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 217 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 177 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::DistortionChroma_vs_refl[] |
Definition at line 211 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 56 of file CAPI_GL_DistortionRenderer.cpp.
|
static |
Definition at line 122 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::DistortionTimewarp_vs_refl[] |
Definition at line 171 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 237 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::DistortionTimewarpChroma_vs_refl[] |
Definition at line 316 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 48 of file CAPI_GL_DistortionRenderer.cpp.
void(*)( void ) OVR::CAPI::GL::GetFunction(const char *functionName) |
Definition at line 117 of file CAPI_GL_Util.cpp.
PFNGLACTIVETEXTUREPROC OVR::CAPI::GL::glActiveTexture |
Definition at line 69 of file CAPI_GL_Util.cpp.
PFNGLATTACHSHADERPROC OVR::CAPI::GL::glAttachShader |
Definition at line 87 of file CAPI_GL_Util.cpp.
PFNGLBINDATTRIBLOCATIONPROC OVR::CAPI::GL::glBindAttribLocation |
Definition at line 97 of file CAPI_GL_Util.cpp.
PFNGLBINDBUFFERPROC OVR::CAPI::GL::glBindBuffer |
Definition at line 73 of file CAPI_GL_Util.cpp.
PFNGLBINDFRAMEBUFFERPROC OVR::CAPI::GL::glBindFramebuffer |
Definition at line 68 of file CAPI_GL_Util.cpp.
PFNGLBINDVERTEXARRAYPROC OVR::CAPI::GL::glBindVertexArray |
Definition at line 105 of file CAPI_GL_Util.cpp.
PFNGLBUFFERDATAPROC OVR::CAPI::GL::glBufferData |
Definition at line 77 of file CAPI_GL_Util.cpp.
PFNGLCOMPILESHADERPROC OVR::CAPI::GL::glCompileShader |
Definition at line 83 of file CAPI_GL_Util.cpp.
PFNGLCREATEPROGRAMPROC OVR::CAPI::GL::glCreateProgram |
Definition at line 86 of file CAPI_GL_Util.cpp.
PFNGLCREATESHADERPROC OVR::CAPI::GL::glCreateShader |
Definition at line 85 of file CAPI_GL_Util.cpp.
PFNGLDELETEBUFFERSPROC OVR::CAPI::GL::glDeleteBuffers |
Definition at line 76 of file CAPI_GL_Util.cpp.
PFNGLDELETEPROGRAMPROC OVR::CAPI::GL::glDeleteProgram |
Definition at line 89 of file CAPI_GL_Util.cpp.
PFNGLDELETESHADERPROC OVR::CAPI::GL::glDeleteShader |
Definition at line 67 of file CAPI_GL_Util.cpp.
PFNGLDELETEVERTEXARRAYSPROC OVR::CAPI::GL::glDeleteVertexArrays |
Definition at line 104 of file CAPI_GL_Util.cpp.
PFNGLDETACHSHADERPROC OVR::CAPI::GL::glDetachShader |
Definition at line 88 of file CAPI_GL_Util.cpp.
PFNGLDISABLEVERTEXATTRIBARRAYPROC OVR::CAPI::GL::glDisableVertexAttribArray |
Definition at line 70 of file CAPI_GL_Util.cpp.
PFNGLENABLEVERTEXATTRIBARRAYPROC OVR::CAPI::GL::glEnableVertexAttribArray |
Definition at line 72 of file CAPI_GL_Util.cpp.
PFNGLGENBUFFERSPROC OVR::CAPI::GL::glGenBuffers |
Definition at line 78 of file CAPI_GL_Util.cpp.
PFNGLGENVERTEXARRAYSPROC OVR::CAPI::GL::glGenVertexArrays |
Definition at line 103 of file CAPI_GL_Util.cpp.
PFNGLGETACTIVEUNIFORMPROC OVR::CAPI::GL::glGetActiveUniform |
Definition at line 92 of file CAPI_GL_Util.cpp.
PFNGLGETATTRIBLOCATIONPROC OVR::CAPI::GL::glGetAttribLocation |
Definition at line 98 of file CAPI_GL_Util.cpp.
PFNGLGETPROGRAMINFOLOGPROC OVR::CAPI::GL::glGetProgramInfoLog |
Definition at line 94 of file CAPI_GL_Util.cpp.
PFNGLGETPROGRAMIVPROC OVR::CAPI::GL::glGetProgramiv |
Definition at line 95 of file CAPI_GL_Util.cpp.
PFNGLGETSHADERINFOLOGPROC OVR::CAPI::GL::glGetShaderInfoLog |
Definition at line 81 of file CAPI_GL_Util.cpp.
PFNGLGETSHADERIVPROC OVR::CAPI::GL::glGetShaderiv |
Definition at line 82 of file CAPI_GL_Util.cpp.
PFNGLGETUNIFORMLOCATIONPROC OVR::CAPI::GL::glGetUniformLocation |
Definition at line 91 of file CAPI_GL_Util.cpp.
PFNGLLINKPROGRAMPROC OVR::CAPI::GL::glLinkProgram |
Definition at line 96 of file CAPI_GL_Util.cpp.
PFNGLMAPBUFFERPROC OVR::CAPI::GL::glMapBuffer |
Definition at line 79 of file CAPI_GL_Util.cpp.
PFNGLSHADERSOURCEPROC OVR::CAPI::GL::glShaderSource |
Definition at line 84 of file CAPI_GL_Util.cpp.
|
static |
Definition at line 25 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 35 of file CAPI_GL_DistortionShaders.h.
PFNGLUNIFORM1FVPROC OVR::CAPI::GL::glUniform1fv |
Definition at line 102 of file CAPI_GL_Util.cpp.
PFNGLUNIFORM1IPROC OVR::CAPI::GL::glUniform1i |
Definition at line 90 of file CAPI_GL_Util.cpp.
PFNGLUNIFORM2FVPROC OVR::CAPI::GL::glUniform2fv |
Definition at line 101 of file CAPI_GL_Util.cpp.
PFNGLUNIFORM3FVPROC OVR::CAPI::GL::glUniform3fv |
Definition at line 100 of file CAPI_GL_Util.cpp.
PFNGLUNIFORM4FVPROC OVR::CAPI::GL::glUniform4fv |
Definition at line 99 of file CAPI_GL_Util.cpp.
PFNGLUNIFORMMATRIX3FVPROC OVR::CAPI::GL::glUniformMatrix3fv |
Definition at line 74 of file CAPI_GL_Util.cpp.
PFNGLUNIFORMMATRIX4FVPROC OVR::CAPI::GL::glUniformMatrix4fv |
Definition at line 75 of file CAPI_GL_Util.cpp.
PFNGLUNMAPBUFFERPROC OVR::CAPI::GL::glUnmapBuffer |
Definition at line 80 of file CAPI_GL_Util.cpp.
PFNGLUSEPROGRAMPROC OVR::CAPI::GL::glUseProgram |
Definition at line 93 of file CAPI_GL_Util.cpp.
PFNGLVERTEXATTRIBPOINTERPROC OVR::CAPI::GL::glVertexAttribPointer |
Definition at line 71 of file CAPI_GL_Util.cpp.
|
static |
Definition at line 61 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::SimpleQuad_fs_refl[] |
Definition at line 71 of file CAPI_GL_DistortionShaders.h.
|
static |
Definition at line 44 of file CAPI_GL_DistortionShaders.h.
const OVR::CAPI::GL::ShaderBase::Uniform OVR::CAPI::GL::SimpleQuad_vs_refl[] |
Definition at line 55 of file CAPI_GL_DistortionShaders.h.