/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_maos_vbtmp.h | 59 coord = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_POS]->data; in TAG() 60 coord_stride = VB->AttribPtr[_TNL_ATTRIB_POS]->stride; in TAG() 63 if (VB->AttribPtr[_TNL_ATTRIB_TEX2]) { in TAG() 65 tc2 = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->data; in TAG() 66 tc2_stride = VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->stride; in TAG() 67 if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 3) { in TAG() 70 else if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 4) { in TAG() 80 if (VB->AttribPtr[_TNL_ATTRIB_TEX1]) { in TAG() 82 tc1 = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_TEX0 + t1]->data; in TAG() 83 tc1_stride = VB->AttribPtr[_TNL_ATTRIB_TEX0 + t1]->stride; in TAG() [all …]
|
D | radeon_maos_arrays.c | 161 (char *)VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays() 162 VB->AttribPtr[_TNL_ATTRIB_POS]->size, in radeonEmitArrays() 163 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays() 166 switch( VB->AttribPtr[_TNL_ATTRIB_POS]->size ) { in radeonEmitArrays() 181 (char *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data, in radeonEmitArrays() 183 VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride, in radeonEmitArrays() 192 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->size == 4 && in radeonEmitArrays() 193 (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride != 0 || in radeonEmitArrays() 194 VB->AttribPtr[_TNL_ATTRIB_COLOR0]->data[0][3] != 1.0)) { in radeonEmitArrays() 207 (char *)VB->AttribPtr[_TNL_ATTRIB_COLOR0]->data, in radeonEmitArrays() [all …]
|
D | radeon_maos_verts.c | 328 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 4) { in radeonEmitArrays() 350 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { in radeonEmitArrays() 356 else if ((VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) && in radeonEmitArrays() 359 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); in radeonEmitArrays() 393 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size < 3 || in radeonEmitArrays() 394 (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 3 && in radeonEmitArrays() 398 VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays() 399 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays() 401 VB->AttribPtr[_TNL_ATTRIB_POS]->size, in radeonEmitArrays() 405 switch (VB->AttribPtr[_TNL_ATTRIB_POS]->size) { in radeonEmitArrays() [all …]
|
D | radeon_swtcl.c | 100 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in radeonSetVertexFormat() 103 VB->AttribPtr[VERT_ATTRIB_POS] = VB->ClipPtr; in radeonSetVertexFormat() 106 assert( VB->AttribPtr[VERT_ATTRIB_POS] != NULL ); in radeonSetVertexFormat() 181 GLuint sz = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->size; in radeonSetVertexFormat()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_maos_arrays.c | 91 emitsize = (VB->AttribPtr[attrib]->size); in r200EmitArrays() 119 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays() 121 VB->AttribPtr[attrib]->stride, in r200EmitArrays() 126 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays() 127 VB->AttribPtr[attrib]->stride, in r200EmitArrays() 137 if (VB->AttribPtr[attrib]->size == 4 && in r200EmitArrays() 138 (VB->AttribPtr[attrib]->stride != 0 || in r200EmitArrays() 139 VB->AttribPtr[attrib]->data[0][3] != 1.0)) emitsize = 4; in r200EmitArrays() 153 emitsize = VB->AttribPtr[attrib]->size; in r200EmitArrays() 157 emitsize = VB->AttribPtr[attrib]->size >= 2 ? VB->AttribPtr[attrib]->size : 2; in r200EmitArrays() [all …]
|
D | r200_swtcl.c | 90 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in r200SetVertexFormat() 93 VB->AttribPtr[VERT_ATTRIB_POS] = VB->ClipPtr; in r200SetVertexFormat() 96 assert( VB->AttribPtr[VERT_ATTRIB_POS] != NULL ); in r200SetVertexFormat() 168 GLuint sz = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->size; in r200SetVertexFormat()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 336 VB->AttribPtr[0]->data[i][0], in run_vp() 337 VB->AttribPtr[0]->data[i][1], in run_vp() 338 VB->AttribPtr[0]->data[i][2], in run_vp() 339 VB->AttribPtr[0]->data[i][3]); in run_vp() 341 VB->AttribPtr[3]->data[i][0], in run_vp() 342 VB->AttribPtr[3]->data[i][1], in run_vp() 343 VB->AttribPtr[3]->data[i][2], in run_vp() 344 VB->AttribPtr[3]->data[i][3]); in run_vp() 346 VB->AttribPtr[2]->data[i][0], in run_vp() 347 VB->AttribPtr[2]->data[i][1], in run_vp() [all …]
|
D | t_vb_fog.c | 161 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; in run_fog_stage() 179 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] in run_fog_stage() 182 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); in run_fog_stage() 184 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage() 212 input = VB->AttribPtr[_TNL_ATTRIB_FOG]; /* source data */ in run_fog_stage() 217 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage() 219 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; /* dest data */ in run_fog_stage() 224 compute_fog_blend_factors( ctx, VB->AttribPtr[_TNL_ATTRIB_FOG], input ); in run_fog_stage() 228 VB->AttribPtr[_TNL_ATTRIB_FOG] = input; in run_fog_stage()
|
D | t_vb_light.c | 239 VB->AttribPtr[_TNL_ATTRIB_MAT_FRONT_AMBIENT + i] = in prepare_materials() 240 VB->AttribPtr[_TNL_ATTRIB_COLOR0]; in prepare_materials() 250 if (VB->AttribPtr[i]->stride) { in prepare_materials() 253 store->mat[j].ptr = VB->AttribPtr[i]->start; in prepare_materials() 254 store->mat[j].stride = VB->AttribPtr[i]->stride; in prepare_materials() 255 store->mat[j].size = VB->AttribPtr[i]->size; in prepare_materials() 334 GLvector4f *input = ctx->_NeedEyeCoords ? VB->EyePtr : VB->AttribPtr[_TNL_ATTRIB_POS]; in run_lighting() 342 if (input->size <= 2 && input == VB->AttribPtr[_TNL_ATTRIB_POS]) { in run_lighting() 345 VB->AttribPtr[_TNL_ATTRIB_POS]->data, in run_lighting() 346 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in run_lighting() [all …]
|
D | t_vb_lighttmp.h | 58 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() 59 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 74 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG() 75 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; in TAG() 244 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() 245 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 258 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG() 420 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() 421 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 433 const GLuint nr = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count; in TAG() [all …]
|
D | t_vb_normals.c | 68 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ in run_normal_stage() 72 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { in run_normal_stage() 79 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; in run_normal_stage()
|
D | t_vb_texgen.c | 255 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_reflection_map_nv() 260 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_reflection_map_nv() 277 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_normal_map_nv() 279 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen_normal_map_nv() 305 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_sphere_map() 315 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_sphere_map() 339 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen() 343 const GLvector4f *obj = VB->AttribPtr[_TNL_ATTRIB_POS]; in texgen() 345 const GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen() 500 VB->AttribPtr[VERT_ATTRIB_TEX0 + i] = &store->texcoord[i]; in run_texgen_stage()
|
D | t_draw.c | 236 VB->AttribPtr[attr] = &tnl->tmp_inputs[attr]; in _tnl_import_array() 237 VB->AttribPtr[attr]->data = (GLfloat (*)[4])ptr; in _tnl_import_array() 238 VB->AttribPtr[attr]->start = (GLfloat *)ptr; in _tnl_import_array() 239 VB->AttribPtr[attr]->count = count; in _tnl_import_array() 240 VB->AttribPtr[attr]->stride = stride; in _tnl_import_array() 241 VB->AttribPtr[attr]->size = attrib->Format.Size; in _tnl_import_array() 245 VB->AttribPtr[attr]->flags = (((1<<attrib->Format.Size)-1) | in _tnl_import_array() 249 VB->AttribPtr[attr]->storage = NULL; in _tnl_import_array() 332 VB->AttribPtr[_TNL_ATTRIB_EDGEFLAG], in bind_inputs()
|
D | t_pipeline.c | 80 if (tnl->vb.AttribPtr[i]->size != tnl->pipeline.last_attrib_size[i] || in check_input_changes() 81 tnl->vb.AttribPtr[i]->stride != tnl->pipeline.last_attrib_stride[i]) { in check_input_changes() 82 tnl->pipeline.last_attrib_size[i] = tnl->vb.AttribPtr[i]->size; in check_input_changes() 83 tnl->pipeline.last_attrib_stride[i] = tnl->vb.AttribPtr[i]->stride; in check_input_changes()
|
D | t_vb_texmat.c | 72 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]); in run_texmat_stage() 74 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; in run_texmat_stage()
|
D | t_vb_vertex.c | 154 VB->EyePtr = VB->AttribPtr[_TNL_ATTRIB_POS]; in run_vertex_stage() 158 VB->AttribPtr[_TNL_ATTRIB_POS]); in run_vertex_stage() 163 VB->AttribPtr[_TNL_ATTRIB_POS] ); in run_vertex_stage()
|
D | t_vb_points.c | 73 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->PointSize; in run_point_stage()
|
D | t_vertex.c | 130 GLvector4f *vptr = VB->AttribPtr[a[j].attrib]; in choose_emit_func() 408 register GLvector4f *vptr = VB->AttribPtr[a->attrib]; in adjust_input_ptrs() 422 GLvector4f *vptr = VB->AttribPtr[a[j].attrib]; in update_input_ptrs()
|
D | t_context.h | 225 GLvector4f *AttribPtr[_TNL_ATTRIB_MAX]; member
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_tritmp.h | 251 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 329 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 486 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 571 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 613 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 624 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_swtnl_t.c | 116 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.ClipPtr; in swtnl_choose_attrs() 130 fields = tnl->vb.AttribPtr[i]->size; in swtnl_choose_attrs()
|
D | nv04_render.c | 79 tnl->vb.AttribPtr[VERT_ATTRIB_POS] = tnl->vb.NdcPtr; in swtnl_choose_attrs()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 206 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in _swsetup_RenderStart()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_vtbl.c | 90 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in i830_render_start() 132 GLuint sz = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->size; in i830_render_start()
|
D | i915_fragprog.c | 1247 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; in i915ValidateFragmentProgram() 1283 int sz = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->size; in i915ValidateFragmentProgram() 1292 int sz = VB->AttribPtr[_TNL_ATTRIB_GENERIC0 + i]->size; in i915ValidateFragmentProgram()
|