/external/mesa3d/src/mesa/tnl/ |
t_vb_texmat.c | 60 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 73 VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]); 75 VB->AttribPtr[VERT_ATTRIB_TEX0+i] = &store->texcoord[i]; 88 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 98 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 );
|
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_points.c | 54 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 55 const GLfloat *eyeCoord = (GLfloat *) VB->EyePtr->data + 2; 56 const GLint eyeCoordStride = VB->EyePtr->stride / sizeof(GLfloat); 64 for (i = 0; i < VB->Count; i++) { 72 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->PointSize; 82 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 89 _mesa_vector4f_alloc( &store->PointSize, 0, VB->Size, 32 );
|
t_vb_vertex.c | 142 struct vertex_buffer *VB = &tnl->vb; 154 VB->EyePtr = VB->AttribPtr[_TNL_ATTRIB_POS]; 156 VB->EyePtr = TransformRaw( &store->eye, 158 VB->AttribPtr[_TNL_ATTRIB_POS]); 161 VB->ClipPtr = TransformRaw( &store->clip, 163 VB->AttribPtr[_TNL_ATTRIB_POS] ); 167 switch (VB->ClipPtr->size) { 171 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 ) [all...] |
t_draw.c | 167 * floating point, populate VB->AttribPtr[]. 176 struct vertex_buffer *VB = &tnl->vb; 227 VB->AttribPtr[attrib] = &tnl->tmp_inputs[attrib]; 228 VB->AttribPtr[attrib]->data = (GLfloat (*)[4])ptr; 229 VB->AttribPtr[attrib]->start = (GLfloat *)ptr; 230 VB->AttribPtr[attrib]->count = count; 231 VB->AttribPtr[attrib]->stride = stride; 232 VB->AttribPtr[attrib]->size = input->Size; 236 VB->AttribPtr[attrib]->flags = (((1<<input->Size)-1) | [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_vb_fog.c | 146 struct vertex_buffer *VB = &tnl->vb; 158 /* source = VB->AttribPtr[_TNL_ATTRIB_POS] or VB->EyePtr coords */ 159 /* dest = VB->AttribPtr[_TNL_ATTRIB_FOG] = fog stage private storage */ 160 VB->AttribPtr[_TNL_ATTRIB_FOG] = &store->fogcoord; 178 _mesa_dotprod_tab[VB->AttribPtr[_TNL_ATTRIB_POS]->size] 181 VB->AttribPtr[_TNL_ATTRIB_POS], plane ); 183 input->count = VB->AttribPtr[_TNL_ATTRIB_POS]->count; 197 if (VB->EyePtr->size < 2 [all...] |
t_vb_light.c | 46 struct vertex_buffer *VB, 55 const GLfloat *ptr; /* points to src vertex color (in VB array) */ 223 struct vertex_buffer *VB, struct light_stage_data *store) 238 VB->AttribPtr[_TNL_ATTRIB_MAT_FRONT_AMBIENT + i] = VB->AttribPtr[_TNL_ATTRIB_COLOR0]; 247 if (VB->AttribPtr[i]->stride) { 250 store->mat[j].ptr = VB->AttribPtr[i]->start; 251 store->mat[j].stride = VB->AttribPtr[i]->stride; 252 store->mat[j].size = VB->AttribPtr[i]->size; 330 struct vertex_buffer *VB = &tnl->vb [all...] |
t_vb_program.c | 131 struct vertex_buffer *VB = &tnl->vb; 141 VB->NdcPtr = 142 _mesa_clip_tab[VB->ClipPtr->size]( VB->ClipPtr, 150 VB->NdcPtr = NULL; 151 _mesa_clip_np_tab[VB->ClipPtr->size]( VB->ClipPtr, 164 /* Test userclip planes. This contributes to VB->ClipMask. 170 VB->ClipPtr [all...] |
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_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...] |
/external/mesa3d/src/mesa/tnl_dd/ |
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;
|
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...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh18.cpp | 4 class VB { 7 VB (int v) { n = v; } 8 VB (const VB& o) { 10 // printf("copying VB from %d to %d\n", &o, this); 14 class D : public virtual VB { 17 D(int i1, int i2) : VB(i2) { j = i1; } 18 VB& vb() { return *(VB*)this; function in class:D 19 const VB& vb() const { return *(const VB*)this; } function in class:D 26 VB& vb() { return *(VB*)this; } function in class:pD 27 const VB& vb() const { return *(const VB*)this; } function in class:pD 34 VB *vb = &d.vb(); local [all...] |
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh18.cpp | 4 class VB { 7 VB (int v) { n = v; } 8 VB (const VB& o) { 10 // printf("copying VB from %d to %d\n", &o, this); 14 class D : public virtual VB { 17 D(int i1, int i2) : VB(i2) { j = i1; } 18 VB& vb() { return *(VB*)this; function in class:D 19 const VB& vb() const { return *(const VB*)this; } function in class:D 26 VB& vb() { return *(VB*)this; } function in class:pD 27 const VB& vb() const { return *(const VB*)this; } function in class:pD 34 VB *vb = &d.vb(); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_maos_arrays.c | 79 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; 82 GLuint count = VB->Count; 91 emitsize = (VB->AttribPtr[attrib]->size); 106 emitsize = (VB->AttribPtr[attrib]->size); 121 (char *)VB->AttribPtr[attrib]->data, 123 VB->AttribPtr[attrib]->stride, 128 (char *)VB->AttribPtr[attrib]->data, 129 VB->AttribPtr[attrib]->stride, 139 if (VB->AttribPtr[attrib]->size == 4 & [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_maos_arrays.c | 147 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; 150 GLuint count = VB->Count; 162 (char *)VB->AttribPtr[_TNL_ATTRIB_POS]->data, 163 VB->AttribPtr[_TNL_ATTRIB_POS]->size, 164 VB->AttribPtr[_TNL_ATTRIB_POS]->stride, 167 switch( VB->AttribPtr[_TNL_ATTRIB_POS]->size ) { 182 (char *)VB->AttribPtr[_TNL_ATTRIB_NORMAL]->data, 184 VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride, 193 if (VB->AttribPtr[_TNL_ATTRIB_COLOR0]->size == 4 & [all...] |
radeon_maos_vbtmp.h | 42 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; 59 coord = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_POS]->data; 60 coord_stride = VB->AttribPtr[_TNL_ATTRIB_POS]->stride; 63 if (VB->AttribPtr[_TNL_ATTRIB_TEX2]) { 65 tc2 = (GLuint (*)[4])VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->data; 66 tc2_stride = VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->stride; 67 if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 3) { 70 else if (DO_PTEX && VB->AttribPtr[_TNL_ATTRIB_TEX0 + t2]->size < 4) { 80 if (VB->AttribPtr[_TNL_ATTRIB_TEX1]) [all...] |
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...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_context.c | 187 struct vertex_buffer *VB = &tnl->vb; 205 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr;
|
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...] |
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...] |
/external/clang/test/CXX/special/class.dtor/ |
p3-0x.cpp | 145 struct VB : VA 146 { virtual ~VB() {} };
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
i830_vtbl.c | 82 struct vertex_buffer *VB = &tnl->vb; 90 VB->AttribPtr[VERT_ATTRIB_POS] = VB->NdcPtr; 132 GLuint sz = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i]->size;
|
intel_render.c | 176 choose_render(struct intel_context *intel, struct vertex_buffer *VB) 187 for (i = 0; i < VB->PrimitiveCount; i++) { 188 GLuint prim = VB->Primitive[i].mode; 189 GLuint length = VB->Primitive[i].count; 229 struct vertex_buffer *VB = &tnl->vb; 237 !intel_validate_render(ctx, VB) || !choose_render(intel, VB)) { 245 for (i = 0; i < VB->PrimitiveCount; i++) { 246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]) [all...] |