/external/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 131 struct vertex_buffer *VB = &tnl->vb; in do_ndc_cliptest() local 141 VB->NdcPtr = in do_ndc_cliptest() 142 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest() 150 VB->NdcPtr = NULL; in do_ndc_cliptest() 151 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr, in do_ndc_cliptest() 170 VB->ClipPtr, in do_ndc_cliptest() 180 VB->ClipAndMask = store->andmask; in do_ndc_cliptest() 181 VB->ClipOrMask = store->ormask; in do_ndc_cliptest() 182 VB->ClipMask = store->clipmask; in do_ndc_cliptest() 315 struct vertex_buffer *VB = &tnl->vb; in run_vp() local [all …]
|
D | t_vb_vertex.c | 142 struct vertex_buffer *VB = &tnl->vb; in run_vertex_stage() local 154 VB->EyePtr = VB->AttribPtr[_TNL_ATTRIB_POS]; in run_vertex_stage() 156 VB->EyePtr = TransformRaw( &store->eye, in run_vertex_stage() 158 VB->AttribPtr[_TNL_ATTRIB_POS]); in run_vertex_stage() 161 VB->ClipPtr = TransformRaw( &store->clip, in run_vertex_stage() 163 VB->AttribPtr[_TNL_ATTRIB_POS] ); in run_vertex_stage() 167 switch (VB->ClipPtr->size) { in run_vertex_stage() 171 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 ); in run_vertex_stage() 174 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 ); in run_vertex_stage() 188 VB->NdcPtr = in run_vertex_stage() [all …]
|
D | t_vb_render.c | 73 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx] 74 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val 120 struct vertex_buffer *VB = &tnl->vb; \ 121 const GLuint * const elt = VB->Elts; \ 122 const GLubyte *mask = VB->ClipMask; \ 123 const GLuint sz = VB->ClipPtr->size; \ 156 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() local 157 const GLuint * const elt = VB->Elts; in clip_elt_triangles() 158 GLubyte *mask = VB->ClipMask; in clip_elt_triangles() 188 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx] [all …]
|
D | t_vb_fog.c | 146 struct vertex_buffer *VB = &tnl->vb; in run_fog_stage() local 160 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; in run_fog_stage() 178 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] in run_fog_stage() 181 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); in run_fog_stage() 183 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; in run_fog_stage() 197 if (VB->EyePtr->size < 2) in run_fog_stage() 198 _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 ); in run_fog_stage() 201 input->count = VB->EyePtr->count; in run_fog_stage() 202 coord = VB->EyePtr->start; in run_fog_stage() 203 for (i = 0 ; i < VB->EyePtr->count; i++) { in run_fog_stage() [all …]
|
D | t_draw.c | 176 struct vertex_buffer *VB = &tnl->vb; in _tnl_import_array() local 227 VB->AttribPtr[attrib] = &tnl->tmp_inputs[attrib]; in _tnl_import_array() 228 VB->AttribPtr[attrib]->data = (GLfloat (*)[4])ptr; in _tnl_import_array() 229 VB->AttribPtr[attrib]->start = (GLfloat *)ptr; in _tnl_import_array() 230 VB->AttribPtr[attrib]->count = count; in _tnl_import_array() 231 VB->AttribPtr[attrib]->stride = stride; in _tnl_import_array() 232 VB->AttribPtr[attrib]->size = input->Size; in _tnl_import_array() 236 VB->AttribPtr[attrib]->flags = (((1<<input->Size)-1) | in _tnl_import_array() 240 VB->AttribPtr[attrib]->storage = NULL; in _tnl_import_array() 272 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() local [all …]
|
D | t_vb_light.c | 46 struct vertex_buffer *VB, 223 struct vertex_buffer *VB, struct light_stage_data *store) in prepare_materials() argument 238 VB->AttribPtr[_TNL_ATTRIB_MAT_FRONT_AMBIENT + i] = VB->AttribPtr[_TNL_ATTRIB_COLOR0]; in prepare_materials() 247 if (VB->AttribPtr[i]->stride) { in prepare_materials() 250 store->mat[j].ptr = VB->AttribPtr[i]->start; in prepare_materials() 251 store->mat[j].stride = VB->AttribPtr[i]->stride; in prepare_materials() 252 store->mat[j].size = VB->AttribPtr[i]->size; in prepare_materials() 330 struct vertex_buffer *VB = &tnl->vb; in run_lighting() local 331 GLvector4f *input = ctx->_NeedEyeCoords ? VB->EyePtr : VB->AttribPtr[_TNL_ATTRIB_POS]; in run_lighting() 339 if (input->size <= 2 && input == VB->AttribPtr[_TNL_ATTRIB_POS]) { in run_lighting() [all …]
|
D | t_vb_lighttmp.h | 48 struct vertex_buffer *VB, in TAG() 59 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() 60 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; in TAG() 69 const GLuint nr = VB->Count; in TAG() 75 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG() 76 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; in TAG() 80 VB->BackfaceColorPtr = &store->LitColor[1]; in TAG() 81 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1]; in TAG() 230 struct vertex_buffer *VB, in TAG() 242 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() [all …]
|
D | t_vb_texgen.c | 255 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() local 256 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_reflection_map_nv() 259 build_f_tab[VB->EyePtr->size]( out->start, in texgen_reflection_map_nv() 261 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_reflection_map_nv() 262 VB->EyePtr ); in texgen_reflection_map_nv() 265 out->count = VB->Count; in texgen_reflection_map_nv() 277 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() local 278 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_normal_map_nv() 280 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; in texgen_normal_map_nv() 282 GLuint count = VB->Count; in texgen_normal_map_nv() [all …]
|
D | t_vb_points.c | 54 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() local 55 const GLfloat *eyeCoord = (GLfloat *) VB->EyePtr->data + 2; in run_point_stage() 56 const GLint eyeCoordStride = VB->EyePtr->stride / sizeof(GLfloat); in run_point_stage() 64 for (i = 0; i < VB->Count; i++) { in run_point_stage() 72 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->PointSize; in run_point_stage() 82 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data() local 89 _mesa_vector4f_alloc( &store->PointSize, 0, VB->Size, 32 ); in alloc_point_data()
|
D | t_vertex_generic.c | 1017 struct vertex_buffer *VB = &tnl->vb; in _tnl_generic_interp() local 1028 const GLfloat *dstclip = VB->ClipPtr->data[edst]; in _tnl_generic_interp() 1042 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] ); in _tnl_generic_interp() 1091 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in _tnl_generic_interp_extras() local 1098 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) { in _tnl_generic_interp_extras() 1099 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); in _tnl_generic_interp_extras() 1102 VB->BackfaceColorPtr->data[dst], in _tnl_generic_interp_extras() 1103 VB->BackfaceColorPtr->data[out], in _tnl_generic_interp_extras() 1104 VB->BackfaceColorPtr->data[in] ); in _tnl_generic_interp_extras() 1107 if (VB->BackfaceSecondaryColorPtr) { in _tnl_generic_interp_extras() [all …]
|
D | t_vb_cliptmp.h | 121 struct vertex_buffer *VB = &tnl->vb; in TAG() local 123 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() 124 GLuint newvert = VB->Count; in TAG() 151 if (VB->ClipMask[v0]) { in TAG() 165 if (VB->ClipMask[v1]) { in TAG() 190 struct vertex_buffer *VB = &tnl->vb; in TAG() local 192 GLuint newvert = VB->Count; in TAG() 193 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() 242 ASSERT( inlist[0] >= VB->Count ); in TAG() 270 struct vertex_buffer *VB = &tnl->vb; in TAG() local [all …]
|
D | t_vb_normals.c | 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_normal_stage() local 65 lengths = VB->NormalLengthPtr; in run_normal_stage() 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ in run_normal_stage() 73 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { in run_normal_stage() 80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; in run_normal_stage() 82 VB->NormalLengthPtr = NULL; /* no longer valid */ in run_normal_stage()
|
D | t_vb_texmat.c | 60 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texmat_stage() local 73 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]); in run_texmat_stage() 75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; in run_texmat_stage() 88 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texmat_data() local 98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); in alloc_texmat_data()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_maos_vbtmp.h | 42 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local 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() [all …]
|
D | radeon_maos_arrays.c | 147 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in radeonEmitArrays() local 150 GLuint count = VB->Count; in radeonEmitArrays() 162 (char *)VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays() 163 VB->AttribPtr[_TNL_ATTRIB_POS]->size, in radeonEmitArrays() 164 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays() 167 switch( VB->AttribPtr[_TNL_ATTRIB_POS]->size ) { in radeonEmitArrays() 182 (char *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data, in radeonEmitArrays() 184 VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride, in radeonEmitArrays() 193 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->size == 4 && in radeonEmitArrays() 194 (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->stride != 0 || in radeonEmitArrays() [all …]
|
D | radeon_maos_verts.c | 313 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in radeonEmitArrays() local 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() 358 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); in radeonEmitArrays() 385 VB->Count * setup_tab[i].vertex_size * 4, in radeonEmitArrays() 392 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size < 3 || in radeonEmitArrays() 393 (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 3 && in radeonEmitArrays() 397 VB->AttribPtr[_TNL_ATTRIB_POS]->data, in radeonEmitArrays() 398 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, in radeonEmitArrays() [all …]
|
D | radeon_tcl.c | 287 struct vertex_buffer *VB = &tnl->vb; in radeonEnsureEmitSize() local 319 for (i = 0; i < VB->PrimitiveCount; ++i) in radeonEnsureEmitSize() 328 if (!VB->Primitive[i].count) in radeonEnsureEmitSize() 330 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in radeonEnsureEmitSize() 335 space_required += VB->Primitive[i].count * 3; in radeonEnsureEmitSize() 359 struct vertex_buffer *VB = &tnl->vb; in radeon_run_tcl_render() local 369 if (VB->Count == 0) in radeon_run_tcl_render() 402 rmesa->tcl.Elts = VB->Elts; in radeon_run_tcl_render() 404 for (i = 0 ; i < VB->PrimitiveCount ; i++) in radeon_run_tcl_render() 406 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in radeon_run_tcl_render() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_maos_arrays.c | 79 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in r200EmitArrays() local 82 GLuint count = VB->Count; in r200EmitArrays() 91 emitsize = (VB->AttribPtr[attrib]->size); in r200EmitArrays() 106 emitsize = (VB->AttribPtr[attrib]->size); in r200EmitArrays() 121 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays() 123 VB->AttribPtr[attrib]->stride, in r200EmitArrays() 128 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays() 129 VB->AttribPtr[attrib]->stride, in r200EmitArrays() 139 if (VB->AttribPtr[attrib]->size == 4 && in r200EmitArrays() 140 (VB->AttribPtr[attrib]->stride != 0 || in r200EmitArrays() [all …]
|
D | r200_tcl.c | 295 struct vertex_buffer *VB = &tnl->vb; in r200EnsureEmitSize() local 317 for (i = 0; i < VB->PrimitiveCount; ++i) in r200EnsureEmitSize() 319 if (!VB->Primitive[i].count) in r200EnsureEmitSize() 325 const GLuint elt_count =(VB->Primitive[i].count/GET_MAX_HW_ELTS() + 1); in r200EnsureEmitSize() 329 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in r200EnsureEmitSize() 361 struct vertex_buffer *VB = &tnl->vb; in r200_run_tcl_render() local 378 if (VB->Count == 0) in r200_run_tcl_render() 466 for (i = 0 ; i < VB->PrimitiveCount ; i++) in r200_run_tcl_render() 468 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in r200_run_tcl_render() 469 GLuint start = VB->Primitive[i].start; in r200_run_tcl_render() [all …]
|
/external/clang/test/SemaCXX/ |
D | destructor.cpp | 206 struct VB { struct 208 virtual ~VB(); 211 struct VD: VB {}; 213 struct VF final: VB {}; 238 void use(VB&); 244 VB vb; use(vb); in nowarnstack() 270 VB* vb = new VB[4]; in nowarnarray() 297 VB* vb = new VB(); in nowarn0() 301 VB* vb = new VD(); in nowarn0() 335 simple_ptr<VB> vb(new VB()); in nowarn1() [all …]
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_tritmp.h | 116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() local 180 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; in TAG() 189 if (VB->BackfaceColorPtr->stride) { in TAG() 190 ASSERT(VB->BackfaceColorPtr->stride == 4*sizeof(GLfloat)); in TAG() 206 if (HAVE_SPEC && VB->BackfaceSecondaryColorPtr) { in TAG() 207 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; in TAG() 208 ASSERT(VB->BackfaceSecondaryColorPtr->stride == 4*sizeof(GLfloat)); in TAG() 251 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 329 if (HAVE_SPEC && VB->AttribPtr[_TNL_ATTRIB_COLOR1]) { in TAG() 342 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in TAG() local [all …]
|
D | t_dd_vb.c | 298 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local 300 if (VB->BackfaceColorPtr) { in TAG() 301 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); in TAG() 304 GET_COLOR(VB->BackfaceColorPtr, dst), in TAG() 305 GET_COLOR(VB->BackfaceColorPtr, out), in TAG() 306 GET_COLOR(VB->BackfaceColorPtr, in) ); in TAG() 308 if (VB->BackfaceSecondaryColorPtr) { in TAG() 310 GET_COLOR(VB->BackfaceSecondaryColorPtr, dst), in TAG() 311 GET_COLOR(VB->BackfaceSecondaryColorPtr, out), in TAG() 312 GET_COLOR(VB->BackfaceSecondaryColorPtr, in) ); in TAG() [all …]
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_tritmp.h | 35 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local 68 if (VB->BackfaceColorPtr) { in TAG() 69 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; in TAG() 82 if (VB->BackfaceColorPtr->stride) { in TAG() 109 if (VB->BackfaceSecondaryColorPtr) { in TAG() 110 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; in TAG() 116 if (VB->BackfaceSecondaryColorPtr->stride) { in TAG() 190 if (VB->BackfaceColorPtr) { in TAG() 203 if (VB->BackfaceSecondaryColorPtr) { in TAG() 220 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in TAG() local [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 176 choose_render(struct intel_context *intel, struct vertex_buffer *VB) in choose_render() argument 187 for (i = 0; i < VB->PrimitiveCount; i++) { in choose_render() 188 GLuint prim = VB->Primitive[i].mode; in choose_render() 189 GLuint length = VB->Primitive[i].count; in choose_render() 229 struct vertex_buffer *VB = &tnl->vb; in intel_run_render() local 237 !intel_validate_render(ctx, VB) || !choose_render(intel, VB)) { in intel_run_render() 245 for (i = 0; i < VB->PrimitiveCount; i++) { in intel_run_render() 246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in intel_run_render() 247 GLuint start = VB->Primitive[i].start; in intel_run_render() 248 GLuint length = VB->Primitive[i].count; in intel_run_render()
|
/external/libpng/projects/visualc71/ |
D | libpng.sln | 20 DLL VB = DLL VB 29 {0008960E-E0DD-41A6-8265-00B31DDB4C21}.DLL VB.ActiveCfg = DLL VB|Win32 30 {0008960E-E0DD-41A6-8265-00B31DDB4C21}.DLL VB.Build.0 = DLL VB|Win32 39 {FD1C2F86-9EEF-47BD-95A4-530917E17FDA}.DLL VB.ActiveCfg = DLL VB|Win32 40 {FD1C2F86-9EEF-47BD-95A4-530917E17FDA}.DLL VB.Build.0 = DLL VB|Win32 49 {2D4F8105-7D21-454C-9932-B47CAB71A5C0}.DLL VB.ActiveCfg = DLL Release|Win32 50 {2D4F8105-7D21-454C-9932-B47CAB71A5C0}.DLL VB.Build.0 = DLL Release|Win32
|