Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CAPI_GL_Util.h File Reference
#include "../../OVR_CAPI.h"
#include "../../Kernel/OVR_Array.h"
#include "../../Kernel/OVR_Math.h"
#include "../../Kernel/OVR_RefCount.h"
#include "../../Kernel/OVR_String.h"
#include "../../Kernel/OVR_Types.h"
#include "../../Kernel/OVR_Log.h"
#include <GL/gl.h>
#include <GL/glext.h>
Include dependency graph for CAPI_GL_Util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OVR::CAPI::GL::RenderParams
 
class  OVR::CAPI::GL::Buffer
 
class  OVR::CAPI::GL::Texture
 
class  OVR::CAPI::GL::Shader
 
class  OVR::CAPI::GL::ShaderSet
 
struct  OVR::CAPI::GL::ShaderSet::Uniform
 
class  OVR::CAPI::GL::ShaderFill
 
struct  OVR::CAPI::GL::DisplayId
 
class  OVR::CAPI::GL::ShaderBase
 
struct  OVR::CAPI::GL::ShaderBase::Uniform
 
class  OVR::CAPI::GL::ShaderImpl< SStage, SType >
 

Namespaces

 OVR
 
 OVR::CAPI
 
 OVR::CAPI::GL
 

Macros

#define GL_GLEXT_PROTOTYPES
 

Typedefs

typedef ShaderImpl
< Shader_Vertex,
GL_VERTEX_SHADER > 
OVR::CAPI::GL::VertexShader
 
typedef ShaderImpl
< Shader_Fragment,
GL_FRAGMENT_SHADER > 
OVR::CAPI::GL::FragmentShader
 

Enumerations

enum  OVR::CAPI::GL::PrimitiveType {
  OVR::CAPI::GL::Prim_Triangles, OVR::CAPI::GL::Prim_Lines, OVR::CAPI::GL::Prim_TriangleStrip, OVR::CAPI::GL::Prim_Unknown,
  OVR::CAPI::GL::Prim_Count
}
 
enum  OVR::CAPI::GL::ShaderStage { OVR::CAPI::GL::Shader_Vertex = 0, OVR::CAPI::GL::Shader_Fragment = 2, OVR::CAPI::GL::Shader_Pixel = 2, OVR::CAPI::GL::Shader_Count = 3 }
 
enum  OVR::CAPI::GL::MapFlags { OVR::CAPI::GL::Map_Discard = 1, OVR::CAPI::GL::Map_Read = 2, OVR::CAPI::GL::Map_Unsynchronized = 4 }
 
enum  OVR::CAPI::GL::BufferUsage {
  OVR::CAPI::GL::Buffer_Unknown = 0, OVR::CAPI::GL::Buffer_Vertex = 1, OVR::CAPI::GL::Buffer_Index = 2, OVR::CAPI::GL::Buffer_Uniform = 4,
  OVR::CAPI::GL::Buffer_TypeMask = 0xff, OVR::CAPI::GL::Buffer_ReadOnly = 0x100
}
 
enum  OVR::CAPI::GL::TextureFormat {
  OVR::CAPI::GL::Texture_RGBA = 0x0100, OVR::CAPI::GL::Texture_Depth = 0x8000, OVR::CAPI::GL::Texture_TypeMask = 0xff00, OVR::CAPI::GL::Texture_SamplesMask = 0x00ff,
  OVR::CAPI::GL::Texture_RenderTarget = 0x10000, OVR::CAPI::GL::Texture_GenMipmaps = 0x20000
}
 
enum  OVR::CAPI::GL::SampleMode {
  OVR::CAPI::GL::Sample_Linear = 0, OVR::CAPI::GL::Sample_Nearest = 1, OVR::CAPI::GL::Sample_Anisotropic = 2, OVR::CAPI::GL::Sample_FilterMask = 3,
  OVR::CAPI::GL::Sample_Repeat = 0, OVR::CAPI::GL::Sample_Clamp = 4, OVR::CAPI::GL::Sample_ClampBorder = 8, OVR::CAPI::GL::Sample_AddressMask =12,
  OVR::CAPI::GL::Sample_Count =13
}
 

Functions

void OVR::CAPI::GL::InitGLExtensions ()
 

Data Structure Documentation

struct OVR::CAPI::GL::RenderParams

Definition at line 222 of file CAPI_GL_Util.h.

Collaboration diagram for OVR::CAPI::GL::RenderParams:
Collaboration graph
Data Fields
int Multisample
ovrSizei RTSize
struct OVR::CAPI::GL::ShaderSet::Uniform

Definition at line 312 of file CAPI_GL_Util.h.

Collaboration diagram for OVR::CAPI::GL::ShaderSet::Uniform:
Collaboration graph
Data Fields
int Location
String Name
int Size
int Type
struct OVR::CAPI::GL::ShaderBase::Uniform

Definition at line 456 of file CAPI_GL_Util.h.

Collaboration diagram for OVR::CAPI::GL::ShaderBase::Uniform:
Collaboration graph
Data Fields
const char * Name
int Offset
int Size
VarType Type

Macro Definition Documentation

#define GL_GLEXT_PROTOTYPES

Definition at line 44 of file CAPI_GL_Util.h.