diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-28 11:40:54 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-28 11:40:54 +0000 |
commit | 19d06f4e1692070afc7b3cab0ea1d78044820b0a (patch) | |
tree | 3521511119d22e13dbcafe9f4afc12559c256686 /src/gallium/state_trackers/wgl | |
parent | 0e471ac45771393ea74178eb98f41b904168cf64 (diff) |
wgl: split into shared, (fake)wgl and icd directories
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/SConscript | 27 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/icd/stw_icd.c (renamed from src/gallium/state_trackers/wgl/stw_icd.c) | 6 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/icd/stw_icd.h (renamed from src/gallium/state_trackers/wgl/stw_icd.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_device.c (renamed from src/gallium/state_trackers/wgl/stw_device.c) | 6 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_device.h (renamed from src/gallium/state_trackers/wgl/stw_device.h) | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_framebuffer.c (renamed from src/gallium/state_trackers/wgl/stw_framebuffer.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_framebuffer.h (renamed from src/gallium/state_trackers/wgl/stw_framebuffer.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_pixelformat.c (renamed from src/gallium/state_trackers/wgl/stw_pixelformat.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_pixelformat.h (renamed from src/gallium/state_trackers/wgl/stw_pixelformat.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_quirks.c (renamed from src/gallium/state_trackers/wgl/stw_quirks.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/shared/stw_winsys.h (renamed from src/gallium/state_trackers/wgl/stw_winsys.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl.c (renamed from src/gallium/state_trackers/wgl/stw_wgl.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl.h (renamed from src/gallium/state_trackers/wgl/stw_wgl.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.h (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.h (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.c) | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.h (renamed from src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_context.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_context.c) | 8 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_context.h (renamed from src/gallium/state_trackers/wgl/stw_wgl_context.h) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_getprocaddress.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_getprocaddress.c) | 0 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_pixelformat.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_pixelformat.c) | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/wgl/wgl/stw_wgl_swapbuffers.c (renamed from src/gallium/state_trackers/wgl/stw_wgl_swapbuffers.c) | 6 |
24 files changed, 30 insertions, 29 deletions
diff --git a/src/gallium/state_trackers/wgl/SConscript b/src/gallium/state_trackers/wgl/SConscript index bb579930f5..9516dc5a3c 100644 --- a/src/gallium/state_trackers/wgl/SConscript +++ b/src/gallium/state_trackers/wgl/SConscript @@ -8,6 +8,7 @@ if env['platform'] in ['windows']: env.Append(CPPPATH = [ '#src/mesa', + '.', ]) env.Append(CPPDEFINES = [ @@ -18,19 +19,19 @@ if env['platform'] in ['windows']: ]) sources = [ - 'stw_device.c', - 'stw_framebuffer.c', - 'stw_icd.c', - 'stw_pixelformat.c', - 'stw_quirks.c', - 'stw_wgl_arbextensionsstring.c', - 'stw_wgl_arbmultisample.c', - 'stw_wgl_arbpixelformat.c', - #'stw_wgl.c', - 'stw_wgl_context.c', - 'stw_wgl_getprocaddress.c', - 'stw_wgl_pixelformat.c', - 'stw_wgl_swapbuffers.c', + 'icd/stw_icd.c', + 'shared/stw_device.c', + 'shared/stw_framebuffer.c', + 'shared/stw_pixelformat.c', + 'shared/stw_quirks.c', + 'wgl/stw_wgl_arbextensionsstring.c', + 'wgl/stw_wgl_arbmultisample.c', + 'wgl/stw_wgl_arbpixelformat.c', + #'wgl/stw_wgl.c', + 'wgl/stw_wgl_context.c', + 'wgl/stw_wgl_getprocaddress.c', + 'wgl/stw_wgl_pixelformat.c', + 'wgl/stw_wgl_swapbuffers.c', ] wgl = env.ConvenienceLibrary( diff --git a/src/gallium/state_trackers/wgl/stw_icd.c b/src/gallium/state_trackers/wgl/icd/stw_icd.c index 1dddc24209..bf057eb83b 100644 --- a/src/gallium/state_trackers/wgl/stw_icd.c +++ b/src/gallium/state_trackers/wgl/icd/stw_icd.c @@ -32,9 +32,9 @@ #include "pipe/p_debug.h" -#include "stw_device.h" -#include "stw_icd.h" -#include "stw_wgl.h" +#include "shared/stw_device.h" +#include "icd/stw_icd.h" +#include "wgl/stw_wgl.h" static HGLRC diff --git a/src/gallium/state_trackers/wgl/stw_icd.h b/src/gallium/state_trackers/wgl/icd/stw_icd.h index 8e676fb5b7..8e676fb5b7 100644 --- a/src/gallium/state_trackers/wgl/stw_icd.h +++ b/src/gallium/state_trackers/wgl/icd/stw_icd.h diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/shared/stw_device.c index 129b24ce77..63ee066824 100644 --- a/src/gallium/state_trackers/wgl/stw_device.c +++ b/src/gallium/state_trackers/wgl/shared/stw_device.c @@ -31,9 +31,9 @@ #include "pipe/p_winsys.h" #include "pipe/p_screen.h" -#include "stw_device.h" -#include "stw_winsys.h" -#include "stw_pixelformat.h" +#include "shared/stw_device.h" +#include "shared/stw_winsys.h" +#include "shared/stw_pixelformat.h" struct stw_device *stw_dev = NULL; diff --git a/src/gallium/state_trackers/wgl/stw_device.h b/src/gallium/state_trackers/wgl/shared/stw_device.h index e2020bf055..2babc654da 100644 --- a/src/gallium/state_trackers/wgl/stw_device.h +++ b/src/gallium/state_trackers/wgl/shared/stw_device.h @@ -29,7 +29,7 @@ #define ST_DEVICE_H_ -#include "stw_icd.h" +#include "icd/stw_icd.h" struct pipe_screen; diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.c b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c index 1ecafa451e..1ecafa451e 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.c +++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.c diff --git a/src/gallium/state_trackers/wgl/stw_framebuffer.h b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h index 2e16e421f2..2e16e421f2 100644 --- a/src/gallium/state_trackers/wgl/stw_framebuffer.h +++ b/src/gallium/state_trackers/wgl/shared/stw_framebuffer.h diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.c b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c index 7a054af3d3..7a054af3d3 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.c +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.c diff --git a/src/gallium/state_trackers/wgl/stw_pixelformat.h b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h index 0b67da8d25..0b67da8d25 100644 --- a/src/gallium/state_trackers/wgl/stw_pixelformat.h +++ b/src/gallium/state_trackers/wgl/shared/stw_pixelformat.h diff --git a/src/gallium/state_trackers/wgl/stw_quirks.c b/src/gallium/state_trackers/wgl/shared/stw_quirks.c index bf1ec3fee7..bf1ec3fee7 100644 --- a/src/gallium/state_trackers/wgl/stw_quirks.c +++ b/src/gallium/state_trackers/wgl/shared/stw_quirks.c diff --git a/src/gallium/state_trackers/wgl/stw_winsys.h b/src/gallium/state_trackers/wgl/shared/stw_winsys.h index 8557327ccd..8557327ccd 100644 --- a/src/gallium/state_trackers/wgl/stw_winsys.h +++ b/src/gallium/state_trackers/wgl/shared/stw_winsys.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl.c index 0528c369fc..0528c369fc 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl.c diff --git a/src/gallium/state_trackers/wgl/stw_wgl.h b/src/gallium/state_trackers/wgl/wgl/stw_wgl.h index b86cc240f2..b86cc240f2 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl.h +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.c index 04865796ec..04865796ec 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.c diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.h b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.h index a0e4c5d98e..a0e4c5d98e 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbextensionsstring.h +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbextensionsstring.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.c index aad04e3e8a..aad04e3e8a 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.c diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.h b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.h index de3e2cc6a3..de3e2cc6a3 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbmultisample.h +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbmultisample.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.c index 344bb15d3c..a1e6fc2ca4 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.c @@ -29,7 +29,7 @@ #include "pipe/p_compiler.h" #include "util/u_memory.h" -#include "stw_pixelformat.h" +#include "shared/stw_pixelformat.h" #include "stw_wgl_arbmultisample.h" #include "stw_wgl_arbpixelformat.h" diff --git a/src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.h b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.h index 5e480b822b..5e480b822b 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_arbpixelformat.h +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_arbpixelformat.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl_context.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_context.c index 890d97fd72..da4688bcb1 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_context.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_context.c @@ -33,10 +33,10 @@ #include "pipe/p_context.h" #include "state_tracker/st_context.h" #include "state_tracker/st_public.h" -#include "stw_device.h" -#include "stw_winsys.h" -#include "stw_framebuffer.h" -#include "stw_pixelformat.h" +#include "shared/stw_device.h" +#include "shared/stw_winsys.h" +#include "shared/stw_framebuffer.h" +#include "shared/stw_pixelformat.h" #include "stw_wgl_arbmultisample.h" #include "stw_wgl_context.h" #include "stw_wgl.h" diff --git a/src/gallium/state_trackers/wgl/stw_wgl_context.h b/src/gallium/state_trackers/wgl/wgl/stw_wgl_context.h index d87b3bdce2..d87b3bdce2 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_context.h +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_context.h diff --git a/src/gallium/state_trackers/wgl/stw_wgl_getprocaddress.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_getprocaddress.c index ec92d2dfce..ec92d2dfce 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_getprocaddress.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_getprocaddress.c diff --git a/src/gallium/state_trackers/wgl/stw_wgl_pixelformat.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_pixelformat.c index 7a8a2e22e4..4646f57a19 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_pixelformat.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_pixelformat.c @@ -29,7 +29,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_debug.h" -#include "stw_pixelformat.h" +#include "shared/stw_pixelformat.h" #include "stw_wgl.h" static uint currentpixelformat = 0; diff --git a/src/gallium/state_trackers/wgl/stw_wgl_swapbuffers.c b/src/gallium/state_trackers/wgl/wgl/stw_wgl_swapbuffers.c index 002bcc64e7..c0af8bc4f6 100644 --- a/src/gallium/state_trackers/wgl/stw_wgl_swapbuffers.c +++ b/src/gallium/state_trackers/wgl/wgl/stw_wgl_swapbuffers.c @@ -32,9 +32,9 @@ #include "pipe/p_context.h" #include "state_tracker/st_context.h" #include "state_tracker/st_public.h" -#include "stw_winsys.h" -#include "stw_device.h" -#include "stw_framebuffer.h" +#include "shared/stw_winsys.h" +#include "shared/stw_device.h" +#include "shared/stw_framebuffer.h" #include "stw_wgl.h" WINGDIAPI BOOL APIENTRY |