diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-18 23:25:59 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-23 18:52:15 +0100 |
commit | 4a3476ea094e84887fefb558e0bba023fee34151 (patch) | |
tree | b570e80f1a575283005781e700a81ee142b79663 /src/i830.h | |
parent | e5c971e7639095d38da3518a5dc404b708d45cfb (diff) |
i915: amalgamate composite into a single primitive list
Combine all the calls to composite between prepare_composite and
done_composite into a single primitive list, rather than a primitive
call per composite().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -295,6 +295,7 @@ typedef struct intel_screen_private { CloseScreenProcPtr CloseScreen; + void (*vertex_flush) (struct intel_screen_private *intel); void (*batch_flush_notify) (ScrnInfoPtr scrn); uxa_driver_t *uxa_driver; @@ -357,6 +358,9 @@ typedef struct intel_screen_private { uint32_t dst_format; } i915_render_state; + uint32_t prim_offset; + uint32_t prim_count; + /* 965 render acceleration state */ struct gen4_render_state *gen4_render_state; @@ -474,6 +478,7 @@ Bool i915_prepare_composite(int op, PicturePtr sourcec, PicturePtr mask, PixmapPtr maskPixmap, PixmapPtr destPixmap); void i915_composite(PixmapPtr dest, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int w, int h); +void i915_vertex_flush(intel_screen_private *intel); void i915_batch_flush_notify(ScrnInfoPtr scrn); void i830_batch_flush_notify(ScrnInfoPtr scrn); /* i965_render.c */ |