1/*
2 * Copyright 2006-2012, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Alexander von Gluck IV, kallisti5@unixzen.com
7 */
8#ifndef SOFTWAREWINSYS_H
9#define SOFTWAREWINSYS_H
10
11
12extern "C" {
13#include "pipe/p_defines.h"
14#include "state_tracker/st_api.h"
15#include "state_tracker/sw_winsys.h"
16}
17
18
19struct haiku_displaytarget
20{
21	enum pipe_format format;
22	unsigned width;
23	unsigned height;
24	unsigned stride;
25
26	unsigned size;
27
28	void* data;
29};
30
31
32struct sw_winsys* winsys_connect_hooks();
33
34
35#endif