summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl/vl_winsys.h
blob: 4f7a2433612f06b3650aa46b817045866b63f460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef vl_winsys_h
#define vl_winsys_h

#include <X11/Xlib.h>
#include <pipe/p_defines.h>
#include <pipe/p_format.h>

struct pipe_screen;
struct pipe_video_context;

struct pipe_screen*
vl_screen_create(Display *display, int screen);

struct pipe_video_context*
vl_video_create(struct pipe_screen *screen,
                enum pipe_video_profile profile,
                enum pipe_video_chroma_format chroma_format,
                unsigned width, unsigned height);

Drawable
vl_video_bind_drawable(struct pipe_video_context *vpipe, Drawable drawable);

#endif