11 #define WIN32_NO_STATUS 20 #ifndef OPENGL32_USE_TLS 37 OldFlink =
Entry->Flink;
38 OldBlink =
Entry->Blink;
39 OldFlink->
Blink = OldBlink;
40 OldBlink->
Flink = OldFlink;
41 return (OldFlink == OldBlink);
52 OldBlink = ListHead->
Blink;
53 Entry->Flink = ListHead;
54 Entry->Blink = OldBlink;
56 ListHead->Blink =
Entry;
66 ListHead->Flink = ListHead->Blink = ListHead;
84 #define WGL_DC_OBJ_DC 0x1
union wgl_dc_data::@287 owner
static HGLRC(WINAPI *pwglCreateContextAttribsARB)(HDC hDC
FORCEINLINE void IntMakeCurrent(HGLRC hglrc, HDC hdc, struct wgl_dc_data *dc_data)
FORCEINLINE void * IntGetCurrentICDPrivate(void)
BOOL sw_SetContext(struct wgl_dc_data *dc_data, DHGLRC dhglrc)
void sw_ReleaseContext(DHGLRC hglrc)
BOOL sw_ShareLists(DHGLRC dhglrcSrc, DHGLRC dhglrcDst)
struct _LIST_ENTRY * Blink
struct ICD_Data * icd_data
BOOL sw_SwapBuffers(HDC hdc, struct wgl_dc_data *dc_data)
static __inline VOID InsertTailList(_In_ PLIST_ENTRY ListHead, _In_ PLIST_ENTRY Entry)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
FORCEINLINE HGLRC IntGetCurrentRC(void)
struct ICD_Data * icd_data
static struct wgl_dc_data * IntGetCurrentDcData(void)
struct wgl_dc_data * next
struct _LIST_ENTRY * Flink
FORCEINLINE void IntSetCurrentICDPrivate(void *value)
BOOL sw_SetPixelFormat(HDC hdc, struct wgl_dc_data *, INT format)
void IntDeleteAllContexts(void)
FORCEINLINE HDC IntGetCurrentDC(void)
void IntDeleteAllICDs(void)
GLsizei const GLfloat * value
BOOL sw_CopyContext(DHGLRC dhglrcSrc, DHGLRC dhglrcDst, UINT mask)
FORCEINLINE DHGLRC IntGetCurrentDHGLRC(void)
FORCEINLINE void IntSetCurrentDispatchTable(const GLDISPATCHTABLE *table)
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
LIST_ENTRY ContextListHead
PROC sw_GetProcAddress(LPCSTR name)
INT sw_DescribePixelFormat(HDC hdc, INT format, UINT size, PIXELFORMATDESCRIPTOR *descr)
FORCEINLINE const GLDISPATCHTABLE * IntGetCurrentDispatchTable(void)
BOOL sw_DeleteContext(DHGLRC dhglrc)
static __inline VOID InitializeListHead(_Inout_ PLIST_ENTRY ListHead)
static __inline BOOLEAN RemoveEntryList(_In_ PLIST_ENTRY Entry)
DHGLRC sw_CreateContext(struct wgl_dc_data *)
base of all file and directory entries