/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_gs.c | 202 output = (float (*)[4])((char *)output + shader->vertex_size); 399 unsigned input_stride = input_verts->vertex_size; 400 unsigned vertex_size = input_verts->vertex_size; local 412 output_verts->vertex_size = input_verts->vertex_size; 413 output_verts->stride = input_verts->vertex_size; 415 (struct vertex_header *)MALLOC(input_verts->vertex_size * 433 shader->vertex_size = vertex_size; [all...] |
draw_pt_fetch_shade_pipeline_llvm.c | 51 unsigned vertex_size; member in struct:llvm_middle_end 91 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); 229 llvm_vert_info.vertex_size = fpme->vertex_size; 230 llvm_vert_info.stride = fpme->vertex_size; 232 (struct vertex_header *)MALLOC(fpme->vertex_size * 245 fpme->vertex_size, 254 fpme->vertex_size,
|
draw_pipe_vbuf.c | 60 unsigned vertex_size; member in struct:vbuf_stage 145 vbuf->vertex_ptr += vbuf->vertex_size/4; 218 vbuf->vertex_size = vbuf->vinfo->size * sizeof(float); 366 vbuf->max_vertices = vbuf->render->max_vertex_buffer_bytes / vbuf->vertex_size; 377 (ushort) vbuf->vertex_size,
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vertex.c | 55 if (vtx->vertex_size != fp->vertex_size) 86 fastpath->vertex_size = vtx->vertex_size; 267 return vtx->vertex_buf + nr * vtx->vertex_size; 354 vtx->vertex_size = unpacked_size; 356 vtx->vertex_size = offset; 358 assert(vtx->vertex_size <= vtx->max_vertex_size); 359 return vtx->vertex_size; 437 start * vtx->vertex_size)); [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vertex.c | 55 if (vtx->vertex_size != fp->vertex_size) 86 fastpath->vertex_size = vtx->vertex_size; 267 return vtx->vertex_buf + nr * vtx->vertex_size; 354 vtx->vertex_size = unpacked_size; 356 vtx->vertex_size = offset; 358 assert(vtx->vertex_size <= vtx->max_vertex_size); 359 return vtx->vertex_size; 437 start * vtx->vertex_size)); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
intel_render.c | 132 ret /= (intel->vertex_size * 4); 146 return ret / (intel->vertex_size * 4); 178 int vertsz = intel->vertex_size;
|
intel_tris.c | 165 return intel_extend_inline(intel, count * intel->vertex_size); 171 count * intel->vertex_size * 4) > INTEL_VB_SIZE || 190 intel->prim.current_offset += intel->vertex_size * 4 * count; 245 intel->vertex_size * 4); 257 if (intel->vertex_size != i915->current_vertex_size) { 271 if (intel->vertex_size != i915->current_vertex_size) { 272 OUT_BATCH((intel->vertex_size << S1_VERTEX_WIDTH_SHIFT) | 273 (intel->vertex_size << S1_VERTEX_PITCH_SHIFT)); 274 i915->current_vertex_size = intel->vertex_size; 281 OUT_BATCH(offset / (intel->vertex_size * 4)) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_render.c | 132 ret /= (intel->vertex_size * 4); 146 return ret / (intel->vertex_size * 4); 178 int vertsz = intel->vertex_size;
|
intel_tris.c | 165 return intel_extend_inline(intel, count * intel->vertex_size); 171 count * intel->vertex_size * 4) > INTEL_VB_SIZE || 190 intel->prim.current_offset += intel->vertex_size * 4 * count; 245 intel->vertex_size * 4); 257 if (intel->vertex_size != i915->current_vertex_size) { 271 if (intel->vertex_size != i915->current_vertex_size) { 272 OUT_BATCH((intel->vertex_size << S1_VERTEX_WIDTH_SHIFT) | 273 (intel->vertex_size << S1_VERTEX_PITCH_SHIFT)); 274 i915->current_vertex_size = intel->vertex_size; 281 OUT_BATCH(offset / (intel->vertex_size * 4)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pt_fetch_shade_pipeline_llvm.c | 51 unsigned vertex_size; member in struct:llvm_middle_end 91 fpme->vertex_size = sizeof(struct vertex_header) + nr * 4 * sizeof(float); 229 llvm_vert_info.vertex_size = fpme->vertex_size; 230 llvm_vert_info.stride = fpme->vertex_size; 232 (struct vertex_header *)MALLOC(fpme->vertex_size * 245 fpme->vertex_size, 254 fpme->vertex_size,
|
draw_pipe_vbuf.c | 60 unsigned vertex_size; member in struct:vbuf_stage 145 vbuf->vertex_ptr += vbuf->vertex_size/4; 218 vbuf->vertex_size = vbuf->vinfo->size * sizeof(float); 366 vbuf->max_vertices = vbuf->render->max_vertex_buffer_bytes / vbuf->vertex_size; 377 (ushort) vbuf->vertex_size,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_stateobj.h | 60 unsigned vertex_size; member in struct:nv50_vertex_stateobj
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_stateobj.h | 60 unsigned vertex_size; member in struct:nv50_vertex_stateobj
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_draw.c | 54 exec->vtx.vertex_size); 79 GLuint sz = exec->vtx.vertex_size; 83 exec->vtx.vertex_size); 241 arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); 242 arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); 433 if (keepUnmapped || exec->vtx.vertex_size == 0) 437 (exec->vtx.vertex_size * sizeof(GLfloat)));
|
vbo_split_copy.c | 86 GLuint vertex_size; member in struct:copy_context 289 copy->dstptr += copy->vertex_size; 293 copy->dstbuf_nr * copy->vertex_size)); 439 copy->vertex_size = 0; 452 copy->vertex_size += attr_size(copy->array[i]); 501 if (copy->vertex_size * copy->limits->max_verts <= copy->limits->max_vb_size) { 505 copy->dstbuf_size = copy->limits->max_vb_size / copy->vertex_size; 512 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); 524 dst->Stride = copy->vertex_size; 525 dst->StrideB = copy->vertex_size; [all...] |
vbo_save_draw.c | 69 (node->count-1) * node->vertex_size * sizeof(GLfloat)); 74 node->vertex_size * sizeof(GLfloat), 204 arrays[attr].StrideB = node->vertex_size * sizeof(GLfloat); 205 arrays[attr].Stride = node->vertex_size * sizeof(GLfloat); 245 list->vertex_size);
|
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_draw.c | 54 exec->vtx.vertex_size); 79 GLuint sz = exec->vtx.vertex_size; 83 exec->vtx.vertex_size); 241 arrays[attr].StrideB = exec->vtx.vertex_size * sizeof(GLfloat); 242 arrays[attr].Stride = exec->vtx.vertex_size * sizeof(GLfloat); 433 if (keepUnmapped || exec->vtx.vertex_size == 0) 437 (exec->vtx.vertex_size * sizeof(GLfloat)));
|
vbo_split_copy.c | 86 GLuint vertex_size; member in struct:copy_context 289 copy->dstptr += copy->vertex_size; 293 copy->dstbuf_nr * copy->vertex_size)); 439 copy->vertex_size = 0; 452 copy->vertex_size += attr_size(copy->array[i]); 501 if (copy->vertex_size * copy->limits->max_verts <= copy->limits->max_vb_size) { 505 copy->dstbuf_size = copy->limits->max_vb_size / copy->vertex_size; 512 copy->dstbuf = malloc(copy->dstbuf_size * copy->vertex_size); 524 dst->Stride = copy->vertex_size; 525 dst->StrideB = copy->vertex_size; [all...] |
vbo_save_draw.c | 69 (node->count-1) * node->vertex_size * sizeof(GLfloat)); 74 node->vertex_size * sizeof(GLfloat), 204 arrays[attr].StrideB = node->vertex_size * sizeof(GLfloat); 205 arrays[attr].Stride = node->vertex_size * sizeof(GLfloat); 245 list->vertex_size);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_prim_vbuf.c | 66 size_t vertex_size; member in struct:i915_vbuf_render 225 ushort vertex_size, 229 size_t size = (size_t)vertex_size * (size_t)nr_vertices; 240 offset = util_align_npot(offset, vertex_size); 242 i915_render->vbo_index = offset / vertex_size; 253 i915_render->vertex_size = vertex_size; 288 i915_render->vbo_max_used = MAX2(i915_render->vbo_max_used, i915_render->vertex_size * (max_index + 1)); 292 i915_render->map_used_start = i915_render->vertex_size * min_index; 293 i915_render->map_used_end = i915_render->vertex_size * (max_index + 1) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_vbuf.c | 66 size_t vertex_size; member in struct:i915_vbuf_render 225 ushort vertex_size, 229 size_t size = (size_t)vertex_size * (size_t)nr_vertices; 240 offset = util_align_npot(offset, vertex_size); 242 i915_render->vbo_index = offset / vertex_size; 253 i915_render->vertex_size = vertex_size; 288 i915_render->vbo_max_used = MAX2(i915_render->vbo_max_used, i915_render->vertex_size * (max_index + 1)); 292 i915_render->map_used_start = i915_render->vertex_size * min_index; 293 i915_render->map_used_end = i915_render->vertex_size * (max_index + 1) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_render.c | 344 unsigned vertex_size = r300->velems->vertex_size_dwords; local 347 unsigned dwords = 4 + info->count * vertex_size; 386 OUT_CS_REG(R300_VAP_VTX_SIZE, vertex_size); 387 OUT_CS_PKT3(R300_PACKET3_3D_DRAW_IMMD_2, info->count * vertex_size); 887 size_t vertex_size; member in struct:r300_render 914 ushort vertex_size, 920 size_t size = (size_t)vertex_size * (size_t)count; 935 r300render->vertex_size = vertex_size; 1185 unsigned vertex_size = local [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_render.c | 344 unsigned vertex_size = r300->velems->vertex_size_dwords; local 347 unsigned dwords = 4 + info->count * vertex_size; 386 OUT_CS_REG(R300_VAP_VTX_SIZE, vertex_size); 387 OUT_CS_PKT3(R300_PACKET3_3D_DRAW_IMMD_2, info->count * vertex_size); 887 size_t vertex_size; member in struct:r300_render 914 ushort vertex_size, 920 size_t size = (size_t)vertex_size * (size_t)count; 935 r300render->vertex_size = vertex_size; 1185 unsigned vertex_size = local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 85 unsigned vertex_size; member in struct:mesh 93 const void* vertices, unsigned vertex_size, unsigned num_vertices, 95 : topology(topology), vertex_size(vertex_size), draw_count(index_size ? num_indices : num_vertices) 104 this->vertex_size = vertex_size; 105 index_offset = vertex_size * num_vertices; 116 memcpy(data, vertices, vertex_size * num_vertices); 139 ctx->IASetVertexBuffers(0, 1, &buffer, &vertex_size, &offset);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11u.h | 85 unsigned vertex_size; member in struct:mesh 93 const void* vertices, unsigned vertex_size, unsigned num_vertices, 95 : topology(topology), vertex_size(vertex_size), draw_count(index_size ? num_indices : num_vertices) 104 this->vertex_size = vertex_size; 105 index_offset = vertex_size * num_vertices; 116 memcpy(data, vertices, vertex_size * num_vertices); 139 ctx->IASetVertexBuffers(0, 1, &buffer, &vertex_size, &offset);
|