summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa.h
blob: f0508eb2d5342d242d21548bc549ca537894acf7 (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 XORG_EXA_H
#define XORG_EXA_H

#include "xorg_tracker.h"

struct exa_context
{
    ExaDriverPtr pExa;
    struct pipe_context *ctx;
    struct pipe_screen *scrn;
};


struct exa_pixmap_priv
{
    int flags;
    int tex_flags;

    struct pipe_texture *tex;
    unsigned int color;
    struct pipe_surface *src_surf; /* for copies */

    struct pipe_transfer *map_transfer;
    unsigned map_count;
};



#endif