📄 indirect.c
字号:
emit_header(gc->pc, X_GLrop_RasterPos3iv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&y), 4); (void) memcpy((void *) (gc->pc + 12), (void *) (&z), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos3iv 39void__indirect_glRasterPos3iv(const GLint * v){ generic_12_byte(X_GLrop_RasterPos3iv, v);}#define X_GLrop_RasterPos3sv 40void__indirect_glRasterPos3s(GLshort x, GLshort y, GLshort z){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_RasterPos3sv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 2); (void) memcpy((void *) (gc->pc + 6), (void *) (&y), 2); (void) memcpy((void *) (gc->pc + 8), (void *) (&z), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos3sv 40void__indirect_glRasterPos3sv(const GLshort * v){ generic_6_byte(X_GLrop_RasterPos3sv, v);}#define X_GLrop_RasterPos4dv 41void__indirect_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 36; emit_header(gc->pc, X_GLrop_RasterPos4dv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 8); (void) memcpy((void *) (gc->pc + 12), (void *) (&y), 8); (void) memcpy((void *) (gc->pc + 20), (void *) (&z), 8); (void) memcpy((void *) (gc->pc + 28), (void *) (&w), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos4dv 41void__indirect_glRasterPos4dv(const GLdouble * v){ generic_32_byte(X_GLrop_RasterPos4dv, v);}#define X_GLrop_RasterPos4fv 42void__indirect_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_RasterPos4fv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&y), 4); (void) memcpy((void *) (gc->pc + 12), (void *) (&z), 4); (void) memcpy((void *) (gc->pc + 16), (void *) (&w), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos4fv 42void__indirect_glRasterPos4fv(const GLfloat * v){ generic_16_byte(X_GLrop_RasterPos4fv, v);}#define X_GLrop_RasterPos4iv 43void__indirect_glRasterPos4i(GLint x, GLint y, GLint z, GLint w){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_RasterPos4iv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&y), 4); (void) memcpy((void *) (gc->pc + 12), (void *) (&z), 4); (void) memcpy((void *) (gc->pc + 16), (void *) (&w), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos4iv 43void__indirect_glRasterPos4iv(const GLint * v){ generic_16_byte(X_GLrop_RasterPos4iv, v);}#define X_GLrop_RasterPos4sv 44void__indirect_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_RasterPos4sv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x), 2); (void) memcpy((void *) (gc->pc + 6), (void *) (&y), 2); (void) memcpy((void *) (gc->pc + 8), (void *) (&z), 2); (void) memcpy((void *) (gc->pc + 10), (void *) (&w), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_RasterPos4sv 44void__indirect_glRasterPos4sv(const GLshort * v){ generic_8_byte(X_GLrop_RasterPos4sv, v);}#define X_GLrop_Rectdv 45void__indirect_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 36; emit_header(gc->pc, X_GLrop_Rectdv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x1), 8); (void) memcpy((void *) (gc->pc + 12), (void *) (&y1), 8); (void) memcpy((void *) (gc->pc + 20), (void *) (&x2), 8); (void) memcpy((void *) (gc->pc + 28), (void *) (&y2), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectdv 45void__indirect_glRectdv(const GLdouble * v1, const GLdouble * v2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 36; emit_header(gc->pc, X_GLrop_Rectdv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (v1), 16); (void) memcpy((void *) (gc->pc + 20), (void *) (v2), 16); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectfv 46void__indirect_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_Rectfv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x1), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&y1), 4); (void) memcpy((void *) (gc->pc + 12), (void *) (&x2), 4); (void) memcpy((void *) (gc->pc + 16), (void *) (&y2), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectfv 46void__indirect_glRectfv(const GLfloat * v1, const GLfloat * v2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_Rectfv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (v1), 8); (void) memcpy((void *) (gc->pc + 12), (void *) (v2), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectiv 47void__indirect_glRecti(GLint x1, GLint y1, GLint x2, GLint y2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_Rectiv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x1), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&y1), 4); (void) memcpy((void *) (gc->pc + 12), (void *) (&x2), 4); (void) memcpy((void *) (gc->pc + 16), (void *) (&y2), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectiv 47void__indirect_glRectiv(const GLint * v1, const GLint * v2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_Rectiv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (v1), 8); (void) memcpy((void *) (gc->pc + 12), (void *) (v2), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectsv 48void__indirect_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_Rectsv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&x1), 2); (void) memcpy((void *) (gc->pc + 6), (void *) (&y1), 2); (void) memcpy((void *) (gc->pc + 8), (void *) (&x2), 2); (void) memcpy((void *) (gc->pc + 10), (void *) (&y2), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_Rectsv 48void__indirect_glRectsv(const GLshort * v1, const GLshort * v2){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_Rectsv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (v1), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (v2), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord1dv 49void__indirect_glTexCoord1d(GLdouble s){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_TexCoord1dv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord1dv 49void__indirect_glTexCoord1dv(const GLdouble * v){ generic_8_byte(X_GLrop_TexCoord1dv, v);}#define X_GLrop_TexCoord1fv 50void__indirect_glTexCoord1f(GLfloat s){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 8; emit_header(gc->pc, X_GLrop_TexCoord1fv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord1fv 50void__indirect_glTexCoord1fv(const GLfloat * v){ generic_4_byte(X_GLrop_TexCoord1fv, v);}#define X_GLrop_TexCoord1iv 51void__indirect_glTexCoord1i(GLint s){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 8; emit_header(gc->pc, X_GLrop_TexCoord1iv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord1iv 51void__indirect_glTexCoord1iv(const GLint * v){ generic_4_byte(X_GLrop_TexCoord1iv, v);}#define X_GLrop_TexCoord1sv 52void__indirect_glTexCoord1s(GLshort s){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 8; emit_header(gc->pc, X_GLrop_TexCoord1sv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord1sv 52void__indirect_glTexCoord1sv(const GLshort * v){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 8; emit_header(gc->pc, X_GLrop_TexCoord1sv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (v), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord2dv 53void__indirect_glTexCoord2d(GLdouble s, GLdouble t){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 20; emit_header(gc->pc, X_GLrop_TexCoord2dv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 8); (void) memcpy((void *) (gc->pc + 12), (void *) (&t), 8); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord2dv 53void__indirect_glTexCoord2dv(const GLdouble * v){ generic_16_byte(X_GLrop_TexCoord2dv, v);}#define X_GLrop_TexCoord2fv 54void__indirect_glTexCoord2f(GLfloat s, GLfloat t){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_TexCoord2fv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&t), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord2fv 54void__indirect_glTexCoord2fv(const GLfloat * v){ generic_8_byte(X_GLrop_TexCoord2fv, v);}#define X_GLrop_TexCoord2iv 55void__indirect_glTexCoord2i(GLint s, GLint t){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 12; emit_header(gc->pc, X_GLrop_TexCoord2iv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 4); (void) memcpy((void *) (gc->pc + 8), (void *) (&t), 4); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }}#define X_GLrop_TexCoord2iv 55void__indirect_glTexCoord2iv(const GLint * v){ generic_8_byte(X_GLrop_TexCoord2iv, v);}#define X_GLrop_TexCoord2sv 56void__indirect_glTexCoord2s(GLshort s, GLshort t){ __GLXcontext *const gc = __glXGetCurrentContext(); const GLuint cmdlen = 8; emit_header(gc->pc, X_GLrop_TexCoord2sv, cmdlen); (void) memcpy((void *) (gc->pc + 4), (void *) (&s), 2); (void) memcpy((void *) (gc->pc + 6), (void *) (&t), 2); gc->pc += cmdlen; if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -