4 #include "xorg_tracker.h"
6 #include <pipe/p_state.h>
11 /* src + mask + dst */
12 #define MAX_EXA_SAMPLERS 3
17 struct pipe_context
*pipe
;
18 struct pipe_screen
*scrn
;
19 struct xorg_renderer
*renderer
;
21 struct pipe_texture
*bound_textures
[MAX_EXA_SAMPLERS
];
22 int num_bound_samplers
;
25 boolean has_solid_color
;
28 struct exa_pixmap_priv
*src
;
29 struct exa_pixmap_priv
*dst
;
33 struct exa_pixmap_priv
38 struct pipe_texture
*tex
;
39 struct pipe_texture
*depth_stencil_tex
;
41 struct pipe_transfer
*map_transfer
;
45 #define XORG_FALLBACK(s, arg...) \
47 if (ms->debug_fallback) { \
48 xf86DrvMsg(pScrn->scrnIndex, X_INFO, \
49 "%s fallback " s "\n", __FUNCTION__, ##arg); \
55 xorg_gpu_surface(struct pipe_screen
*scrn
, struct exa_pixmap_priv
*priv
);
57 void xorg_exa_flush(struct exa_context
*exa
, uint pipeFlushFlags
,
58 struct pipe_fence_handle
**fence
);
59 void xorg_exa_finish(struct exa_context
*exa
);