i915g: Implement stipple with draw.

This commit is contained in:
Stéphane Marchesin
2012-02-07 14:42:30 -08:00
parent 175adf0776
commit 3cff45fdb1
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -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 */
+4 -1
View File
@@ -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);
}