Go to the source code of this file.
Typedefs | |
| typedef XID | GLXPbuffer |
| typedef GLuint * | framebuffers |
| typedef GLuint | framebuffer |
| typedef GLenum | attachment |
| typedef GLenum GLenum | textarget |
| typedef GLenum GLenum GLuint | texture |
| typedef GLenum GLenum GLuint GLint | level |
Enumerations | |
| enum | FrameBufferType { kRenderRGBA, kSimpleRGBA } |
Functions | |
| static int | __glCheck__ (const QString &loc, const char *fileName, int n) |
| bool | get_glx_version (Display *XJ_disp, uint &major, uint &minor) |
| bool | init_opengl (void) |
| int const * | get_attr_cfg (FrameBufferType type) |
| GLXFBConfig | get_fbuffer_cfg (Display *XJ_disp, int XJ_screen_num, const int *) |
| GLXPbuffer | get_pbuffer (Display *XJ_disp, GLXFBConfig glx_fbconfig, const QSize &video_dim) |
| Window | get_gl_window (Display *XJ_disp, Window XJ_curwin, XVisualInfo *visinfo, const QSize &window_size, bool map_window) |
| GLXWindow | get_glx_window (Display *XJ_disp, GLXFBConfig glx_fbconfig, Window gl_window, GLXContext glx_context, GLXPbuffer glx_pbuffer, const QSize &window_size) |
| void | copy_pixels_to_texture (const unsigned char *buf, int buffer_format, const QSize &buffer_size, int texture, int texture_type) |
| __GLXextFuncPtr | get_gl_proc_address (const QString &procName) |
| int | get_gl_texture_rect_type (const QString &extensions) |
| bool | has_gl_fbuffer_object_support (const QString &extensions) |
| bool | has_gl_fragment_program_support (const QString &extensions) |
| bool | has_glx_video_sync_support (const QString &glx_extensions) |
| typedef | void (APIENTRYP MYTH_GLGENFRAMEBUFFERSEXTPROC)(GLsizei n |
| typedef | GLenum (APIENTRYP MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC)(GLenum target) |
Variables | |
| QString | gMythGLExtensions |
| uint | gMythGLExtSupported |
| PFNGLGENPROGRAMSARBPROC | gMythGLGenProgramsARB |
| PFNGLBINDPROGRAMARBPROC | gMythGLBindProgramARB |
| PFNGLPROGRAMSTRINGARBPROC | gMythGLProgramStringARB |
| PFNGLPROGRAMENVPARAMETER4FARBPROC | gMythGLProgramEnvParameter4fARB |
| PFNGLDELETEPROGRAMSARBPROC | gMythGLDeleteProgramsARB |
| PFNGLGETPROGRAMIVARBPROC | gMythGLGetProgramivARB |
| MYTH_GLGENFRAMEBUFFERSEXTPROC | gMythGLGenFramebuffersEXT |
| MYTH_GLBINDFRAMEBUFFEREXTPROC | gMythGLBindFramebufferEXT |
| MYTH_GLFRAMEBUFFERTEXTURE2DEXTPROC | gMythGLFramebufferTexture2DEXT |
| MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC | gMythGLCheckFramebufferStatusEXT |
| MYTH_GLDELETEFRAMEBUFFERSEXTPROC | gMythGLDeleteFramebuffersEXT |
| PFNGLXGETVIDEOSYNCSGIPROC | gMythGLXGetVideoSyncSGI |
| PFNGLXWAITVIDEOSYNCSGIPROC | gMythGLXWaitVideoSyncSGI |
| typedef XID GLXPbuffer |
Definition at line 82 of file util-opengl.h.
| typedef const GLuint * framebuffers |
Definition at line 152 of file util-opengl.h.
| typedef GLuint framebuffer |
Definition at line 154 of file util-opengl.h.
| typedef GLenum attachment |
Definition at line 156 of file util-opengl.h.
| typedef GLenum GLenum textarget |
Definition at line 156 of file util-opengl.h.
| typedef GLenum GLenum GLuint texture |
Definition at line 156 of file util-opengl.h.
| typedef GLenum GLenum GLuint GLint level |
Definition at line 156 of file util-opengl.h.
| enum FrameBufferType |
| static int __glCheck__ | ( | const QString & | loc, | |
| const char * | fileName, | |||
| int | n | |||
| ) | [inline, static] |
Definition at line 85 of file util-opengl.h.
Definition at line 66 of file util-opengl.cpp.
Referenced by OpenGLContext::Create(), OpenGLContext::IsGLXSupported(), and OpenGLVideoSync::TryInit().
| bool init_opengl | ( | void | ) |
Definition at line 22 of file util-opengl.cpp.
Referenced by get_gl_texture_rect_type(), has_gl_fbuffer_object_support(), has_gl_fragment_program_support(), has_glx_video_sync_support(), OpenGLContext::IsGLXSupported(), OpenGLContext::OpenGLContext(), and OpenGLVideoSync::TryInit().
| int const* get_attr_cfg | ( | FrameBufferType | type | ) |
| GLXFBConfig get_fbuffer_cfg | ( | Display * | XJ_disp, | |
| int | XJ_screen_num, | |||
| const int * | ||||
| ) |
| GLXPbuffer get_pbuffer | ( | Display * | XJ_disp, | |
| GLXFBConfig | glx_fbconfig, | |||
| const QSize & | video_dim | |||
| ) |
Definition at line 188 of file util-opengl.cpp.
| Window get_gl_window | ( | Display * | XJ_disp, | |
| Window | XJ_curwin, | |||
| XVisualInfo * | visinfo, | |||
| const QSize & | window_size, | |||
| bool | map_window | |||
| ) |
| GLXWindow get_glx_window | ( | Display * | XJ_disp, | |
| GLXFBConfig | glx_fbconfig, | |||
| Window | gl_window, | |||
| GLXContext | glx_context, | |||
| GLXPbuffer | glx_pbuffer, | |||
| const QSize & | window_size | |||
| ) |
Definition at line 236 of file util-opengl.cpp.
| void copy_pixels_to_texture | ( | const unsigned char * | buf, | |
| int | buffer_format, | |||
| const QSize & | buffer_size, | |||
| int | texture, | |||
| int | texture_type | |||
| ) |
| __GLXextFuncPtr get_gl_proc_address | ( | const QString & | procName | ) |
| int get_gl_texture_rect_type | ( | const QString & | extensions | ) |
| bool has_gl_fbuffer_object_support | ( | const QString & | extensions | ) |
| bool has_gl_fragment_program_support | ( | const QString & | extensions | ) |
| bool has_glx_video_sync_support | ( | const QString & | glx_extensions | ) |
| typedef void | ( | APIENTRYP | MYTH_GLGENFRAMEBUFFERSEXTPROC | ) |
| typedef GLenum | ( | APIENTRYP | MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC | ) |
Referenced by OpenGLContext::CreateFrameBuffer().
| QString gMythGLExtensions |
| PFNGLGENPROGRAMSARBPROC gMythGLGenProgramsARB |
Definition at line 6 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLBINDPROGRAMARBPROC gMythGLBindProgramARB |
Definition at line 7 of file util-opengl.cpp.
Referenced by OpenGLContext::BindFragmentProgram(), OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLPROGRAMSTRINGARBPROC gMythGLProgramStringARB |
Definition at line 8 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLPROGRAMENVPARAMETER4FARBPROC gMythGLProgramEnvParameter4fARB |
Definition at line 9 of file util-opengl.cpp.
Referenced by has_gl_fragment_program_support(), init_opengl(), and OpenGLContext::InitFragmentParams().
| PFNGLDELETEPROGRAMSARBPROC gMythGLDeleteProgramsARB |
Definition at line 10 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), OpenGLContext::DeleteFragmentProgram(), OpenGLContext::DeletePrograms(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLGETPROGRAMIVARBPROC gMythGLGetProgramivARB |
Definition at line 11 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| MYTH_GLGENFRAMEBUFFERSEXTPROC gMythGLGenFramebuffersEXT |
Definition at line 13 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLBINDFRAMEBUFFEREXTPROC gMythGLBindFramebufferEXT |
Definition at line 14 of file util-opengl.cpp.
Referenced by OpenGLContext::BindFramebuffer(), OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLFRAMEBUFFERTEXTURE2DEXTPROC gMythGLFramebufferTexture2DEXT |
Definition at line 15 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC gMythGLCheckFramebufferStatusEXT |
Definition at line 16 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLDELETEFRAMEBUFFERSEXTPROC gMythGLDeleteFramebuffersEXT |
Definition at line 17 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), OpenGLContext::DeleteFrameBuffer(), OpenGLContext::DeleteFrameBuffers(), has_gl_fbuffer_object_support(), and init_opengl().
| PFNGLXGETVIDEOSYNCSGIPROC gMythGLXGetVideoSyncSGI |
Definition at line 19 of file util-opengl.cpp.
Referenced by has_glx_video_sync_support(), init_opengl(), OpenGLVideoSync::Start(), OpenGLVideoSync::TryInit(), and OpenGLVideoSync::WaitForFrame().
| PFNGLXWAITVIDEOSYNCSGIPROC gMythGLXWaitVideoSyncSGI |
Definition at line 20 of file util-opengl.cpp.
Referenced by has_glx_video_sync_support(), init_opengl(), OpenGLVideoSync::Start(), and OpenGLVideoSync::WaitForFrame().
1.5.5