/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_vbuf.c | 96 static void vbuf_flush_vertices( struct vbuf_stage *vbuf ); 97 static void vbuf_alloc_vertices( struct vbuf_stage *vbuf ); 109 check_space( struct vbuf_stage *vbuf, unsigned nr ) argument 111 if (vbuf->nr_vertices + nr > vbuf->max_vertices || 112 vbuf->nr_indices + nr > vbuf->max_indices) 114 vbuf_flush_vertices( vbuf ); 115 vbuf_alloc_vertices( vbuf ); 130 emit_vertex( struct vbuf_stage *vbuf, argument 157 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 172 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 187 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 203 vbuf_start_prim( struct vbuf_stage *vbuf, uint prim ) argument 279 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 292 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 305 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 390 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 407 struct vbuf_stage *vbuf = vbuf_stage( stage ); local 428 struct vbuf_stage *vbuf = CALLOC_STRUCT(vbuf_stage); local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_draw_quad.c | 44 struct pipe_resource *vbuf, 56 vbuffer.buffer = vbuf; 104 struct pipe_resource *vbuf = NULL; local 142 vbuf = pipe_buffer_create(pipe->screen, PIPE_BIND_VERTEX_BUFFER, 144 if (!vbuf) 146 pipe_buffer_write(pipe, vbuf, 0, vertexBytes, v); 148 util_draw_vertex_buffer(pipe, cso, vbuf, 0, PIPE_PRIM_TRIANGLE_FAN, 4, 2); 151 if (vbuf) 152 pipe_resource_reference(&vbuf, NULL); 42 util_draw_vertex_buffer(struct pipe_context *pipe, struct cso_context *cso, struct pipe_resource *vbuf, uint offset, uint prim_type, uint num_verts, uint num_attribs) argument
|
H A D | u_draw_quad.h | 47 struct pipe_resource *vbuf, uint offset,
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.h | 56 struct pipe_resource *vbuf; member in struct:program
|
H A D | pp_program.c | 82 p->vbuf = pipe_buffer_create(pscreen, PIPE_BIND_VERTEX_BUFFER, 84 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(verts), verts);
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | fs-fragcoord.c | 54 struct pipe_vertex_buffer vbuf; local 68 vbuf.stride = sizeof(struct vertex); 69 vbuf.buffer_offset = 0; 70 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 76 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | fs-frontface.c | 76 struct pipe_vertex_buffer vbuf; local 90 vbuf.stride = sizeof(struct vertex); 91 vbuf.buffer_offset = 0; 92 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 98 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | fs-write-z.c | 80 struct pipe_vertex_buffer vbuf; local 94 vbuf.stride = sizeof(struct vertex); 95 vbuf.buffer_offset = 0; 96 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 102 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | tri-instanced.c | 108 struct pipe_vertex_buffer vbuf[2]; local 135 vbuf[0].stride = sizeof( struct vertex ); 136 vbuf[0].buffer_offset = 0; 137 vbuf[0].buffer = pipe_buffer_create_with_data(ctx, 144 vbuf[1].stride = sizeof( inst_data[0] ); 145 vbuf[1].buffer_offset = 0; 146 vbuf[1].buffer = pipe_buffer_create_with_data(ctx, 152 ctx->set_vertex_buffers(ctx, 2, vbuf);
|
H A D | occlusion-query.c | 81 struct pipe_vertex_buffer vbuf; local 95 vbuf.stride = sizeof(struct vertex); 96 vbuf.buffer_offset = 0; 97 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 103 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | quad-tex.c | 43 struct pipe_vertex_buffer vbuf; local 57 vbuf.stride = sizeof( struct vertex ); 58 vbuf.buffer_offset = 0; 59 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 65 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | tex-srgb.c | 59 struct pipe_vertex_buffer vbuf; local 73 vbuf.stride = sizeof(struct vertex); 74 vbuf.buffer_offset = 0; 75 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 81 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | tex-swizzle.c | 41 struct pipe_vertex_buffer vbuf; local 55 vbuf.stride = sizeof(struct vertex); 56 vbuf.buffer_offset = 0; 57 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 63 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | tri.c | 42 struct pipe_vertex_buffer vbuf; local 56 vbuf.stride = sizeof( struct vertex ); 57 vbuf.buffer_offset = 0; 58 vbuf.buffer = pipe_buffer_create_with_data(info.ctx, 64 info.ctx->set_vertex_buffers(info.ctx, 1, &vbuf);
|
H A D | shader-leak.c | 77 struct pipe_vertex_buffer vbuf; local 91 vbuf.stride = sizeof(struct vertex); 92 vbuf.buffer_offset = 0; 93 vbuf.buffer = pipe_buffer_create_with_data(ctx, 99 ctx->set_vertex_buffers(ctx, 1, &vbuf);
|
H A D | tri-gs.c | 78 struct pipe_vertex_buffer vbuf; local 92 vbuf.stride = sizeof( struct vertex ); 93 vbuf.buffer_offset = 0; 94 vbuf.buffer = pipe_buffer_create_with_data(ctx, 100 ctx->set_vertex_buffers(ctx, 1, &vbuf);
|
H A D | quad-sample.c | 87 struct pipe_vertex_buffer vbuf; local 101 vbuf.stride = sizeof( struct vertex ); 102 vbuf.buffer_offset = 0; 103 vbuf.buffer = pipe_buffer_create_with_data(ctx, 109 ctx->set_vertex_buffers(ctx, 1, &vbuf);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_video_buffer.h | 82 vl_video_buffer_set_associated_data(struct pipe_video_buffer *vbuf, 91 vl_video_buffer_get_associated_data(struct pipe_video_buffer *vbuf,
|
H A D | vl_video_buffer.c | 188 vl_video_buffer_set_associated_data(struct pipe_video_buffer *vbuf, argument 193 vbuf->decoder = vdec; 195 if (vbuf->associated_data == associated_data) 198 if (vbuf->associated_data) 199 vbuf->destroy_associated_data(vbuf->associated_data); 201 vbuf->associated_data = associated_data; 202 vbuf->destroy_associated_data = destroy_associated_data; 206 vl_video_buffer_get_associated_data(struct pipe_video_buffer *vbuf, argument 209 if (vbuf [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_swtnl_backend.c | 82 pipe_resource_reference(&svga_render->vbuf, NULL); 86 if (!svga_render->vbuf) { 88 svga_render->vbuf = pipe_buffer_create(screen, 92 if(!svga_render->vbuf) { 94 assert(!svga_render->vbuf); 95 svga_render->vbuf = pipe_buffer_create(screen, 100 * The draw module's vbuf code should handle that without crashing. 124 if (svga_render->vbuf) { 126 svga_render->vbuf, 180 /* if the vdecl or vbuf has [all...] |
H A D | svga_swtnl_private.h | 48 struct pipe_resource *vbuf; member in struct:svga_vbuf_render
|
/external/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_context.c | 82 struct u_vbuf *vbuf; member in struct:cso_context 249 cso->vbuf = u_vbuf_create(cso->pipe, &caps); 352 if (ctx->vbuf) 353 u_vbuf_destroy(ctx->vbuf); 820 struct u_vbuf *vbuf = ctx->vbuf; local 826 if (vbuf) { 827 u_vbuf_set_vertex_elements(vbuf, count, states); 877 struct u_vbuf *vbuf = ctx->vbuf; local 890 struct u_vbuf *vbuf = ctx->vbuf; local 910 struct u_vbuf *vbuf = ctx->vbuf; local 928 struct u_vbuf *vbuf = ctx->vbuf; local 944 struct u_vbuf *vbuf = ctx->vbuf; local 1308 struct u_vbuf *vbuf = cso->vbuf; local 1322 struct u_vbuf *vbuf = cso->vbuf; local [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
H A D | tri.c | 80 struct pipe_resource *vbuf; member in struct:program 124 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, 126 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); 233 pipe_resource_reference(&p->vbuf, NULL); 265 p->vbuf, 0,
|
H A D | quad-tex.c | 83 struct pipe_resource *vbuf; member in struct:program 133 p->vbuf = pipe_buffer_create(p->screen, PIPE_BIND_VERTEX_BUFFER, 135 pipe_buffer_write(p->pipe, p->vbuf, 0, sizeof(vertices), vertices); 297 pipe_resource_reference(&p->vbuf, NULL); 336 p->vbuf, 0,
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawtex.c | 144 vbuf[k + 0] = X; \ 145 vbuf[k + 1] = Y; \ 146 vbuf[k + 2] = Z; \ 147 vbuf[k + 3] = W; \ 151 GLfloat *vbuf = NULL; local 156 &offset, &vbuffer, (void **) &vbuf) != PIPE_OK) {
|