Lines Matching refs:lp
55 struct llvmpipe_context *lp = llvmpipe_context(pipe);
56 struct draw_context *draw = lp->draw;
60 if (!llvmpipe_check_render_cond(lp))
63 if (lp->dirty)
64 llvmpipe_update_derived( lp );
69 for (i = 0; i < lp->num_vertex_buffers; i++) {
70 const void *buf = lp->vertex_buffer[i].user_buffer;
72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer);
78 mapped_indices = lp->index_buffer.user_buffer;
80 mapped_indices = llvmpipe_resource_data(lp->index_buffer.buffer);
83 (ubyte *) mapped_indices + lp->index_buffer.offset,
84 lp->index_buffer.index_size);
87 llvmpipe_prepare_vertex_sampling(lp,
88 lp->num_sampler_views[PIPE_SHADER_VERTEX],
89 lp->sampler_views[PIPE_SHADER_VERTEX]);
97 for (i = 0; i < lp->num_vertex_buffers; i++) {
103 llvmpipe_cleanup_vertex_sampling(lp);