#ifndef VMW_CONTEXT_H_
#define VMW_CONTEXT_H_
+#include <stdio.h>
#include "pipe/p_compiler.h"
struct svga_winsys_screen;
struct pipe_context;
struct pipe_screen;
+
+/** Set to 1 to get extra debug info/output */
#define VMW_DEBUG 0
#if VMW_DEBUG
#endif
+/**
+ * Called when an error/failure is encountered.
+ * We want these messages reported for all build types.
+ */
+#define vmw_error(...) fprintf(stderr, "VMware: " __VA_ARGS__)
+
+
struct svga_winsys_context *
vmw_svga_winsys_context_create(struct svga_winsys_screen *sws);
+struct vmw_svga_winsys_surface;
+
+
+void
+vmw_swc_surface_clear_reference(struct svga_winsys_context *swc,
+ struct vmw_svga_winsys_surface *vsurf);
+
+
#endif /* VMW_CONTEXT_H_ */