Lines Matching refs:cso

78    struct cso_context *cso;  member
257 cso_set_vertex_shader_handle(r->cso, r->cached_vs[id]); in renderer_set_vs()
331 cso_set_fragment_shader_handle(r->cso, r->cached_fs[id]); in renderer_set_fs()
355 cso_set_viewport(r->cso, &viewport); in vg_set_viewport()
376 cso_set_framebuffer(r->cso, &fb); in renderer_set_target()
407 cso_set_blend(r->cso, &blend); in renderer_set_blend()
438 cso_single_sampler(r->cso, PIPE_SHADER_FRAGMENT, i, &sampler); in renderer_set_samplers()
439 cso_single_sampler_done(r->cso, PIPE_SHADER_FRAGMENT); in renderer_set_samplers()
442 cso_set_sampler_views(r->cso, PIPE_SHADER_FRAGMENT, num_views, views); in renderer_set_samplers()
460 cso_set_fragment_shader_handle(renderer->cso, fs); in renderer_set_custom_fs()
464 cso_set_samplers(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, samplers); in renderer_set_custom_fs()
465 cso_set_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT, num_samplers, views); in renderer_set_custom_fs()
569 util_draw_user_vertex_buffer(r->cso, r->vertices, PIPE_PRIM_TRIANGLE_FAN, in renderer_quad_draw()
591 cso_save_framebuffer(renderer->cso); in renderer_copy_begin()
592 cso_save_viewport(renderer->cso); in renderer_copy_begin()
593 cso_save_blend(renderer->cso); in renderer_copy_begin()
594 cso_save_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_copy_begin()
595 cso_save_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_copy_begin()
596 cso_save_fragment_shader(renderer->cso); in renderer_copy_begin()
597 cso_save_vertex_shader(renderer->cso); in renderer_copy_begin()
645 cso_restore_framebuffer(renderer->cso); in renderer_copy_end()
646 cso_restore_viewport(renderer->cso); in renderer_copy_end()
647 cso_restore_blend(renderer->cso); in renderer_copy_end()
648 cso_restore_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_copy_end()
649 cso_restore_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_copy_end()
650 cso_restore_fragment_shader(renderer->cso); in renderer_copy_end()
651 cso_restore_vertex_shader(renderer->cso); in renderer_copy_end()
667 cso_save_blend(renderer->cso); in renderer_drawtex_begin()
668 cso_save_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_drawtex_begin()
669 cso_save_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_drawtex_begin()
670 cso_save_fragment_shader(renderer->cso); in renderer_drawtex_begin()
671 cso_save_vertex_shader(renderer->cso); in renderer_drawtex_begin()
718 cso_restore_blend(renderer->cso); in renderer_drawtex_end()
719 cso_restore_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_drawtex_end()
720 cso_restore_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_drawtex_end()
721 cso_restore_fragment_shader(renderer->cso); in renderer_drawtex_end()
722 cso_restore_vertex_shader(renderer->cso); in renderer_drawtex_end()
739 cso_save_depth_stencil_alpha(renderer->cso); in renderer_scissor_begin()
740 cso_save_blend(renderer->cso); in renderer_scissor_begin()
741 cso_save_fragment_shader(renderer->cso); in renderer_scissor_begin()
748 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_scissor_begin()
787 cso_restore_depth_stencil_alpha(renderer->cso); in renderer_scissor_end()
788 cso_restore_blend(renderer->cso); in renderer_scissor_end()
789 cso_restore_fragment_shader(renderer->cso); in renderer_scissor_end()
801 cso_save_blend(renderer->cso); in renderer_clear_begin()
802 cso_save_fragment_shader(renderer->cso); in renderer_clear_begin()
803 cso_save_vertex_shader(renderer->cso); in renderer_clear_begin()
843 cso_restore_blend(renderer->cso); in renderer_clear_end()
844 cso_restore_fragment_shader(renderer->cso); in renderer_clear_end()
845 cso_restore_vertex_shader(renderer->cso); in renderer_clear_end()
879 cso_save_framebuffer(renderer->cso); in renderer_filter_begin()
880 cso_save_viewport(renderer->cso); in renderer_filter_begin()
881 cso_save_blend(renderer->cso); in renderer_filter_begin()
892 cso_save_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_filter_begin()
893 cso_save_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_filter_begin()
894 cso_save_fragment_shader(renderer->cso); in renderer_filter_begin()
895 cso_save_vertex_shader(renderer->cso); in renderer_filter_begin()
908 cso_save_fragment_shader(renderer->cso); in renderer_filter_begin()
953 cso_restore_samplers(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_filter_end()
954 cso_restore_sampler_views(renderer->cso, PIPE_SHADER_FRAGMENT); in renderer_filter_end()
955 cso_restore_vertex_shader(renderer->cso); in renderer_filter_end()
958 cso_restore_framebuffer(renderer->cso); in renderer_filter_end()
959 cso_restore_viewport(renderer->cso); in renderer_filter_end()
960 cso_restore_blend(renderer->cso); in renderer_filter_end()
961 cso_restore_fragment_shader(renderer->cso); in renderer_filter_end()
979 cso_save_vertex_elements(renderer->cso); in renderer_polygon_stencil_begin()
980 cso_save_blend(renderer->cso); in renderer_polygon_stencil_begin()
981 cso_save_depth_stencil_alpha(renderer->cso); in renderer_polygon_stencil_begin()
983 cso_set_vertex_elements(renderer->cso, 1, velem); in renderer_polygon_stencil_begin()
1022 cso_set_depth_stencil_alpha(renderer->cso, dsa); in renderer_polygon_stencil_begin()
1025 cso_save_rasterizer(renderer->cso); in renderer_polygon_stencil_begin()
1043 cso_set_vertex_buffers(renderer->cso, 1, vbuf); in renderer_polygon_stencil()
1046 cso_draw_arrays(renderer->cso, mode, start, count); in renderer_polygon_stencil()
1059 cso_set_rasterizer(renderer->cso, &raster); in renderer_polygon_stencil()
1060 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_stencil()
1061 cso_draw_arrays(renderer->cso, mode, start, count); in renderer_polygon_stencil()
1067 cso_set_rasterizer(renderer->cso, &raster); in renderer_polygon_stencil()
1068 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_stencil()
1069 cso_draw_arrays(renderer->cso, mode, start, count); in renderer_polygon_stencil()
1081 cso_restore_rasterizer(renderer->cso); in renderer_polygon_stencil_end()
1083 cso_restore_vertex_elements(renderer->cso); in renderer_polygon_stencil_end()
1086 cso_restore_blend(renderer->cso); in renderer_polygon_stencil_end()
1089 cso_restore_depth_stencil_alpha(renderer->cso); in renderer_polygon_stencil_end()
1105 cso_save_depth_stencil_alpha(renderer->cso); in renderer_polygon_fill_begin()
1117 cso_set_depth_stencil_alpha(renderer->cso, &dsa); in renderer_polygon_fill_begin()
1144 cso_restore_depth_stencil_alpha(renderer->cso); in renderer_polygon_fill_end()
1161 renderer->cso = owner->cso_context; in renderer_create()
1173 cso_set_vertex_elements(renderer->cso, 2, renderer->velems); in renderer_create()
1180 cso_set_rasterizer(renderer->cso, raster); in renderer_create()
1184 cso_set_stencil_ref(renderer->cso, &sr); in renderer_create()
1199 cso_delete_vertex_shader(ctx->cso, ctx->cached_vs[i]); in renderer_destroy()
1203 cso_delete_fragment_shader(ctx->cso, ctx->cached_fs[i]); in renderer_destroy()
1320 cso_set_blend(renderer->cso, &blend); in renderer_validate_blend()
1348 cso_set_framebuffer(renderer->cso, fb); in renderer_validate()
1365 cso_set_depth_stencil_alpha(renderer->cso, &renderer->g3d.dsa); in renderer_validate()
1530 cso_save_vertex_shader(r->cso); in renderer_texture_quad()
1557 cso_restore_vertex_shader(r->cso); in renderer_texture_quad()