aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_public.h
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2016-11-11 11:57:49 -0600
committerTim Rowley <[email protected]>2016-11-21 12:44:46 -0600
commitbc26e8d4a7c0ebfb84723ddc5ccd2834f434dc70 (patch)
tree5a03f64c4445a2442190cd98145d31b63205947e /src/gallium/drivers/swr/swr_public.h
parent87bd28210f2b314978989fdcecedc596d17ac856 (diff)
swr: Windows-related changes
- Handle dynamic library loading for windows - Implement swap for gdi - fix prototypes - update include paths on configure-based build for swr_loader.cpp v2: split to multiple patches v3: split and reshuffle some more; renamed title v4: move Makefile.am changes to other commit. Modify header files Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_public.h')
-rw-r--r--src/gallium/drivers/swr/swr_public.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/swr/swr_public.h b/src/gallium/drivers/swr/swr_public.h
index 7ef81bf8430..4b150705cd7 100644
--- a/src/gallium/drivers/swr/swr_public.h
+++ b/src/gallium/drivers/swr/swr_public.h
@@ -38,10 +38,11 @@ struct pipe_screen *swr_create_screen(struct sw_winsys *winsys);
// arch-specific dll entry point
PUBLIC struct pipe_screen *swr_create_screen_internal(struct sw_winsys *winsys);
-struct sw_winsys *swr_get_winsys(struct pipe_screen *pipe);
-
-struct sw_displaytarget *swr_get_displaytarget(struct pipe_resource *resource);
-
+#ifdef _WIN32
+void swr_gdi_swap(struct pipe_screen *screen,
+ struct pipe_resource *res,
+ void *hDC);
+#endif /* _WIN32 */
#ifdef __cplusplus
}