summaryrefslogtreecommitdiff
path: root/hw/xfree86/glamor/glamor_ddx.h
blob: 0968f013f609a25c120aab4f3b77f493b99c576f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef GLAMOR_DDX_H
#define GLAMOR_DDX_H

Bool glamor_resize(ScrnInfoPtr scrn, int width, int height);
void glamor_frontbuffer_handle(ScrnInfoPtr scrn,
			       uint32_t *handle, uint32_t *pitch);
Bool glamor_load_cursor(ScrnInfoPtr scrn,
			CARD32 *image, int width, int height);
void glamor_cursor_handle(ScrnInfoPtr scrn,
			  uint32_t *handle, uint32_t *pitch);

Bool drmmode_pre_init(ScrnInfoPtr scrn, int fd, int cpp);
void drmmode_closefb(ScrnInfoPtr scrn);

#endif