#define VA_SRC_COLOR_MASK 0x000000f0
-#include "i965_post_processing.h"
struct i965_kernel;
-struct i965_render_state
-{
+struct i965_render_state {
struct {
dri_bo *vertex_buffer;
} vb;
struct {
dri_bo *state;
} vs;
-
+
struct {
dri_bo *state;
} sf;
dri_bo *bo;
} curbe;
- unsigned short interleaved_uv;
- unsigned short inited;
struct intel_region *draw_region;
int pp_flag; /* 0: disable, 1: enable */
struct i965_kernel render_kernels[3];
-
- int max_wm_threads;
struct {
dri_bo *bo;
unsigned int blend_state_offset;
int blend_state_size;
-
+
unsigned int sf_clip_offset;
int sf_clip_size;
const VARectangle *dst_rect,
unsigned int flags);
void (*render_put_subpicture)(VADriverContextP ctx, struct object_surface *,
- const VARectangle *src_rec,
- const VARectangle *dst_rect);
-
+ const VARectangle *src_rec,
+ const VARectangle *dst_rect);
+ void (*render_terminate)(VADriverContextP ctx);
};
bool i965_render_init(VADriverContextP ctx);
extern bool gen8_render_init(VADriverContextP ctx);
-extern void gen8_render_terminate(VADriverContextP ctx);
+extern bool gen9_render_init(VADriverContextP ctx);
#endif /* _I965_RENDER_H_ */