Lines Matching defs:pipe
31 #include "pipe/p_context.h"
32 #include "pipe/p_defines.h"
33 #include "pipe/p_shader_tokens.h"
34 #include "pipe/p_state.h"
35 #include "pipe/p_screen.h"
127 pipe_surface_release(struct pipe_context *pipe, struct pipe_surface **ptr)
134 pipe->surface_destroy(pipe, old);
377 pipe_buffer_map_range(struct pipe_context *pipe,
393 map = pipe->buffer_map(pipe, buffer, 0, access, &box, transfer);
408 pipe_buffer_map(struct pipe_context *pipe,
413 return pipe_buffer_map_range(pipe, buffer, 0, buffer->width0,
419 pipe_buffer_unmap(struct pipe_context *pipe,
422 pipe->buffer_unmap(pipe, transfer);
426 pipe_buffer_flush_mapped_range(struct pipe_context *pipe,
446 pipe->transfer_flush_region(pipe, transfer, &box);
450 pipe_buffer_write(struct pipe_context *pipe,
457 pipe->buffer_subdata(pipe, buf, PIPE_MAP_WRITE, offset, size, data);
467 pipe_buffer_write_nooverlap(struct pipe_context *pipe,
472 pipe->buffer_subdata(pipe, buf,
482 pipe_buffer_copy(struct pipe_context *pipe,
493 pipe->resource_copy_region(pipe, dst, 0, dst_offset, 0, 0, src, 0, &box);
502 pipe_buffer_create_with_data(struct pipe_context *pipe,
508 struct pipe_resource *res = pipe_buffer_create(pipe->screen,
510 pipe_buffer_write_nooverlap(pipe, res, 0, size, ptr);
515 pipe_buffer_read(struct pipe_context *pipe,
524 map = (ubyte *) pipe_buffer_map_range(pipe,
533 pipe_buffer_unmap(pipe, src_transfer);
584 pipe_set_constant_buffer(struct pipe_context *pipe,
594 pipe->set_constant_buffer(pipe, shader, index, false, &cb);
596 pipe->set_constant_buffer(pipe, shader, index, false, NULL);