/external/mesa3d/src/mesa/tnl/ |
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; 157 const GLuint * const elt = VB->Elts [all...] |
t_vb_normals.c | 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 65 lengths = VB->NormalLengthPtr; 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ 73 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { 80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; 82 VB->NormalLengthPtr = NULL; /* no longer valid */ 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
t_vb_lighttmp.h | 43 * VB is the vertex buffer 48 struct vertex_buffer *VB, 59 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; 60 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 69 const GLuint nr = VB->Count; 75 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; 76 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; 80 VB->BackfaceColorPtr = &store->LitColor[1]; 81 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1]; 230 struct vertex_buffer *VB, [all...] |
t_vb_texgen.c | 255 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 256 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; 259 build_f_tab[VB->EyePtr->size]( out->start, 261 VB->AttribPtr[_TNL_ATTRIB_NORMAL], 262 VB->EyePtr ); 265 out->count = VB->Count; 277 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 278 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit] [all...] |
t_vb_cliptmp.h | 121 struct vertex_buffer *VB = &tnl->vb; 123 GLfloat (*coord)[4] = VB->ClipPtr->data; 124 GLuint newvert = VB->Count; 151 if (VB->ClipMask[v0]) { 165 if (VB->ClipMask[v1]) { 190 struct vertex_buffer *VB = &tnl->vb; 192 GLuint newvert = VB->Count; 193 GLfloat (*coord)[4] = VB->ClipPtr->data [all...] |
t_vertex_generic.c | 1017 struct vertex_buffer *VB = &tnl->vb; 1028 const GLfloat *dstclip = VB->ClipPtr->data[edst]; 1042 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] ); 1091 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 1093 /* If stride is zero, BackfaceColorPtr is constant across the VB, so 1098 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) { 1099 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)) [all...] |
/external/clang/test/SemaCXX/ |
destructor.cpp | 187 struct VB { 189 virtual ~VB(); 192 struct VD: VB {}; 194 struct VF final: VB {}; 219 void use(VB&); 225 VB vb; use(vb); local 251 VB* vb = new VB[4] local 278 VB* vb = new VB(); local 282 VB* vb = new VD(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_maos_verts.c | 313 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 328 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 4) { 350 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { 356 else if ((VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) && 358 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); 385 VB->Count * setup_tab[i].vertex_size * 4, 392 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size < 3 || 393 (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 3 && 397 VB->AttribPtr[_TNL_ATTRIB_POS]->data [all...] |
radeon_tcl.c | 287 struct vertex_buffer *VB = &tnl->vb; 319 for (i = 0; i < VB->PrimitiveCount; ++i) 328 if (!VB->Primitive[i].count) 330 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) 335 space_required += VB->Primitive[i].count * 3; 359 struct vertex_buffer *VB = &tnl->vb; 369 if (VB->Count == 0 [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_verts.c | 313 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 328 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 4) { 350 if (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) { 356 else if ((VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size >= 3) && 358 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); 385 VB->Count * setup_tab[i].vertex_size * 4, 392 if (VB->AttribPtr[_TNL_ATTRIB_POS]->size < 3 || 393 (VB->AttribPtr[_TNL_ATTRIB_POS]->size == 3 && 397 VB->AttribPtr[_TNL_ATTRIB_POS]->data [all...] |
radeon_tcl.c | 287 struct vertex_buffer *VB = &tnl->vb; 319 for (i = 0; i < VB->PrimitiveCount; ++i) 328 if (!VB->Primitive[i].count) 330 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) 335 space_required += VB->Primitive[i].count * 3; 359 struct vertex_buffer *VB = &tnl->vb; 369 if (VB->Count == 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_normals.c | 53 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 65 lengths = VB->NormalLengthPtr; 69 VB->AttribPtr[_TNL_ATTRIB_NORMAL], /* input normals */ 73 if (VB->AttribPtr[_TNL_ATTRIB_NORMAL]->count > 1) { 80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal; 82 VB->NormalLengthPtr = NULL; /* no longer valid */ 159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
|
t_vb_lighttmp.h | 43 * VB is the vertex buffer 48 struct vertex_buffer *VB, 59 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; 60 const GLfloat *normal = (GLfloat *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data; 69 const GLuint nr = VB->Count; 75 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; 76 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; 80 VB->BackfaceColorPtr = &store->LitColor[1]; 81 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1]; 230 struct vertex_buffer *VB, [all...] |
t_vb_texgen.c | 255 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 256 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; 259 build_f_tab[VB->EyePtr->size]( out->start, 261 VB->AttribPtr[_TNL_ATTRIB_NORMAL], 262 VB->EyePtr ); 265 out->count = VB->Count; 277 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 278 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit] [all...] |
t_vb_cliptmp.h | 121 struct vertex_buffer *VB = &tnl->vb; 123 GLfloat (*coord)[4] = VB->ClipPtr->data; 124 GLuint newvert = VB->Count; 151 if (VB->ClipMask[v0]) { 165 if (VB->ClipMask[v1]) { 190 struct vertex_buffer *VB = &tnl->vb; 192 GLuint newvert = VB->Count; 193 GLfloat (*coord)[4] = VB->ClipPtr->data [all...] |
t_vertex_generic.c | 1017 struct vertex_buffer *VB = &tnl->vb; 1028 const GLfloat *dstclip = VB->ClipPtr->data[edst]; 1042 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] ); 1091 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 1093 /* If stride is zero, BackfaceColorPtr is constant across the VB, so 1098 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) { 1099 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
ss_tritmp.h | 35 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 68 if (VB->BackfaceColorPtr) { 69 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; 82 if (VB->BackfaceColorPtr->stride) { 109 if (VB->BackfaceSecondaryColorPtr) { 110 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; 116 if (VB->BackfaceSecondaryColorPtr->stride) { 190 if (VB->BackfaceColorPtr) { 203 if (VB->BackfaceSecondaryColorPtr) [all...] |
ss_triangle.c | 116 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 117 GLubyte *ef = VB->EdgeFlag; 215 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 219 if (VB->Elts) { 221 if (VB->ClipMask[VB->Elts[i]] == 0) 222 _swrast_Point( ctx, &verts[VB->Elts[i]] ); 226 if (VB->ClipMask[i] == 0 [all...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_tritmp.h | 35 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 68 if (VB->BackfaceColorPtr) { 69 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; 82 if (VB->BackfaceColorPtr->stride) { 109 if (VB->BackfaceSecondaryColorPtr) { 110 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; 116 if (VB->BackfaceSecondaryColorPtr->stride) { 190 if (VB->BackfaceColorPtr) { 203 if (VB->BackfaceSecondaryColorPtr) [all...] |
ss_triangle.c | 116 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 117 GLubyte *ef = VB->EdgeFlag; 215 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 219 if (VB->Elts) { 221 if (VB->ClipMask[VB->Elts[i]] == 0) 222 _swrast_Point( ctx, &verts[VB->Elts[i]] ); 226 if (VB->ClipMask[i] == 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_tritmp.h | 36 * DO_TWOSIDE: Plug back-color values from the VB into backfacing triangles, 57 * VERT_SET_RGBA: Assign vertex rgba from VB color. 116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; 180 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; 189 if (VB->BackfaceColorPtr->stride) { 190 ASSERT(VB->BackfaceColorPtr->stride == 4*sizeof(GLfloat)); 206 if (HAVE_SPEC && VB->BackfaceSecondaryColorPtr) { 207 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; 208 ASSERT(VB->BackfaceSecondaryColorPtr->stride == 4*sizeof(GLfloat)) [all...] |
t_dd_vb.c | 279 /* Interpolate the elements of the VB not included in typical hardware 298 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 300 if (VB->BackfaceColorPtr) { 301 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); 304 GET_COLOR(VB->BackfaceColorPtr, dst), 305 GET_COLOR(VB->BackfaceColorPtr, out), 306 GET_COLOR(VB->BackfaceColorPtr, in) ); 308 if (VB->BackfaceSecondaryColorPtr) { 310 GET_COLOR(VB->BackfaceSecondaryColorPtr, dst) [all...] |
t_dd_unfilled.h | 39 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 40 GLubyte *ef = VB->EdgeFlag; 103 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 104 GLubyte *ef = VB->EdgeFlag;
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_tritmp.h | 36 * DO_TWOSIDE: Plug back-color values from the VB into backfacing triangles, 57 * VERT_SET_RGBA: Assign vertex rgba from VB color. 116 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; 180 GLfloat (*vbcolor)[4] = VB->BackfaceColorPtr->data; 189 if (VB->BackfaceColorPtr->stride) { 190 ASSERT(VB->BackfaceColorPtr->stride == 4*sizeof(GLfloat)); 206 if (HAVE_SPEC && VB->BackfaceSecondaryColorPtr) { 207 GLfloat (*vbspec)[4] = VB->BackfaceSecondaryColorPtr->data; 208 ASSERT(VB->BackfaceSecondaryColorPtr->stride == 4*sizeof(GLfloat)) [all...] |
t_dd_vb.c | 279 /* Interpolate the elements of the VB not included in typical hardware 298 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 300 if (VB->BackfaceColorPtr) { 301 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); 304 GET_COLOR(VB->BackfaceColorPtr, dst), 305 GET_COLOR(VB->BackfaceColorPtr, out), 306 GET_COLOR(VB->BackfaceColorPtr, in) ); 308 if (VB->BackfaceSecondaryColorPtr) { 310 GET_COLOR(VB->BackfaceSecondaryColorPtr, dst) [all...] |