zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dri_interface.h
Go to the documentation of this file.
1 /*
2  * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
3  * Copyright 2007-2008 Red Hat, Inc.
4  * (C) Copyright IBM Corporation 2004
5  * All Rights Reserved.
6  *
7  * Permission is hereby granted, free of charge, to any person obtaining a
8  * copy of this software and associated documentation files (the "Software"),
9  * to deal in the Software without restriction, including without limitation
10  * on the rights to use, copy, modify, merge, publish, distribute, sub
11  * license, and/or sell copies of the Software, and to permit persons to whom
12  * the Software is furnished to do so, subject to the following conditions:
13  *
14  * The above copyright notice and this permission notice (including the next
15  * paragraph) shall be included in all copies or substantial portions of the
16  * Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
21  * THE COPYRIGHT HOLDERS AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
22  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
23  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
24  * USE OR OTHER DEALINGS IN THE SOFTWARE.
25  */
26 
40 #ifndef DRI_INTERFACE_H
41 #define DRI_INTERFACE_H
42 
43 /* For archs with no drm.h */
44 #if defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__)
45 #ifndef __NOT_HAVE_DRM_H
46 #define __NOT_HAVE_DRM_H
47 #endif
48 #endif
49 
50 #ifndef __NOT_HAVE_DRM_H
51 #include <drm.h>
52 #else
53 typedef unsigned int drm_context_t;
54 typedef unsigned int drm_drawable_t;
55 typedef struct drm_clip_rect drm_clip_rect_t;
56 #endif
57 
65 typedef struct __DRIdisplayRec __DRIdisplay;
66 typedef struct __DRIscreenRec __DRIscreen;
67 typedef struct __DRIcontextRec __DRIcontext;
68 typedef struct __DRIdrawableRec __DRIdrawable;
69 typedef struct __DRIconfigRec __DRIconfig;
72 
83 typedef struct __DRIbufferRec __DRIbuffer;
87 
111  const char *name;
112  int version;
113 };
114 
126 #define __DRI_READ_DRAWABLE "DRI_ReadDrawable"
127 #define __DRI_READ_DRAWABLE_VERSION 1
128 
132 #define __DRI_COPY_SUB_BUFFER "DRI_CopySubBuffer"
133 #define __DRI_COPY_SUB_BUFFER_VERSION 1
136  void (*copySubBuffer)(__DRIdrawable *drawable, int x, int y, int w, int h);
137 };
138 
143 #define __DRI_SWAP_CONTROL "DRI_SwapControl"
144 #define __DRI_SWAP_CONTROL_VERSION 1
147  void (*setSwapInterval)(__DRIdrawable *drawable, unsigned int inteval);
148  unsigned int (*getSwapInterval)(__DRIdrawable *drawable);
149 };
150 
154 #define __DRI_FRAME_TRACKING "DRI_FrameTracking"
155 #define __DRI_FRAME_TRACKING_VERSION 1
158 
165 
172  int64_t * sbc, int64_t * missedFrames,
173  float * lastMissedUsage, float * usage);
174 };
175 
176 
180 #define __DRI_MEDIA_STREAM_COUNTER "DRI_MediaStreamCounter"
181 #define __DRI_MEDIA_STREAM_COUNTER_VERSION 1
184 
193  int64_t * msc, int64_t * sbc);
194 
200  int64_t *msc);
201 };
202 
203 
204 #define __DRI_TEX_OFFSET "DRI_TexOffset"
205 #define __DRI_TEX_OFFSET_VERSION 1
208 
216  void (*setTexOffset)(__DRIcontext *pDRICtx, GLint texname,
217  unsigned long long offset, GLint depth, GLuint pitch);
218 };
219 
220 
221 /* Valid values for format in the setTexBuffer2 function below. These
222  * values match the GLX tokens for compatibility reasons, but we
223  * define them here since the DRI interface can't depend on GLX. */
224 #define __DRI_TEXTURE_FORMAT_NONE 0x20D8
225 #define __DRI_TEXTURE_FORMAT_RGB 0x20D9
226 #define __DRI_TEXTURE_FORMAT_RGBA 0x20DA
227 
228 #define __DRI_TEX_BUFFER "DRI_TexBuffer"
229 #define __DRI_TEX_BUFFER_VERSION 2
232 
241  GLint target,
242  __DRIdrawable *pDraw);
243 
251  GLint target,
252  GLint format,
253  __DRIdrawable *pDraw);
261  GLint target,
262  __DRIdrawable *pDraw);
263 };
264 
268 #define __DRI2_FLUSH "DRI2_Flush"
269 #define __DRI2_FLUSH_VERSION 3
272  void (*flush)(__DRIdrawable *drawable);
273 
283 };
284 
285 
290 extern const char __driConfigOptions[];
291 
307 typedef struct __DRIloaderExtensionRec __DRIloaderExtension;
309 
310 
314 #define __DRI_GET_DRAWABLE_INFO "DRI_GetDrawableInfo"
315 #define __DRI_GET_DRAWABLE_INFO_VERSION 1
318 
324  unsigned int * index, unsigned int * stamp,
325  int * x, int * y, int * width, int * height,
326  int * numClipRects, drm_clip_rect_t ** pClipRects,
327  int * backX, int * backY,
328  int * numBackClipRects, drm_clip_rect_t ** pBackClipRects,
329  void *loaderPrivate);
330 };
331 
335 #define __DRI_SYSTEM_TIME "DRI_SystemTime"
336 #define __DRI_SYSTEM_TIME_VERSION 1
339 
344 
354  void *loaderPrivate);
355 };
356 
360 #define __DRI_DAMAGE "DRI_Damage"
361 #define __DRI_DAMAGE_VERSION 1
364 
381  int x, int y,
382  drm_clip_rect_t *rects, int num_rects,
383  GLboolean front_buffer,
384  void *loaderPrivate);
385 };
386 
387 #define __DRI_SWRAST_IMAGE_OP_DRAW 1
388 #define __DRI_SWRAST_IMAGE_OP_CLEAR 2
389 #define __DRI_SWRAST_IMAGE_OP_SWAP 3
390 
394 #define __DRI_SWRAST_LOADER "DRI_SWRastLoader"
395 #define __DRI_SWRAST_LOADER_VERSION 1
398 
399  /*
400  * Drawable position and size
401  */
403  int *x, int *y, int *width, int *height,
404  void *loaderPrivate);
405 
409  void (*putImage)(__DRIdrawable *drawable, int op,
410  int x, int y, int width, int height,
411  char *data, void *loaderPrivate);
412 
417  int x, int y, int width, int height,
418  char *data, void *loaderPrivate);
419 };
420 
433 #define __DRI_USE_INVALIDATE "DRI_UseInvalidate"
434 #define __DRI_USE_INVALIDATE_VERSION 1
435 
439 };
440 
447 #define __DRI_DRIVER_EXTENSIONS "__driDriverExtensions"
448 
455 #define __DRI_ATTRIB_BUFFER_SIZE 1
456 #define __DRI_ATTRIB_LEVEL 2
457 #define __DRI_ATTRIB_RED_SIZE 3
458 #define __DRI_ATTRIB_GREEN_SIZE 4
459 #define __DRI_ATTRIB_BLUE_SIZE 5
460 #define __DRI_ATTRIB_LUMINANCE_SIZE 6
461 #define __DRI_ATTRIB_ALPHA_SIZE 7
462 #define __DRI_ATTRIB_ALPHA_MASK_SIZE 8
463 #define __DRI_ATTRIB_DEPTH_SIZE 9
464 #define __DRI_ATTRIB_STENCIL_SIZE 10
465 #define __DRI_ATTRIB_ACCUM_RED_SIZE 11
466 #define __DRI_ATTRIB_ACCUM_GREEN_SIZE 12
467 #define __DRI_ATTRIB_ACCUM_BLUE_SIZE 13
468 #define __DRI_ATTRIB_ACCUM_ALPHA_SIZE 14
469 #define __DRI_ATTRIB_SAMPLE_BUFFERS 15
470 #define __DRI_ATTRIB_SAMPLES 16
471 #define __DRI_ATTRIB_RENDER_TYPE 17
472 #define __DRI_ATTRIB_CONFIG_CAVEAT 18
473 #define __DRI_ATTRIB_CONFORMANT 19
474 #define __DRI_ATTRIB_DOUBLE_BUFFER 20
475 #define __DRI_ATTRIB_STEREO 21
476 #define __DRI_ATTRIB_AUX_BUFFERS 22
477 #define __DRI_ATTRIB_TRANSPARENT_TYPE 23
478 #define __DRI_ATTRIB_TRANSPARENT_INDEX_VALUE 24
479 #define __DRI_ATTRIB_TRANSPARENT_RED_VALUE 25
480 #define __DRI_ATTRIB_TRANSPARENT_GREEN_VALUE 26
481 #define __DRI_ATTRIB_TRANSPARENT_BLUE_VALUE 27
482 #define __DRI_ATTRIB_TRANSPARENT_ALPHA_VALUE 28
483 #define __DRI_ATTRIB_FLOAT_MODE 29
484 #define __DRI_ATTRIB_RED_MASK 30
485 #define __DRI_ATTRIB_GREEN_MASK 31
486 #define __DRI_ATTRIB_BLUE_MASK 32
487 #define __DRI_ATTRIB_ALPHA_MASK 33
488 #define __DRI_ATTRIB_MAX_PBUFFER_WIDTH 34
489 #define __DRI_ATTRIB_MAX_PBUFFER_HEIGHT 35
490 #define __DRI_ATTRIB_MAX_PBUFFER_PIXELS 36
491 #define __DRI_ATTRIB_OPTIMAL_PBUFFER_WIDTH 37
492 #define __DRI_ATTRIB_OPTIMAL_PBUFFER_HEIGHT 38
493 #define __DRI_ATTRIB_VISUAL_SELECT_GROUP 39
494 #define __DRI_ATTRIB_SWAP_METHOD 40
495 #define __DRI_ATTRIB_MAX_SWAP_INTERVAL 41
496 #define __DRI_ATTRIB_MIN_SWAP_INTERVAL 42
497 #define __DRI_ATTRIB_BIND_TO_TEXTURE_RGB 43
498 #define __DRI_ATTRIB_BIND_TO_TEXTURE_RGBA 44
499 #define __DRI_ATTRIB_BIND_TO_MIPMAP_TEXTURE 45
500 #define __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS 46
501 #define __DRI_ATTRIB_YINVERTED 47
502 #define __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE 48
503 
504 /* __DRI_ATTRIB_RENDER_TYPE */
505 #define __DRI_ATTRIB_RGBA_BIT 0x01
506 #define __DRI_ATTRIB_COLOR_INDEX_BIT 0x02
507 #define __DRI_ATTRIB_LUMINANCE_BIT 0x04
508 
509 /* __DRI_ATTRIB_CONFIG_CAVEAT */
510 #define __DRI_ATTRIB_SLOW_BIT 0x01
511 #define __DRI_ATTRIB_NON_CONFORMANT_CONFIG 0x02
512 
513 /* __DRI_ATTRIB_TRANSPARENT_TYPE */
514 #define __DRI_ATTRIB_TRANSPARENT_RGB 0x00
515 #define __DRI_ATTRIB_TRANSPARENT_INDEX 0x01
516 
517 /* __DRI_ATTRIB_BIND_TO_TEXTURE_TARGETS */
518 #define __DRI_ATTRIB_TEXTURE_1D_BIT 0x01
519 #define __DRI_ATTRIB_TEXTURE_2D_BIT 0x02
520 #define __DRI_ATTRIB_TEXTURE_RECTANGLE_BIT 0x04
521 
525 #define __DRI_CORE "DRI_Core"
526 #define __DRI_CORE_VERSION 1
527 
530 
531  __DRIscreen *(*createNewScreen)(int screen, int fd,
532  unsigned int sarea_handle,
533  const __DRIextension **extensions,
534  const __DRIconfig ***driverConfigs,
535  void *loaderPrivate);
536 
538 
539  const __DRIextension **(*getExtensions)(__DRIscreen *screen);
540 
542  unsigned int attrib,
543  unsigned int *value);
544 
546  unsigned int *attrib, unsigned int *value);
547 
548  __DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
549  const __DRIconfig *config,
550  unsigned int drawable_id,
551  unsigned int head,
552  void *loaderPrivate);
553 
555 
557 
558  __DRIcontext *(*createNewContext)(__DRIscreen *screen,
559  const __DRIconfig *config,
560  __DRIcontext *shared,
561  void *loaderPrivate);
562 
564  __DRIcontext *src,
565  unsigned long mask);
566 
568 
570  __DRIdrawable *pdraw,
571  __DRIdrawable *pread);
572 
574 };
575 
586  int major;
587  int minor;
588  int patch;
589 };
590 
604  unsigned char *base;
610  int size;
611  int stride;
612  int width;
613  int height;
615  void *dev_priv;
616 };
617 
618 
624 #define __DRI_LEGACY "DRI_Legacy"
625 #define __DRI_LEGACY_VERSION 1
626 
629 
630  __DRIscreen *(*createNewScreen)(int screen,
631  const __DRIversion *ddx_version,
632  const __DRIversion *dri_version,
633  const __DRIversion *drm_version,
634  const __DRIframebuffer *frame_buffer,
635  void *pSAREA, int fd,
636  const __DRIextension **extensions,
637  const __DRIconfig ***driver_configs,
638  void *loaderPrivate);
639 
640  __DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
641  const __DRIconfig *config,
642  drm_drawable_t hwDrawable,
643  int renderType, const int *attrs,
644  void *loaderPrivate);
645 
646  __DRIcontext *(*createNewContext)(__DRIscreen *screen,
647  const __DRIconfig *config,
648  int render_type,
649  __DRIcontext *shared,
650  drm_context_t hwContext,
651  void *loaderPrivate);
652 };
653 
659 #define __DRI_SWRAST "DRI_SWRast"
660 #define __DRI_SWRAST_VERSION 2
661 
664 
665  __DRIscreen *(*createNewScreen)(int screen,
666  const __DRIextension **extensions,
667  const __DRIconfig ***driver_configs,
668  void *loaderPrivate);
669 
670  __DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
671  const __DRIconfig *config,
672  void *loaderPrivate);
673 
674  /* Since version 2 */
675  __DRIcontext *(*createNewContextForAPI)(__DRIscreen *screen,
676  int api,
677  const __DRIconfig *config,
678  __DRIcontext *shared,
679  void *data);
680 };
681 
685 #define __DRI_BUFFER_FRONT_LEFT 0
686 #define __DRI_BUFFER_BACK_LEFT 1
687 #define __DRI_BUFFER_FRONT_RIGHT 2
688 #define __DRI_BUFFER_BACK_RIGHT 3
689 #define __DRI_BUFFER_DEPTH 4
690 #define __DRI_BUFFER_STENCIL 5
691 #define __DRI_BUFFER_ACCUM 6
692 #define __DRI_BUFFER_FAKE_FRONT_LEFT 7
693 #define __DRI_BUFFER_FAKE_FRONT_RIGHT 8
694 #define __DRI_BUFFER_DEPTH_STENCIL 9
695 #define __DRI_BUFFER_HIZ 10
696 
698  unsigned int attachment;
699  unsigned int name;
700  unsigned int pitch;
701  unsigned int cpp;
702  unsigned int flags;
703 };
704 
705 #define __DRI_DRI2_LOADER "DRI_DRI2Loader"
706 #define __DRI_DRI2_LOADER_VERSION 3
709 
710  __DRIbuffer *(*getBuffers)(__DRIdrawable *driDrawable,
711  int *width, int *height,
712  unsigned int *attachments, int count,
713  int *out_count, void *loaderPrivate);
714 
726  void (*flushFrontBuffer)(__DRIdrawable *driDrawable, void *loaderPrivate);
727 
728 
748  __DRIbuffer *(*getBuffersWithFormat)(__DRIdrawable *driDrawable,
749  int *width, int *height,
750  unsigned int *attachments, int count,
751  int *out_count, void *loaderPrivate);
752 };
753 
758 #define __DRI_DRI2 "DRI_DRI2"
759 #define __DRI_DRI2_VERSION 2
760 
761 #define __DRI_API_OPENGL 0
762 #define __DRI_API_GLES 1
763 #define __DRI_API_GLES2 2
764 
767 
768  __DRIscreen *(*createNewScreen)(int screen, int fd,
769  const __DRIextension **extensions,
770  const __DRIconfig ***driver_configs,
771  void *loaderPrivate);
772 
773  __DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
774  const __DRIconfig *config,
775  void *loaderPrivate);
776 
777  __DRIcontext *(*createNewContext)(__DRIscreen *screen,
778  const __DRIconfig *config,
779  __DRIcontext *shared,
780  void *loaderPrivate);
781 
782  /* Since version 2 */
783  unsigned int (*getAPIMask)(__DRIscreen *screen);
784 
785  __DRIcontext *(*createNewContextForAPI)(__DRIscreen *screen,
786  int api,
787  const __DRIconfig *config,
788  __DRIcontext *shared,
789  void *data);
790 
791  __DRIbuffer *(*allocateBuffer)(__DRIscreen *screen,
792  unsigned int attachment,
793  unsigned int format,
794  int width,
795  int height);
798 };
799 
800 
805 #define __DRI_IMAGE "DRI_IMAGE"
806 #define __DRI_IMAGE_VERSION 1
807 
814 #define __DRI_IMAGE_FORMAT_RGB565 0x1001
815 #define __DRI_IMAGE_FORMAT_XRGB8888 0x1002
816 #define __DRI_IMAGE_FORMAT_ARGB8888 0x1003
817 
818 #define __DRI_IMAGE_USE_SHARE 0x0001
819 #define __DRI_IMAGE_USE_SCANOUT 0x0002
820 #define __DRI_IMAGE_USE_CURSOR 0x0004
821 
826 #define __DRI_IMAGE_ATTRIB_STRIDE 0x2000
827 #define __DRI_IMAGE_ATTRIB_HANDLE 0x2001
828 #define __DRI_IMAGE_ATTRIB_NAME 0x2002
829 
830 typedef struct __DRIimageRec __DRIimage;
834 
835  __DRIimage *(*createImageFromName)(__DRIscreen *screen,
836  int width, int height, int format,
837  int name, int pitch,
838  void *loaderPrivate);
839 
840  __DRIimage *(*createImageFromRenderbuffer)(__DRIcontext *context,
841  int renderbuffer,
842  void *loaderPrivate);
843 
845 
846  __DRIimage *(*createImage)(__DRIscreen *screen,
847  int width, int height, int format,
848  unsigned int use,
849  void *loaderPrivate);
850 
851  GLboolean (*queryImage)(__DRIimage *image, int attrib, int *value);
852 
856  __DRIimage *(*dupImage)(__DRIimage *image, void *loaderPrivate);
857 };
858 
859 
869 #define __DRI_IMAGE_LOOKUP "DRI_IMAGE_LOOKUP"
870 #define __DRI_IMAGE_LOOKUP_VERSION 1
871 
875 
876  __DRIimage *(*lookupEGLImage)(__DRIscreen *screen, void *image,
877  void *loaderPrivate);
878 };
879 
883 #define __DRI2_CONFIG_QUERY "DRI_CONFIG_QUERY"
884 #define __DRI2_CONFIG_QUERY_VERSION 1
885 
889 
890  int (*configQueryb)(__DRIscreen *screen, const char *var, GLboolean *val);
891  int (*configQueryi)(__DRIscreen *screen, const char *var, GLint *val);
892  int (*configQueryf)(__DRIscreen *screen, const char *var, GLfloat *val);
893 };
894 #endif
INT32 INT32 * denominator
Definition: wglew.h:1153
unsigned int pitch
int(* getDrawableMSC)(__DRIscreen *screen, __DRIdrawable *drawable, int64_t *msc)
GLboolean(* getMSCRate)(__DRIdrawable *draw, int32_t *numerator, int32_t *denominator, void *loaderPrivate)
struct __DRIimageRec __DRIimage
struct __DRIconfigRec __DRIconfig
Definition: dri_interface.h:69
GLuint const GLfloat * val
Definition: glew.h:2715
GLfloat GLfloat GLfloat GLfloat h
Definition: glew.h:7294
INT64 * ust
Definition: wglew.h:1154
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
Definition: glew.h:1824
long long int64_t
Definition: types.h:10
void(* releaseBuffer)(__DRIscreen *screen, __DRIbuffer *buffer)
struct __DRIscreenRec __DRIscreen
Definition: dri_interface.h:66
int(* unbindContext)(__DRIcontext *ctx)
unsigned char GLboolean
Definition: gl2.h:24
unsigned int cpp
unsigned int flags
void(* destroyScreen)(__DRIscreen *screen)
int(* getConfigAttrib)(const __DRIconfig *config, unsigned int attrib, unsigned int *value)
int(* waitForMSC)(__DRIdrawable *drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *msc, int64_t *sbc)
EGLSurface EGLint x
Definition: eglext.h:293
unsigned int name
const char __driConfigOptions[]
void(* flush)(__DRIdrawable *drawable)
EGLSurface EGLint EGLint EGLint EGLint height
Definition: eglext.h:293
EGLImageKHR EGLint * name
Definition: eglext.h:284
struct __DRIcontextRec __DRIcontext
Definition: dri_interface.h:67
long int32_t
Definition: types.h:9
GLuint divisor
Definition: gl2ext.h:1010
void(* swapBuffers)(__DRIdrawable *drawable)
INT64 INT64 * msc
Definition: wglew.h:1154
unsigned char * base
int(* configQueryf)(__DRIscreen *screen, const char *var, GLfloat *val)
void(* destroyContext)(__DRIcontext *context)
EGLImageKHR image
Definition: eglext.h:88
void(* getImage)(__DRIdrawable *readable, int x, int y, int width, int height, char *data, void *loaderPrivate)
void(* setSwapInterval)(__DRIdrawable *drawable, unsigned int inteval)
EGLContext EGLenum target
Definition: eglext.h:87
EGLContext EGLenum EGLClientBuffer buffer
Definition: eglext.h:87
int(* frameTracking)(__DRIdrawable *drawable, GLboolean enable)
int
Definition: SDL_systhread.c:37
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl2ext.h:848
EGLSurface EGLint EGLint EGLint width
Definition: eglext.h:293
unsigned int(* getSwapInterval)(__DRIdrawable *drawable)
void(* destroyDrawable)(__DRIdrawable *drawable)
void(* releaseTexBuffer)(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *pDraw)
GLint GLsizei count
Definition: gl2ext.h:1011
GLboolean(* queryImage)(__DRIimage *image, int attrib, int *value)
int(* getUST)(int64_t *ust)
struct __DRIloaderExtensionRec __DRIloaderExtension
int(* indexConfigAttrib)(const __DRIconfig *config, int index, unsigned int *attrib, unsigned int *value)
GLboolean enable
Definition: gl2ext.h:940
GLboolean(* getDrawableInfo)(__DRIdrawable *drawable, unsigned int *index, unsigned int *stamp, int *x, int *y, int *width, int *height, int *numClipRects, drm_clip_rect_t **pClipRects, int *backX, int *backY, int *numBackClipRects, drm_clip_rect_t **pBackClipRects, void *loaderPrivate)
const char * name
GLint GLenum GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl2ext.h:845
GLint GLenum GLsizei GLsizei GLsizei depth
Definition: gl2ext.h:845
GLuint index
Definition: glew.h:1800
unsigned int attachment
int(* bindContext)(__DRIcontext *ctx, __DRIdrawable *pdraw, __DRIdrawable *pread)
int(* queryFrameTracking)(__DRIdrawable *drawable, int64_t *sbc, int64_t *missedFrames, float *lastMissedUsage, float *usage)
struct __DRIdisplayRec __DRIdisplay
Definition: dri_interface.h:65
void(* invalidate)(__DRIdrawable *drawable)
khronos_float_t GLfloat
Definition: gl2.h:33
void(* setTexBuffer)(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *pDraw)
int(* configQueryi)(__DRIscreen *screen, const char *var, GLint *val)
void(* copySubBuffer)(__DRIdrawable *drawable, int x, int y, int w, int h)
INT64 target_msc
Definition: wglew.h:1155
INT32 * numerator
Definition: wglew.h:1153
EGLSurface EGLint EGLint y
Definition: eglext.h:293
INT64 INT64 INT64 * sbc
Definition: wglew.h:1154
int(* configQueryb)(__DRIscreen *screen, const char *var, GLboolean *val)
int GLint
Definition: gl2.h:28
void(* destroyImage)(__DRIimage *image)
EGLSurface EGLint void ** value
Definition: eglext.h:301
unsigned int GLuint
Definition: gl2.h:32
GLintptr offset
Definition: glew.h:1668
void(* getDrawableInfo)(__DRIdrawable *drawable, int *x, int *y, int *width, int *height, void *loaderPrivate)
EGLConfig config
Definition: eglext.h:257
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
Definition: gl2ext.h:961
GLint GLint GLint GLint GLint w
Definition: gl2ext.h:1215
GLenum src
Definition: glew.h:2396
TParseContext * context
void(* reportDamage)(__DRIdrawable *draw, int x, int y, drm_clip_rect_t *rects, int num_rects, GLboolean front_buffer, void *loaderPrivate)
unsigned int(* getAPIMask)(__DRIscreen *screen)
GLenum attachment
Definition: gl2ext.h:850
SDL_EventEntry * head
Definition: SDL_events.c:78
int(* copyContext)(__DRIcontext *dest, __DRIcontext *src, unsigned long mask)
__DRIextension base
void(* setTexOffset)(__DRIcontext *pDRICtx, GLint texname, unsigned long long offset, GLint depth, GLuint pitch)
GLsizeiptr const GLvoid GLenum usage
Definition: glew.h:1667
struct __DRIdrawableRec __DRIdrawable
Definition: dri_interface.h:68
__DRIextension base
void(* setTexBuffer2)(__DRIcontext *pDRICtx, GLint target, GLint format, __DRIdrawable *pDraw)
void(* putImage)(__DRIdrawable *drawable, int op, int x, int y, int width, int height, char *data, void *loaderPrivate)
GLuint renderbuffer
Definition: glew.h:4123
void(* flushFrontBuffer)(__DRIdrawable *driDrawable, void *loaderPrivate)
INT64 INT64 INT64 remainder
Definition: wglew.h:1155
GLsizei const GLenum * attachments
Definition: gl2ext.h:1103
EGLContext ctx
Definition: eglext.h:87