X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fstate_trackers%2Fwgl%2Fstw_icd.h;h=9f386c9c10469babbc244f46407369fd6177a19f;hb=e9f83185a221b446717c96c4df8dc64ced43e24f;hp=02eb543fef020ab0dc2bee6c4de0878d3490c6c5;hpb=46a784b7fd2dcab97c26d5ca02fb8f74945ba157;p=mesa.git diff --git a/src/gallium/state_trackers/wgl/stw_icd.h b/src/gallium/state_trackers/wgl/stw_icd.h index 02eb543fef0..9f386c9c104 100644 --- a/src/gallium/state_trackers/wgl/stw_icd.h +++ b/src/gallium/state_trackers/wgl/stw_icd.h @@ -25,6 +25,13 @@ * **************************************************************************/ +/** + * @file + * + * This header defines the interface used by the system's opengl32.dll and the + * Installable Client Driver (ICD). + */ + #ifndef STW_ICD_H #define STW_ICD_H @@ -447,14 +454,26 @@ typedef struct _GLCBPRESENTBUFFERSDATA */ typedef struct _GLCALLBACKTABLE { - /** Unused */ - PROC wglCbSetCurrentValue; + /** + * Set per-thread driver private data. + * + * Unused. + **/ + void (APIENTRY *wglCbSetCurrentValue)(void *pvData); - /** Unused */ - PROC wglCbGetCurrentValue; + /** + * Get per-thread private data. + * + * Unused. + */ + void * (APIENTRY *wglCbGetCurrentValue)(void); - /** Unused */ - PROC wglCbGetDhglrc; + /** + * Get the ICD GHGLRC handle corresponding to the specified hglrc handle. + * + * Currently unused. + */ + DHGLRC (APIENTRY *wglCbGetDhglrc)(HGLRC hglrc); /** Unused */ PROC wglCbGetDdHandle;