/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/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
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_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_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_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_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_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_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_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...] |
/external/mesa3d/src/mesa/tnl/ |
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_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_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_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_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_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_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 );
|
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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...] |
/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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/ |
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...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
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...] |