Go to the source code of this file.
Functions | |
| bool | init_opengl (void) |
| bool | get_glx_version (Display *XJ_disp, uint &major, uint &minor) |
| int const * | get_attr_cfg (FrameBufferType type) |
| GLXFBConfig | get_fbuffer_cfg (Display *XJ_disp, int XJ_screen_num, const int *attr_fbconfig) |
| 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 &ext) |
| bool | has_gl_fbuffer_object_support (const QString &ext) |
| bool | has_gl_fragment_program_support (const QString &ext) |
| bool | has_glx_video_sync_support (const QString &glx_ext) |
Variables | |
| PFNGLGENPROGRAMSARBPROC | gMythGLGenProgramsARB = NULL |
| PFNGLBINDPROGRAMARBPROC | gMythGLBindProgramARB = NULL |
| PFNGLPROGRAMSTRINGARBPROC | gMythGLProgramStringARB = NULL |
| PFNGLPROGRAMENVPARAMETER4FARBPROC | gMythGLProgramEnvParameter4fARB = NULL |
| PFNGLDELETEPROGRAMSARBPROC | gMythGLDeleteProgramsARB = NULL |
| PFNGLGETPROGRAMIVARBPROC | gMythGLGetProgramivARB = NULL |
| MYTH_GLGENFRAMEBUFFERSEXTPROC | gMythGLGenFramebuffersEXT = NULL |
| MYTH_GLBINDFRAMEBUFFEREXTPROC | gMythGLBindFramebufferEXT = NULL |
| MYTH_GLFRAMEBUFFERTEXTURE2DEXTPROC | gMythGLFramebufferTexture2DEXT = NULL |
| MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC | gMythGLCheckFramebufferStatusEXT = NULL |
| MYTH_GLDELETEFRAMEBUFFERSEXTPROC | gMythGLDeleteFramebuffersEXT = NULL |
| PFNGLXGETVIDEOSYNCSGIPROC | gMythGLXGetVideoSyncSGI = NULL |
| PFNGLXWAITVIDEOSYNCSGIPROC | gMythGLXWaitVideoSyncSGI = NULL |
| 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().
Definition at line 66 of file util-opengl.cpp.
Referenced by OpenGLContext::Create(), OpenGLContext::IsGLXSupported(), and OpenGLVideoSync::TryInit().
| int const* get_attr_cfg | ( | FrameBufferType | type | ) |
| GLXFBConfig get_fbuffer_cfg | ( | Display * | XJ_disp, | |
| int | XJ_screen_num, | |||
| const int * | attr_fbconfig | |||
| ) |
| 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 & | ext | ) |
| bool has_gl_fbuffer_object_support | ( | const QString & | ext | ) |
| bool has_gl_fragment_program_support | ( | const QString & | ext | ) |
| bool has_glx_video_sync_support | ( | const QString & | glx_ext | ) |
| PFNGLGENPROGRAMSARBPROC gMythGLGenProgramsARB = NULL |
Definition at line 6 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLBINDPROGRAMARBPROC gMythGLBindProgramARB = NULL |
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 = NULL |
Definition at line 8 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| PFNGLPROGRAMENVPARAMETER4FARBPROC gMythGLProgramEnvParameter4fARB = NULL |
Definition at line 9 of file util-opengl.cpp.
Referenced by has_gl_fragment_program_support(), init_opengl(), and OpenGLContext::InitFragmentParams().
| PFNGLDELETEPROGRAMSARBPROC gMythGLDeleteProgramsARB = NULL |
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 = NULL |
Definition at line 11 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFragmentProgram(), has_gl_fragment_program_support(), and init_opengl().
| MYTH_GLGENFRAMEBUFFERSEXTPROC gMythGLGenFramebuffersEXT = NULL |
Definition at line 13 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLBINDFRAMEBUFFEREXTPROC gMythGLBindFramebufferEXT = NULL |
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 = NULL |
Definition at line 15 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLCHECKFRAMEBUFFERSTATUSEXTPROC gMythGLCheckFramebufferStatusEXT = NULL |
Definition at line 16 of file util-opengl.cpp.
Referenced by OpenGLContext::CreateFrameBuffer(), has_gl_fbuffer_object_support(), and init_opengl().
| MYTH_GLDELETEFRAMEBUFFERSEXTPROC gMythGLDeleteFramebuffersEXT = NULL |
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 = NULL |
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 = NULL |
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