![]() |
TerraLib 4.1
|
#include <dri_interface.h>
Public Attributes | |
| __DRIfuncPtr(* | getProcAddress )(const char *proc_name) |
| __GLcontextModes *(* | createContextModes )(unsigned count, size_t minimum_bytes_per_struct) |
| void(* | destroyContextModes )(__GLcontextModes *modes) |
| __DRIscreen *(* | getScreen )(__DRInativeDisplay *dpy, int screenNum) |
Client/server protocol functions. | |
These functions implement the DRI client/server protocol for context and drawable operations. Platforms that do not implement the wire protocol (e.g., EGL) will implement glorified no-op functions. | |
| GLboolean(* | windowExists )(__DRInativeDisplay *dpy, __DRIid draw) |
| GLboolean(* | createContext )(__DRInativeDisplay *dpy, int screenNum, int configID, void *contextID, drm_context_t *hw_context) |
| GLboolean(* | destroyContext )(__DRInativeDisplay *dpy, int screenNum, __DRIid context) |
| GLboolean(* | createDrawable )(__DRInativeDisplay *ndpy, int screen, __DRIid drawable, drm_drawable_t *hHWDrawable) |
| GLboolean(* | destroyDrawable )(__DRInativeDisplay *ndpy, int screen, __DRIid drawable) |
| GLboolean(* | getDrawableInfo )(__DRInativeDisplay *dpy, int scrn, __DRIid draw, 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) |
Timing related functions. | |
| int(* | getUST )(int64_t *ust) |
| GLboolean(* | getMSCRate )(__DRInativeDisplay *dpy, __DRIid drawable, int32_t *numerator, int32_t *denominator) |
| GLboolean(* __DRIinterfaceMethodsRec::createContext)(__DRInativeDisplay *dpy, int screenNum, int configID, void *contextID, drm_context_t *hw_context) |
Create the server-side portion of the GL context.
| __GLcontextModes *(* __DRIinterfaceMethodsRec::createContextModes)(unsigned count, size_t minimum_bytes_per_struct) |
Create a list of __GLcontextModes structures.
| GLboolean(* __DRIinterfaceMethodsRec::createDrawable)(__DRInativeDisplay *ndpy, int screen, __DRIid drawable, drm_drawable_t *hHWDrawable) |
Create the server-side portion of the drawable.
| GLboolean(* __DRIinterfaceMethodsRec::destroyContext)(__DRInativeDisplay *dpy, int screenNum, __DRIid context) |
Destroy the server-side portion of the GL context.
| void(* __DRIinterfaceMethodsRec::destroyContextModes)(__GLcontextModes *modes) |
| GLboolean(* __DRIinterfaceMethodsRec::destroyDrawable)(__DRInativeDisplay *ndpy, int screen, __DRIid drawable) |
Destroy the server-side portion of the drawable.
| GLboolean(* __DRIinterfaceMethodsRec::getDrawableInfo)(__DRInativeDisplay *dpy, int scrn, __DRIid draw, 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) |
This function is used to get information about the position, size, and clip rects of a drawable.
| GLboolean(* __DRIinterfaceMethodsRec::getMSCRate)(__DRInativeDisplay *dpy, __DRIid drawable, int32_t *numerator, int32_t *denominator) |
Get the media stream counter (MSC) rate.
Matching the definition in GLX_OML_sync_control, this function returns the rate of the "media stream counter". In practical terms, this is the frame refresh rate of the display.
| __DRIfuncPtr(* __DRIinterfaceMethodsRec::getProcAddress)(const char *proc_name) |
Get pointer to named function.
| __DRIscreen *(* __DRIinterfaceMethodsRec::getScreen)(__DRInativeDisplay *dpy, int screenNum) |
Get the __DRIscreen for a given display and screen number.
| int(* __DRIinterfaceMethodsRec::getUST)(int64_t *ust) |
Get the 64-bit unadjusted system time (UST).
| GLboolean(* __DRIinterfaceMethodsRec::windowExists)(__DRInativeDisplay *dpy, __DRIid draw) |
Determine if the specified window ID still exists.
GL_TRUE.