summaryrefslogtreecommitdiff
path: root/testscenarios.h
blob: 98d96c76544faa9c147a706ca78530904add26b8 (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
#ifndef RENDEROPS_H
#define RENDEROPS_H

#include "surface.h"
#include <X11/extensions/Xrender.h>

typedef enum _TestType {
    PlainTest          = 1 << 0,
    AlphaTest          = 1 << 1,
    MaskTest           = 1 << 2,
    TransformationTest = 1 << 3,
    FilterTest         = 1 << 4,
    ConvolutionTest    = 1 << 5,
    AllTests
} TestType;


typedef struct _TestScenario
{
    int           types;
    char         *name;
    XRenderSurf  *src;
    XRenderSurf  *dst;
    XRenderSurf  *mask;
} TestScenario;

TestScenario *create_test_scenarios(Display *disp, Window win, int w, int h, int *number);

#endif