diff options
author | Stéphane Marchesin <[email protected]> | 2012-02-07 14:42:30 -0800 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-02-12 16:32:14 -0800 |
commit | 3cff45fdb182a1327f6b89fdc4e0ddc5d680372a (patch) | |
tree | 71eeea96956cefa51e69c50ee0d3c302c8276f70 | |
parent | 175adf0776d8df066a908b06055f243bd1325a34 (diff) |
i915g: Implement stipple with draw.
-rw-r--r-- | src/gallium/drivers/i915/i915_context.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/i915/i915_state.c | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index 5ad5bff2352..394e1f38d7a 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -186,6 +186,7 @@ i915_create_context(struct pipe_screen *screen, void *priv) draw_install_aaline_stage(i915->draw, &i915->base); draw_install_aapoint_stage(i915->draw, &i915->base); + draw_install_pstipple_stage(i915->draw, &i915->base); draw_enable_point_sprites(i915->draw, TRUE); /* augmented draw pipeline clobbers state functions */ diff --git a/src/gallium/drivers/i915/i915_state.c b/src/gallium/drivers/i915/i915_state.c index d0063e3901a..764547e3e06 100644 --- a/src/gallium/drivers/i915/i915_state.c +++ b/src/gallium/drivers/i915/i915_state.c @@ -553,8 +553,11 @@ static void i915_set_scissor_state( struct pipe_context *pipe, static void i915_set_polygon_stipple( struct pipe_context *pipe, - const struct pipe_poly_stipple *stipple ) + const struct pipe_poly_stipple *stipple ) { + struct i915_context *i915 = i915_context(pipe); + + draw_flush(i915->draw); } |