Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / gallium / winsys / sw / wrapper / wrapper_sw_winsys.h
index b5c25a3c50fbbf3b9dbe181c370036b6de69c6b9..ae0196c432cdeaedbb6fb85682845c10e4889936 100644 (file)
 struct sw_winsys;
 struct pipe_screen;
 
-struct sw_winsys *wrapper_sw_winsys_warp_pipe_screen(struct pipe_screen *screen);
+/*
+ * Wrap a pipe screen.
+ */
+struct sw_winsys *wrapper_sw_winsys_wrap_pipe_screen(struct pipe_screen *screen);
+
+/*
+ * Destroy the sw_winsys and return the wrapped pipe_screen.
+ * Not destroying it as sw_winsys::destroy does.
+ */
+struct pipe_screen *wrapper_sw_winsys_dewrap_pipe_screen(struct sw_winsys *sw_winsys);
 
 #endif