Lines Matching defs:cso_context

47 #include "cso_cache/cso_context.h"
50 #include "cso_context.h"
79 struct cso_context {
123 static boolean delete_blend_state(struct cso_context *ctx, void *state)
136 static boolean delete_depth_stencil_state(struct cso_context *ctx, void *state)
151 static boolean delete_sampler_state(struct cso_context *ctx, void *state)
160 static boolean delete_rasterizer_state(struct cso_context *ctx, void *state)
172 static boolean delete_vertex_elements(struct cso_context *ctx,
187 static INLINE boolean delete_cso(struct cso_context *ctx,
212 struct cso_context *ctx = (struct cso_context *)user_data;
233 static void cso_init_vbuf(struct cso_context *cso)
253 struct cso_context *cso_create_context( struct pipe_context *pipe )
255 struct cso_context *ctx = CALLOC_STRUCT(cso_context);
293 void cso_release_all( struct cso_context *ctx )
349 void cso_destroy_context( struct cso_context *ctx )
369 enum pipe_error cso_set_blend(struct cso_context *ctx,
413 void cso_save_blend(struct cso_context *ctx)
419 void cso_restore_blend(struct cso_context *ctx)
431 cso_set_depth_stencil_alpha(struct cso_context *ctx,
476 void cso_save_depth_stencil_alpha(struct cso_context *ctx)
482 void cso_restore_depth_stencil_alpha(struct cso_context *ctx)
494 enum pipe_error cso_set_rasterizer(struct cso_context *ctx,
535 void cso_save_rasterizer(struct cso_context *ctx)
541 void cso_restore_rasterizer(struct cso_context *ctx)
552 enum pipe_error cso_set_fragment_shader_handle(struct cso_context *ctx,
562 void cso_delete_fragment_shader(struct cso_context *ctx, void *handle )
572 void cso_save_fragment_shader(struct cso_context *ctx)
578 void cso_restore_fragment_shader(struct cso_context *ctx)
588 enum pipe_error cso_set_vertex_shader_handle(struct cso_context *ctx,
598 void cso_delete_vertex_shader(struct cso_context *ctx, void *handle )
608 void cso_save_vertex_shader(struct cso_context *ctx)
614 void cso_restore_vertex_shader(struct cso_context *ctx)
624 enum pipe_error cso_set_framebuffer(struct cso_context *ctx,
634 void cso_save_framebuffer(struct cso_context *ctx)
639 void cso_restore_framebuffer(struct cso_context *ctx)
649 enum pipe_error cso_set_viewport(struct cso_context *ctx,
659 void cso_save_viewport(struct cso_context *ctx)
665 void cso_restore_viewport(struct cso_context *ctx)
674 enum pipe_error cso_set_blend_color(struct cso_context *ctx,
684 enum pipe_error cso_set_sample_mask(struct cso_context *ctx,
694 void cso_save_sample_mask(struct cso_context *ctx)
699 void cso_restore_sample_mask(struct cso_context *ctx)
704 enum pipe_error cso_set_stencil_ref(struct cso_context *ctx,
714 void cso_save_stencil_ref(struct cso_context *ctx)
720 void cso_restore_stencil_ref(struct cso_context *ctx)
729 enum pipe_error cso_set_geometry_shader_handle(struct cso_context *ctx,
741 void cso_delete_geometry_shader(struct cso_context *ctx, void *handle)
751 void cso_save_geometry_shader(struct cso_context *ctx)
761 void cso_restore_geometry_shader(struct cso_context *ctx)
791 cso_set_clip(struct cso_context *ctx,
801 cso_save_clip(struct cso_context *ctx)
807 cso_restore_clip(struct cso_context *ctx)
816 cso_set_vertex_elements(struct cso_context *ctx,
875 void cso_save_vertex_elements(struct cso_context *ctx)
888 void cso_restore_vertex_elements(struct cso_context *ctx)
906 void cso_set_vertex_buffers(struct cso_context *ctx,
926 void cso_save_vertex_buffers(struct cso_context *ctx)
941 void cso_restore_vertex_buffers(struct cso_context *ctx)
969 single_sampler(struct cso_context *ctx,
1014 cso_single_sampler(struct cso_context *ctx,
1025 single_sampler_done(struct cso_context *ctx, unsigned shader_stage)
1071 cso_single_sampler_done(struct cso_context *ctx, unsigned shader_stage)
1083 cso_set_samplers(struct cso_context *ctx,
1113 cso_save_samplers(struct cso_context *ctx, unsigned shader_stage)
1122 cso_restore_samplers(struct cso_context *ctx, unsigned shader_stage)
1132 cso_set_sampler_views(struct cso_context *ctx,
1169 cso_save_sampler_views(struct cso_context *ctx, unsigned shader_stage)
1184 cso_restore_sampler_views(struct cso_context *ctx, unsigned shader_stage)
1220 cso_set_stream_outputs(struct cso_context *ctx,
1253 cso_save_stream_outputs(struct cso_context *ctx)
1270 cso_restore_stream_outputs(struct cso_context *ctx)
1305 cso_set_index_buffer(struct cso_context *cso,
1319 cso_draw_vbo(struct cso_context *cso,
1333 cso_draw_arrays(struct cso_context *cso, uint mode, uint start, uint count)