summaryrefslogtreecommitdiff
path: root/i965_render.h
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-05-10 12:52:05 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-05-10 14:17:20 +0800
commita384c9b28be0e596acb29dd4ec1bb9810d77387c (patch)
tree77e563497aa614e9dfcf071fe200a55c2927f115 /i965_render.h
parent28b83a7b9c985c32d89289b925f3bc96080d381a (diff)
i965_drv_video: store kernel info in the corresponding context
Diffstat (limited to 'i965_render.h')
-rw-r--r--i965_render.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/i965_render.h b/i965_render.h
index dc7bcc2..fd4be8f 100644
--- a/i965_render.h
+++ b/i965_render.h
@@ -31,8 +31,12 @@
#define MAX_SAMPLERS 16
#define MAX_RENDER_SURFACES (MAX_SAMPLERS + 1)
+#define NUM_RENDER_KERNEL 3
+
#include "i965_post_processing.h"
+struct i965_kernel;
+
struct i965_render_state
{
struct {
@@ -71,7 +75,8 @@ struct i965_render_state
struct intel_region *draw_region;
int pp_flag; /* 0: disable, 1: enable */
- struct i965_post_processing_context pp_context;
+
+ struct i965_kernel render_kernels[3];
};
Bool i965_render_init(VADriverContextP ctx);