Home | History | Annotate | Download | only in llvmpipe

Lines Matching refs:state

40 /* State which might be handled in either the draw module or locally.
41 * This function is used to turn that state off in one of the two
63 /* Partition rasterizer state into what we want the draw module to
66 struct lp_rast_state *state = MALLOC_STRUCT(lp_rast_state);
67 if (!state)
70 memcpy(&state->draw_state, rast, sizeof *rast);
71 memcpy(&state->lp_state, rast, sizeof *rast);
89 * the state.
92 clear_flags(&state->lp_state);
94 clear_flags(&state->draw_state);
96 return state;
105 const struct lp_rast_state *state =
108 if (state) {
109 llvmpipe->rasterizer = &state->lp_state;
110 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle);
115 state->lp_state.cull_face,
116 state->lp_state.front_ccw,
117 state->lp_state.scissor,
118 state->lp_state.half_pixel_center,
119 state->lp_state.bottom_edge_rule);
121 state->lp_state.flatshade_first);
123 state->lp_state.line_width);
125 state->lp_state.point_size,
126 state->lp_state.point_size_per_vertex,
127 state->lp_state.sprite_coord_enable,
128 state->lp_state.sprite_coord_mode);