Qt 4.8
|
#include <qlibrary.h>
#include <qdebug.h>
#include <private/qgl_p.h>
#include <private/qt_x11_p.h>
#include <private/qpaintengine_opengl_p.h>
#include <qx11info_x11.h>
#include <GL/glx.h>
#include <qimage.h>
#include "qglpixelbuffer.h"
#include "qglpixelbuffer_p.h"
#include <dlfcn.h>
Go to the source code of this file.
Macros | |
#define | GLX_DRAWABLE_TYPE 0x8010 |
#define | GLX_PBUFFER_BIT 0x00000004 |
#define | GLX_PBUFFER_HEIGHT 0x8040 |
#define | GLX_PBUFFER_WIDTH 0x8041 |
#define | GLX_RENDER_TYPE 0x8011 |
#define | GLX_RGBA_BIT 0x00000002 |
#define | GLX_RGBA_TYPE 0x8014 |
#define | GLX_SAMPLE_BUFFERS_ARB 100000 |
#define | GLX_SAMPLES_ARB 100001 |
#define | glXChooseFBConfig qt_glXChooseFBConfig |
#define | glXCreateNewContext qt_glXCreateNewContext |
#define | glXCreatePbuffer qt_glXCreatePbuffer |
#define | glXDestroyPbuffer qt_glXDestroyPbuffer |
#define | glXGetFBConfigAttrib qt_glXGetFBConfigAttrib |
#define | glXMakeContextCurrent qt_glXMakeContextCurrent |
Typedefs | |
typedef GLXFBConfig *(* | _glXChooseFBConfig) (Display *dpy, int screen, const int *attrib_list, int *nelements) |
typedef GLXContext(* | _glXCreateNewContext) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) |
typedef GLXPbuffer(* | _glXCreatePbuffer) (Display *dpy, GLXFBConfig config, const int *attrib_list) |
typedef void(* | _glXDestroyPbuffer) (Display *dpy, GLXPbuffer pbuf) |
typedef int(* | _glXGetFBConfigAttrib) (Display *dpy, GLXFBConfig config, int attribute, int *value) |
typedef Bool(* | _glXMakeContextCurrent) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) |
Functions | |
void * | qglx_getProcAddress (const char *procName) |
static void | qt_format_to_attrib_list (const QGLFormat &f, int attribs[]) |
static bool | qt_resolve_pbuffer_extensions () |
Variables | |
static _glXChooseFBConfig | qt_glXChooseFBConfig = 0 |
static _glXCreateNewContext | qt_glXCreateNewContext = 0 |
static _glXCreatePbuffer | qt_glXCreatePbuffer = 0 |
static _glXDestroyPbuffer | qt_glXDestroyPbuffer = 0 |
static _glXGetFBConfigAttrib | qt_glXGetFBConfigAttrib = 0 |
static _glXMakeContextCurrent | qt_glXMakeContextCurrent = 0 |
#define GLX_DRAWABLE_TYPE 0x8010 |
Definition at line 63 of file qglpixelbuffer_x11.cpp.
Referenced by QGLContextPrivate::bindTextureFromNativePixmap(), buildSpec(), qglx_buildSpec(), and qt_format_to_attrib_list().
#define GLX_PBUFFER_BIT 0x00000004 |
Definition at line 62 of file qglpixelbuffer_x11.cpp.
Referenced by buildSpec(), and qt_format_to_attrib_list().
#define GLX_PBUFFER_HEIGHT 0x8040 |
Definition at line 66 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define GLX_PBUFFER_WIDTH 0x8041 |
Definition at line 67 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define GLX_RENDER_TYPE 0x8011 |
Definition at line 64 of file qglpixelbuffer_x11.cpp.
Referenced by buildSpec(), qglx_buildSpec(), and qt_format_to_attrib_list().
#define GLX_RGBA_BIT 0x00000002 |
Definition at line 61 of file qglpixelbuffer_x11.cpp.
Referenced by buildSpec(), qglx_buildSpec(), and qt_format_to_attrib_list().
#define GLX_RGBA_TYPE 0x8014 |
Definition at line 65 of file qglpixelbuffer_x11.cpp.
Referenced by QGLXContext::QGLXContext(), and qt_format_to_attrib_list().
#define GLX_SAMPLE_BUFFERS_ARB 100000 |
Definition at line 71 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define GLX_SAMPLES_ARB 100001 |
Definition at line 72 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define glXChooseFBConfig qt_glXChooseFBConfig |
Definition at line 89 of file qglpixelbuffer_x11.cpp.
Referenced by QGLContextPrivate::bindTextureFromNativePixmap(), buildSpec(), qglx_findConfig(), qt_format_to_attrib_list(), and QGLContext::tryVisual().
#define glXCreateNewContext qt_glXCreateNewContext |
Definition at line 90 of file qglpixelbuffer_x11.cpp.
Referenced by QGLXContext::QGLXContext(), and qt_format_to_attrib_list().
#define glXCreatePbuffer qt_glXCreatePbuffer |
Definition at line 91 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define glXDestroyPbuffer qt_glXDestroyPbuffer |
Definition at line 92 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
#define glXGetFBConfigAttrib qt_glXGetFBConfigAttrib |
Definition at line 93 of file qglpixelbuffer_x11.cpp.
Referenced by QGLContextPrivate::bindTextureFromNativePixmap(), qglx_findConfig(), qglx_platformWindowFromGLXFBConfig(), and qt_format_to_attrib_list().
#define glXMakeContextCurrent qt_glXMakeContextCurrent |
Definition at line 94 of file qglpixelbuffer_x11.cpp.
typedef GLXFBConfig*(* _glXChooseFBConfig) (Display *dpy, int screen, const int *attrib_list, int *nelements) |
Definition at line 75 of file qglpixelbuffer_x11.cpp.
typedef GLXContext(* _glXCreateNewContext) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) |
Definition at line 79 of file qglpixelbuffer_x11.cpp.
typedef GLXPbuffer(* _glXCreatePbuffer) (Display *dpy, GLXFBConfig config, const int *attrib_list) |
Definition at line 77 of file qglpixelbuffer_x11.cpp.
typedef void(* _glXDestroyPbuffer) (Display *dpy, GLXPbuffer pbuf) |
Definition at line 78 of file qglpixelbuffer_x11.cpp.
typedef int(* _glXGetFBConfigAttrib) (Display *dpy, GLXFBConfig config, int attribute, int *value) |
Definition at line 76 of file qglpixelbuffer_x11.cpp.
typedef Bool(* _glXMakeContextCurrent) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) |
Definition at line 80 of file qglpixelbuffer_x11.cpp.
void* qglx_getProcAddress | ( | const char * | procName | ) |
Definition at line 350 of file qgl_x11.cpp.
Referenced by buildSpec(), qt_resolve_pbuffer_extensions(), and QGLContext::tryVisual().
|
static |
Definition at line 117 of file qglpixelbuffer_x11.cpp.
|
static |
Definition at line 98 of file qglpixelbuffer_x11.cpp.
Referenced by qt_format_to_attrib_list().
|
static |
Definition at line 82 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().
|
static |
Definition at line 83 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().
|
static |
Definition at line 84 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().
|
static |
Definition at line 85 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().
|
static |
Definition at line 86 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().
|
static |
Definition at line 87 of file qglpixelbuffer_x11.cpp.
Referenced by qt_resolve_pbuffer_extensions().