projects
/
platform
/
upstream
/
libdrm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ipptest: add fimc and rotator test applications
[platform/upstream/libdrm.git]
/
tests
/
rottest
/
rottest.h
1
#ifndef __ROTTEST_H__
2
#define __ROTTEST_H__
3
4
#include "xf86drm.h"
5
#include "xf86drmMode.h"
6
7
#define MAX_LOOP 5
8
#define MAX_BUF 3
9
10
struct connector {
11
uint32_t id;
12
char mode_str[64];
13
drmModeModeInfo *mode;
14
drmModeEncoder *encoder;
15
int crtc;
16
unsigned int fb_id[2], current_fb_id;
17
struct timeval start;
18
19
int swap_count;
20
};
21
22
extern int fd;
23
24
extern void connector_find_mode(struct connector *c);
25
26
#endif