Lines Matching refs:pipe
58 softpipe_destroy( struct pipe_context *pipe ) in softpipe_destroy() argument
60 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_destroy()
65 pipe->delete_sampler_state(pipe, softpipe->pstipple.sampler); in softpipe_destroy()
90 if (softpipe->pipe.stream_uploader) in softpipe_destroy()
91 u_upload_destroy(softpipe->pipe.stream_uploader); in softpipe_destroy()
141 softpipe_is_resource_referenced( struct pipe_context *pipe, in softpipe_is_resource_referenced() argument
145 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_is_resource_referenced()
181 softpipe_render_condition(struct pipe_context *pipe, in softpipe_render_condition() argument
186 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_render_condition()
221 softpipe->pipe.screen = screen; in softpipe_create_context()
222 softpipe->pipe.destroy = softpipe_destroy; in softpipe_create_context()
223 softpipe->pipe.priv = priv; in softpipe_create_context()
226 softpipe_init_blend_funcs(&softpipe->pipe); in softpipe_create_context()
227 softpipe_init_clip_funcs(&softpipe->pipe); in softpipe_create_context()
229 softpipe_init_rasterizer_funcs(&softpipe->pipe); in softpipe_create_context()
230 softpipe_init_sampler_funcs(&softpipe->pipe); in softpipe_create_context()
231 softpipe_init_shader_funcs(&softpipe->pipe); in softpipe_create_context()
232 softpipe_init_streamout_funcs(&softpipe->pipe); in softpipe_create_context()
233 softpipe_init_texture_funcs( &softpipe->pipe ); in softpipe_create_context()
234 softpipe_init_vertex_funcs(&softpipe->pipe); in softpipe_create_context()
235 softpipe_init_image_funcs(&softpipe->pipe); in softpipe_create_context()
237 softpipe->pipe.set_framebuffer_state = softpipe_set_framebuffer_state; in softpipe_create_context()
239 softpipe->pipe.draw_vbo = softpipe_draw_vbo; in softpipe_create_context()
241 softpipe->pipe.launch_grid = softpipe_launch_grid; in softpipe_create_context()
243 softpipe->pipe.clear = softpipe_clear; in softpipe_create_context()
244 softpipe->pipe.flush = softpipe_flush_wrapped; in softpipe_create_context()
245 softpipe->pipe.texture_barrier = softpipe_texture_barrier; in softpipe_create_context()
246 softpipe->pipe.memory_barrier = softpipe_memory_barrier; in softpipe_create_context()
247 softpipe->pipe.render_condition = softpipe_render_condition; in softpipe_create_context()
254 softpipe->cbuf_cache[i] = sp_create_tile_cache( &softpipe->pipe ); in softpipe_create_context()
255 softpipe->zsbuf_cache = sp_create_tile_cache( &softpipe->pipe ); in softpipe_create_context()
260 softpipe->tex_cache[sh][i] = sp_create_tex_tile_cache(&softpipe->pipe); in softpipe_create_context()
274 softpipe->pipe.stream_uploader = u_upload_create_default(&softpipe->pipe); in softpipe_create_context()
275 if (!softpipe->pipe.stream_uploader) in softpipe_create_context()
277 softpipe->pipe.const_uploader = softpipe->pipe.stream_uploader; in softpipe_create_context()
283 softpipe->draw = draw_create(&softpipe->pipe); in softpipe_create_context()
285 softpipe->draw = draw_create_no_llvm(&softpipe->pipe); in softpipe_create_context()
333 softpipe->blitter = util_blitter_create(&softpipe->pipe); in softpipe_create_context()
342 draw_install_aaline_stage(softpipe->draw, &softpipe->pipe); in softpipe_create_context()
343 draw_install_aapoint_stage(softpipe->draw, &softpipe->pipe); in softpipe_create_context()
347 draw_install_pstipple_stage(softpipe->draw, &softpipe->pipe); in softpipe_create_context()
356 softpipe->pstipple.sampler = util_pstipple_create_sampler(&softpipe->pipe); in softpipe_create_context()
359 return &softpipe->pipe; in softpipe_create_context()
362 softpipe_destroy(&softpipe->pipe); in softpipe_create_context()