summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/wgl/shared
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:45:01 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2009-01-28 13:45:01 +0000
commit507498af1077390c684ca24e6ce6e0ee6ddcc479 (patch)
tree0863f3c4c1008c6079ed8df9f443f35bf54b3125 /src/gallium/state_trackers/wgl/shared
parentc3d744f5bbdc24792183a9ee162ebc6cb5f8d1f6 (diff)
stw: rename stw_wgl_ --> stw_
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared')
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_context.c12
-rw-r--r--src/gallium/state_trackers/wgl/shared/stw_context.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.c b/src/gallium/state_trackers/wgl/shared/stw_context.c
index 75cfcda35d..b2cb612416 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_context.c
+++ b/src/gallium/state_trackers/wgl/shared/stw_context.c
@@ -47,7 +47,7 @@ static HDC current_hdc = NULL;
static HGLRC current_hrc = NULL;
BOOL
-stw_wgl_copy_context(
+stw_copy_context(
HGLRC hglrcSrc,
HGLRC hglrcDst,
UINT mask )
@@ -60,7 +60,7 @@ stw_wgl_copy_context(
}
HGLRC
-stw_wgl_create_context(
+stw_create_context(
HDC hdc,
int iLayerPlane )
{
@@ -136,7 +136,7 @@ stw_wgl_create_context(
BOOL
-stw_wgl_delete_context(
+stw_delete_context(
HGLRC hglrc )
{
struct wgl_context **link = &ctx_head;
@@ -193,19 +193,19 @@ get_window_size( HDC hdc, GLuint *width, GLuint *height )
}
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 )
{
diff --git a/src/gallium/state_trackers/wgl/shared/stw_context.h b/src/gallium/state_trackers/wgl/shared/stw_context.h
index b418e4e02a..91e71cf087 100644
--- a/src/gallium/state_trackers/wgl/shared/stw_context.h
+++ b/src/gallium/state_trackers/wgl/shared/stw_context.h
@@ -46,19 +46,19 @@ wgl_context_from_hdc(HDC hdc );
//////////////////
-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 );