dst == NULL)
return FALSE;
- return stw_wgl_copy_context( src, dst, fuMask );
+ return stw_copy_context( src, dst, fuMask );
}
DHGLRC APIENTRY
return 0;
found_slot:
- stw_dev->ctx_array[i].hglrc = stw_wgl_create_context( hdc, iLayerPlane );
+ stw_dev->ctx_array[i].hglrc = stw_create_context( hdc, iLayerPlane );
if (stw_dev->ctx_array[i].hglrc == NULL)
return 0;
BOOL success = FALSE;
if (hglrc != NULL) {
- success = stw_wgl_delete_context( hglrc );
+ success = stw_delete_context( hglrc );
if (success)
stw_dev->ctx_array[dhglrc - 1].hglrc = NULL;
}
static HGLRC current_hrc = NULL;
BOOL
-stw_wgl_copy_context(
+stw_copy_context(
HGLRC hglrcSrc,
HGLRC hglrcDst,
UINT mask )
}
HGLRC
-stw_wgl_create_context(
+stw_create_context(
HDC hdc,
int iLayerPlane )
{
BOOL
-stw_wgl_delete_context(
+stw_delete_context(
HGLRC hglrc )
{
struct wgl_context **link = &ctx_head;
}
HGLRC
-stw_wgl_get_current_context( void )
+stw_get_current_context( void )
{
return current_hrc;
}
HDC
-stw_wgl_get_current_dc( void )
+stw_get_current_dc( void )
{
return current_hdc;
}
BOOL
-stw_wgl_make_current(
+stw_make_current(
HDC hdc,
HGLRC hglrc )
{
//////////////////
-BOOL stw_wgl_copy_context( HGLRC hglrcSrc,
+BOOL stw_copy_context( HGLRC hglrcSrc,
HGLRC hglrcDst,
UINT mask );
-HGLRC stw_wgl_create_context( HDC hdc, int iLayerPlane );
+HGLRC stw_create_context( HDC hdc, int iLayerPlane );
-BOOL stw_wgl_delete_context( HGLRC hglrc );
+BOOL stw_delete_context( HGLRC hglrc );
-HGLRC stw_wgl_get_current_context( void );
+HGLRC stw_get_current_context( void );
-HDC stw_wgl_get_current_dc( void );
+HDC stw_get_current_dc( void );
-BOOL stw_wgl_make_current( HDC hdc, HGLRC hglrc );
+BOOL stw_make_current( HDC hdc, HGLRC hglrc );
HGLRC hglrcDst,
UINT mask )
{
- return stw_wgl_copy_context( hglrcSrc, hglrcDst, mask );
+ return stw_copy_context( hglrcSrc, hglrcDst, mask );
}
WINGDIAPI HGLRC APIENTRY
wglCreateContext(
HDC hdc )
{
- return (HGLRC) stw_wgl_create_context( hdc, 0 );
+ return (HGLRC) stw_create_context( hdc, 0 );
}
WINGDIAPI HGLRC APIENTRY
HDC hdc,
int iLayerPlane )
{
- return (HGLRC) stw_wgl_create_context( hdc, iLayerPlane );
+ return (HGLRC) stw_create_context( hdc, iLayerPlane );
}
WINGDIAPI BOOL APIENTRY
wglDeleteContext(
HGLRC hglrc )
{
- return stw_wgl_delete_context( hglrc );
+ return stw_delete_context( hglrc );
}
WINGDIAPI HGLRC APIENTRY
wglGetCurrentContext( VOID )
{
- return stw_wgl_get_current_context();
+ return stw_get_current_context();
}
WINGDIAPI HDC APIENTRY
wglGetCurrentDC( VOID )
{
- return stw_wgl_get_current_dc();
+ return stw_get_current_dc();
}
WINGDIAPI BOOL APIENTRY
HDC hdc,
HGLRC hglrc )
{
- return stw_wgl_make_current( hdc, hglrc );
+ return stw_make_current( hdc, hglrc );
}