160
179
void softpipe_bind_gs_state(struct pipe_context *, void *);
161
180
void softpipe_delete_gs_state(struct pipe_context *, void *);
182
void *softpipe_create_vertex_elements_state(struct pipe_context *,
184
const struct pipe_vertex_element *);
185
void softpipe_bind_vertex_elements_state(struct pipe_context *, void *);
186
void softpipe_delete_vertex_elements_state(struct pipe_context *, void *);
163
188
void softpipe_set_polygon_stipple( struct pipe_context *,
164
const struct pipe_poly_stipple * );
189
const struct pipe_poly_stipple * );
166
191
void softpipe_set_scissor_state( struct pipe_context *,
167
192
const struct pipe_scissor_state * );
169
void softpipe_set_sampler_textures( struct pipe_context *,
194
void softpipe_set_sampler_views( struct pipe_context *,
196
struct pipe_sampler_view ** );
199
softpipe_set_vertex_sampler_views(struct pipe_context *,
201
struct pipe_sampler_view **);
204
softpipe_set_geometry_sampler_views(struct pipe_context *,
171
struct pipe_texture ** );
206
struct pipe_sampler_view **);
208
struct pipe_sampler_view *
209
softpipe_create_sampler_view(struct pipe_context *pipe,
210
struct pipe_resource *texture,
211
const struct pipe_sampler_view *templ);
174
softpipe_set_vertex_sampler_textures(struct pipe_context *,
175
unsigned num_textures,
176
struct pipe_texture **);
214
softpipe_sampler_view_destroy(struct pipe_context *pipe,
215
struct pipe_sampler_view *view);
178
217
void softpipe_set_viewport_state( struct pipe_context *,
179
218
const struct pipe_viewport_state * );
181
void softpipe_set_vertex_elements(struct pipe_context *,
183
const struct pipe_vertex_element *);
185
220
void softpipe_set_vertex_buffers(struct pipe_context *,
187
222
const struct pipe_vertex_buffer *);
224
void softpipe_set_index_buffer(struct pipe_context *,
225
const struct pipe_index_buffer *);
190
228
void softpipe_update_derived( struct softpipe_context *softpipe );
193
void softpipe_draw_arrays(struct pipe_context *pipe, unsigned mode,
194
unsigned start, unsigned count);
196
void softpipe_draw_elements(struct pipe_context *pipe,
197
struct pipe_buffer *indexBuffer,
199
unsigned mode, unsigned start, unsigned count);
201
softpipe_draw_range_elements(struct pipe_context *pipe,
202
struct pipe_buffer *indexBuffer,
206
unsigned mode, unsigned start, unsigned count);
209
softpipe_draw_arrays_instanced(struct pipe_context *pipe,
213
unsigned startInstance,
214
unsigned instanceCount);
217
softpipe_draw_elements_instanced(struct pipe_context *pipe,
218
struct pipe_buffer *indexBuffer,
223
unsigned startInstance,
224
unsigned instanceCount);
232
softpipe_draw_vbo(struct pipe_context *pipe,
233
const struct pipe_draw_info *info);
235
void softpipe_draw_stream_output(struct pipe_context *pipe, unsigned mode);
227
238
softpipe_map_transfers(struct softpipe_context *sp);
242
253
struct vertex_info *
243
254
softpipe_get_vbuf_vertex_info(struct softpipe_context *softpipe);
257
softpipe_create_stream_output_state(
258
struct pipe_context *pipe,
259
const struct pipe_stream_output_state *templ);
261
softpipe_bind_stream_output_state(struct pipe_context *pipe,
264
softpipe_delete_stream_output_state(struct pipe_context *pipe, void *so);
267
softpipe_set_stream_output_buffers(struct pipe_context *pipe,
268
struct pipe_resource **buffers,