QtBase  v6.3.1
Classes | Macros
qopenglfunctions.cpp File Reference
#include "qopenglfunctions.h"
#include "qopenglextrafunctions.h"
#include "qopenglextensions_p.h"
#include "qdebug.h"
#include <QtGui/private/qopenglcontext_p.h>
#include <QtGui/private/qopengl_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <qpa/qplatformintegration.h>
#include <qpa/qplatformnativeinterface.h>
Include dependency graph for qopenglfunctions.cpp:

Go to the source code of this file.

Classes

struct  QOpenGLFunctionsPrivateEx
 

Macros

#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA
 
#define QT_OPENGL_COUNT_FUNCTIONS(ret, name, args)   +1
 
#define QT_OPENGL_FUNCTION_NAMES(ret, name, args)    "gl"#name"\0"
 
#define QT_OPENGL_FLAGS(ret, name, args)    0,
 
#define QT_OPENGL_IMPLEMENT(CLASS, FUNCTIONS)
 
#define RESOLVE(name)    resolve(context, "gl"#name, name)
 

Macro Definition Documentation

◆ GL_FRAMEBUFFER_SRGB_CAPABLE_EXT

#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT   0x8DBA

Definition at line 55 of file qopenglfunctions.cpp.

◆ QT_OPENGL_COUNT_FUNCTIONS

#define QT_OPENGL_COUNT_FUNCTIONS (   ret,
  name,
  args 
)    +1

Definition at line 60 of file qopenglfunctions.cpp.

◆ QT_OPENGL_FLAGS

#define QT_OPENGL_FLAGS (   ret,
  name,
  args 
)     0,

Definition at line 63 of file qopenglfunctions.cpp.

◆ QT_OPENGL_FUNCTION_NAMES

#define QT_OPENGL_FUNCTION_NAMES (   ret,
  name,
  args 
)     "gl"#name"\0"

Definition at line 61 of file qopenglfunctions.cpp.

◆ QT_OPENGL_IMPLEMENT

#define QT_OPENGL_IMPLEMENT (   CLASS,
  FUNCTIONS 
)
Value:
{ \
const char *names = FUNCTIONS(QT_OPENGL_FUNCTION_NAMES); \
const char *name = names; \
for (int i = 0; i < FUNCTIONS(QT_OPENGL_COUNT_FUNCTIONS); ++i) { \
name += strlen(name) + 1; \
} \
}
small capitals from c petite p scientific i
[1]
Definition: afcover.h:80
The QOpenGLContext class represents a native OpenGL context, enabling OpenGL rendering on a QSurface.
PCRE2_SIZE PRIV() strlen(PCRE2_SPTR str)
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro vuzp8 reg2 vuzp d d &reg2 endm macro vzip8 reg2 vzip d d &reg2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld init[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1 beq endif SRC MASK if dst_r_bpp DST_R else add endif PF add sub src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head pixblock_size cache_preload_simple process_pixblock_tail pixinterleave dst_w_basereg irp beq endif process_pixblock_tail_head tst beq irp if pixblock_size chunk_size tst beq pixld SRC pixld MASK if DST_R else pixld DST_R endif if src_basereg pixdeinterleave mask_basereg pixdeinterleave dst_r_basereg process_pixblock_head if pixblock_size cache_preload_simple endif process_pixblock_tail pixinterleave dst_w_basereg irp if pixblock_size chunk_size tst beq if DST_W else pixst DST_W else mov ORIG_W endif add lsl if lsl endif if lsl endif lsl endif lsl endif lsl endif subs mov DST_W if regs_shortage str endif bge start_of_loop_label endm macro generate_composite_function
GLuint name
GLuint GLuint * names
Definition: qopenglext.h:5654
const void * getProcAddress
Definition: qopenglext.h:11305
#define QT_OPENGL_FUNCTION_NAMES(ret, name, args)
#define QT_OPENGL_COUNT_FUNCTIONS(ret, name, args)
int QT_PREPEND_NAMESPACE(QSharedMemoryPrivate)

Definition at line 65 of file qopenglfunctions.cpp.

◆ RESOLVE

#define RESOLVE (   name)     resolve(context, "gl"#name, name)

Definition at line 2136 of file qopenglfunctions.cpp.