diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-03-17 10:11:22 +0800 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-12 15:32:20 +0900 |
commit | 192f06adca5e79b4824d92dc41186592ed57f71e (patch) | |
tree | 59e9281daaac3058ce18e6414d4ffc9695102d71 /src/gallium/state_trackers/wgl/stw_context.h | |
parent | bddb6c7a383682d0f8f4fadd8cf57472a8c3c8a8 (diff) |
st/wgl: Switch from st_public.h to st_api.h. [V2]
This is only compile tested with crossmingw.
V2:
- reference count stw_framebuffer
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_context.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_context.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_context.h b/src/gallium/state_trackers/wgl/stw_context.h index 256c27e21e..0bbed84104 100644 --- a/src/gallium/state_trackers/wgl/stw_context.h +++ b/src/gallium/state_trackers/wgl/stw_context.h @@ -30,14 +30,17 @@ #include <windows.h> -struct st_context; +struct stw_framebuffer; +struct st_context_iface; struct stw_context { - struct st_context *st; + struct st_context_iface *st; DHGLRC dhglrc; int iPixelFormat; HDC hdc; + + struct stw_framebuffer *current_framebuffer; }; DHGLRC stw_get_current_context( void ); @@ -46,4 +49,7 @@ HDC stw_get_current_dc( void ); BOOL stw_make_current( HDC hdc, DHGLRC dhglrc ); +void stw_flush_current_locked( struct stw_framebuffer *fb ); +void stw_notify_current_locked( struct stw_framebuffer *fb ); + #endif /* STW_CONTEXT_H */ |