summaryrefslogtreecommitdiff
path: root/renderops.h
blob: 0dbcf8be63578608b244957af1295b9718f90a55 (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
#ifndef RENDEROPS_H
#define RENDEROPS_H

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

struct RenderOp
{
    const char *name;
    int op;
    int baseOp;
};

struct TestScenario
{
    char         *name;
    XRenderSurf  *src;
    XRenderSurf  *dst;
    XRenderSurf  *mask;
};

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

#endif