summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/g3dvl/vl_csc.h
blob: 36417a27929c25e45b2ac6541a07b582dde7759d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef vl_csc_h
#define vl_csc_h

#include "vl_types.h"

struct pipe_surface;

struct vlCSC
{
	int (*vlResizeFrameBuffer)
	(
		struct vlCSC *csc,
		unsigned int width,
		unsigned int height
	);

	int (*vlBegin)
	(
		struct vlCSC *csc
	);

	int (*vlPutPicture)
	(
		struct vlCSC *csc,
		struct vlSurface *surface,
		int srcx,
		int srcy,
		int srcw,
		int srch,
		int destx,
		int desty,
		int destw,
		int desth,
		enum vlPictureType picture_type
	);

	int (*vlEnd)
	(
		struct vlCSC *csc
	);

	struct pipe_surface* (*vlGetFrameBuffer)
	(
		struct vlCSC *csc
	);

	int (*vlDestroy)
	(
		struct vlCSC *csc
	);
};

#endif