diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-01-28 16:11:46 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-01-28 16:11:46 +0000 |
commit | 67b6e5b907096ce9eee32c36c164acd38574cf14 (patch) | |
tree | 3820b57003653a806b988eac932d36ba8238fe32 /src/gallium/state_trackers/wgl/shared/stw_device.h | |
parent | 507498af1077390c684ca24e6ce6e0ee6ddcc479 (diff) |
wgl: split device structs, move swapbuffers to shared
Each of icd, shared and wgl now have the opportunity to maintain their
own per-device structs, which should reduce the need for these
modules to be looking into each others structures.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_device.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_device.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.h b/src/gallium/state_trackers/wgl/shared/stw_device.h index 2babc654da..bc0bce37c6 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_device.h +++ b/src/gallium/state_trackers/wgl/shared/stw_device.h @@ -29,28 +29,12 @@ #define ST_DEVICE_H_ -#include "icd/stw_icd.h" - struct pipe_screen; - -struct drv_context -{ - HGLRC hglrc; -}; - -#define DRV_CONTEXT_MAX 32 - - struct stw_device { const struct stw_winsys *stw_winsys; - struct pipe_screen *screen; - - struct drv_context ctx_array[DRV_CONTEXT_MAX]; - - DHGLRC ctx_current; }; |