/third_party/mesa3d/src/mesa/tnl/ |
D | t_vb_program.c | 130 struct vertex_buffer *VB = &tnl->vb; in do_ndc_cliptest() local 140 VB->NdcPtr = in do_ndc_cliptest() 141 _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() 172 VB->ClipPtr, in do_ndc_cliptest() 182 VB->ClipAndMask = store->andmask; in do_ndc_cliptest() 183 VB->ClipOrMask = store->ormask; in do_ndc_cliptest() 184 VB->ClipMask = store->clipmask; in do_ndc_cliptest() 296 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() 164 VB->ClipPtr = TransformRaw( &store->clip, in run_vertex_stage() 166 VB->AttribPtr[_TNL_ATTRIB_POS] ); in run_vertex_stage() 170 switch (VB->ClipPtr->size) { in run_vertex_stage() 174 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 ); in run_vertex_stage() 177 _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 ); in run_vertex_stage() 191 VB->NdcPtr = in run_vertex_stage() [all …]
|
D | t_vb_render.c | 75 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx] 76 #define EDGEFLAG_SET(idx, val) VB->EdgeFlag[idx] = val 122 struct vertex_buffer *VB = &tnl->vb; \ 123 const GLuint * const elt = VB->Elts; \ 124 const GLubyte *mask = VB->ClipMask; \ 125 const GLuint sz = VB->ClipPtr->size; \ 158 struct vertex_buffer *VB = &tnl->vb; in clip_elt_triangles() local 159 const GLuint * const elt = VB->Elts; in clip_elt_triangles() 160 GLubyte *mask = VB->ClipMask; in clip_elt_triangles() 190 #define EDGEFLAG_GET(idx) VB->EdgeFlag[idx] [all …]
|
D | t_vb_fog.c | 147 struct vertex_buffer *VB = &tnl->vb; in run_fog_stage() local 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() 198 if (VB->EyePtr->size < 2) in run_fog_stage() 199 _mesa_vector4f_clean_elem( VB->EyePtr, VB->Count, 2 ); in run_fog_stage() 202 input->count = VB->EyePtr->count; in run_fog_stage() 203 coord = VB->EyePtr->start; in run_fog_stage() 204 for (i = 0 ; i < VB->EyePtr->count; i++) { in run_fog_stage() [all …]
|
D | t_vb_light.c | 47 struct vertex_buffer *VB, 224 struct vertex_buffer *VB, struct light_stage_data *store) in prepare_materials() argument 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() 333 struct vertex_buffer *VB = &tnl->vb; in run_lighting() local 334 GLvector4f *input = ctx->_NeedEyeCoords ? VB->EyePtr : VB->AttribPtr[_TNL_ATTRIB_POS]; in run_lighting() [all …]
|
D | t_draw.c | 186 struct vertex_buffer *VB = &tnl->vb; in _tnl_import_array() local 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() 280 struct vertex_buffer *VB = &tnl->vb; in bind_inputs() local [all …]
|
D | t_vb_lighttmp.h | 47 struct vertex_buffer *VB, in TAG() 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() 68 const GLuint nr = VB->Count; in TAG() 74 VB->AttribPtr[_TNL_ATTRIB_COLOR0] = &store->LitColor[0]; in TAG() 75 VB->AttribPtr[_TNL_ATTRIB_COLOR1] = &store->LitSecondary[0]; in TAG() 79 VB->BackfaceColorPtr = &store->LitColor[1]; in TAG() 80 VB->BackfaceSecondaryColorPtr = &store->LitSecondary[1]; in TAG() 233 struct vertex_buffer *VB, in TAG() 245 const GLuint nstride = VB->AttribPtr[_TNL_ATTRIB_NORMAL]->stride; in TAG() [all …]
|
D | t_vb_texgen.c | 254 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_reflection_map_nv() local 255 GLvector4f *in = VB->AttribPtr[VERT_ATTRIB_TEX0 + unit]; in texgen_reflection_map_nv() 258 build_f_tab[VB->EyePtr->size]( out->start, in texgen_reflection_map_nv() 260 VB->AttribPtr[_TNL_ATTRIB_NORMAL], in texgen_reflection_map_nv() 261 VB->EyePtr ); in texgen_reflection_map_nv() 264 out->count = VB->Count; in texgen_reflection_map_nv() 276 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in texgen_normal_map_nv() local 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() 281 GLuint count = VB->Count; in texgen_normal_map_nv() [all …]
|
D | t_vb_points.c | 55 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_point_stage() local 56 const GLfloat *eyeCoord = (GLfloat *) VB->EyePtr->data + 2; in run_point_stage() 57 const GLint eyeCoordStride = VB->EyePtr->stride / sizeof(GLfloat); in run_point_stage() 65 for (i = 0; i < VB->Count; i++) { in run_point_stage() 73 VB->AttribPtr[_TNL_ATTRIB_POINTSIZE] = &store->PointSize; in run_point_stage() 83 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_point_data() local 90 _mesa_vector4f_alloc( &store->PointSize, 0, VB->Size, 32 ); in alloc_point_data()
|
D | t_vertex_generic.c | 1016 struct vertex_buffer *VB = &tnl->vb; in _tnl_generic_interp() local 1027 const GLfloat *dstclip = VB->ClipPtr->data[edst]; in _tnl_generic_interp() 1041 a[0].insert[4-1]( &a[0], vdst, VB->ClipPtr->data[edst] ); in _tnl_generic_interp() 1090 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in _tnl_generic_interp_extras() local 1097 if (VB->BackfaceColorPtr && VB->BackfaceColorPtr->stride) { in _tnl_generic_interp_extras() 1098 assert(VB->BackfaceColorPtr->stride == 4 * sizeof(GLfloat)); in _tnl_generic_interp_extras() 1101 VB->BackfaceColorPtr->data[dst], in _tnl_generic_interp_extras() 1102 VB->BackfaceColorPtr->data[out], in _tnl_generic_interp_extras() 1103 VB->BackfaceColorPtr->data[in] ); in _tnl_generic_interp_extras() 1106 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() 150 if (VB->ClipMask[v0]) { in TAG() 164 if (VB->ClipMask[v1]) { in TAG() 189 struct vertex_buffer *VB = &tnl->vb; in TAG() local 191 GLuint newvert = VB->Count; in TAG() 192 GLfloat (*coord)[4] = VB->ClipPtr->data; in TAG() 240 assert( inlist[0] >= VB->Count ); in TAG() 268 struct vertex_buffer *VB = &tnl->vb; in TAG() local [all …]
|
D | t_vb_normals.c | 52 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_normal_stage() local 64 lengths = VB->NormalLengthPtr; in run_normal_stage() 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() 81 VB->NormalLengthPtr = NULL; /* no longer valid */ in run_normal_stage()
|
D | t_vb_texmat.c | 59 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in run_texmat_stage() local 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() 87 struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; in alloc_texmat_data() local 97 _mesa_vector4f_alloc( &store->texcoord[i], 0, VB->Size, 32 ); in alloc_texmat_data()
|
/third_party/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 | 146 struct vertex_buffer *VB = &TNL_CONTEXT( ctx )->vb; in radeonEmitArrays() local 149 GLuint count = VB->Count; in radeonEmitArrays() 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() [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() 359 GLuint swaptexmatcol = (VB->AttribPtr[_TNL_ATTRIB_TEX0 + unit]->size - 3); in radeonEmitArrays() 386 VB->Count * setup_tab[i].vertex_size * 4, 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() [all …]
|
D | radeon_tcl.c | 288 struct vertex_buffer *VB = &tnl->vb; in radeonEnsureEmitSize() local 320 for (i = 0; i < VB->PrimitiveCount; ++i) in radeonEnsureEmitSize() 329 if (!VB->Primitive[i].count) in radeonEnsureEmitSize() 331 if ( (!VB->Elts && VB->Primitive[i].count >= MAX_CONVERSION_SIZE) in radeonEnsureEmitSize() 336 space_required += VB->Primitive[i].count * 3; in radeonEnsureEmitSize() 360 struct vertex_buffer *VB = &tnl->vb; in radeon_run_tcl_render() local 370 if (VB->Count == 0) in radeon_run_tcl_render() 403 rmesa->tcl.Elts = VB->Elts; in radeon_run_tcl_render() 405 for (i = 0 ; i < VB->PrimitiveCount ; i++) in radeon_run_tcl_render() 407 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in radeon_run_tcl_render() [all …]
|
/third_party/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() 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() [all …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_render.c | 172 choose_render(struct intel_context *intel, struct vertex_buffer *VB) in choose_render() argument 183 for (i = 0; i < VB->PrimitiveCount; i++) { in choose_render() 184 GLuint prim = VB->Primitive[i].mode; in choose_render() 185 GLuint length = VB->Primitive[i].count; in choose_render() 225 struct vertex_buffer *VB = &tnl->vb; in intel_run_render() local 233 !intel_validate_render(ctx, VB) || !choose_render(intel, VB)) { in intel_run_render() 241 for (i = 0; i < VB->PrimitiveCount; i++) { in intel_run_render() 242 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]); in intel_run_render() 243 GLuint start = VB->Primitive[i].start; in intel_run_render() 244 GLuint length = VB->Primitive[i].count; in intel_run_render()
|
/third_party/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
|
/third_party/flutter/skia/third_party/externals/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
|
/third_party/skia/third_party/externals/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
|
/third_party/boost/boost/polygon/ |
D | voronoi.hpp | 29 template <typename Point, typename VB> 37 >::type insert(const Point& point, VB* vb) { in insert() 41 template <typename PointIterator, typename VB> 51 >::type insert(const PointIterator first, const PointIterator last, VB* vb) { in insert() 57 template <typename Segment, typename VB> 65 >::type insert(const Segment& segment, VB* vb) { in insert() 71 template <typename SegmentIterator, typename VB> 83 VB* vb) { in insert()
|