diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-04-10 10:30:14 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-04-10 13:26:35 +0100 |
commit | 87b04ce59b3ed26988b54ca182fab2e9dce03c38 (patch) | |
tree | b35934f2fea09275872629d4289853d83b6d32bb /src/gallium/state_trackers/wgl/shared/stw_device.h | |
parent | 3f2420e2e07b7ae0d2feec81178f998a1e46d631 (diff) |
wgl: Move pixel format information into device structure.
Diffstat (limited to 'src/gallium/state_trackers/wgl/shared/stw_device.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_device.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/shared/stw_device.h b/src/gallium/state_trackers/wgl/shared/stw_device.h index 0ce0d54cac..66f0047232 100644 --- a/src/gallium/state_trackers/wgl/shared/stw_device.h +++ b/src/gallium/state_trackers/wgl/shared/stw_device.h @@ -29,9 +29,15 @@ #define STW_DEVICE_H_ +#include <windows.h> + #include "pipe/p_compiler.h" #include "pipe/p_thread.h" #include "util/u_handle_table.h" +#include "stw_pixelformat.h" + + +#define STW_MAX_PIXELFORMATS 16 struct pipe_screen; @@ -46,7 +52,11 @@ struct stw_device #ifdef DEBUG boolean trace_running; #endif - + + struct stw_pixelformat_info pixelformats[STW_MAX_PIXELFORMATS]; + unsigned pixelformat_count; + unsigned pixelformat_extended_count; + pipe_mutex mutex; struct handle_table *ctx_table; |