/dports/math/vtk9/VTK-9.1.0/Rendering/OpenGL2/ |
H A D | vtkOpenGLCellToVTKCellMap.cxx | 70 this->TempState.Append(prims[0]->GetNumberOfCells() ? prims[0]->GetMTime() : 0, "verts"); in BuildPrimitiveOffsetsIfNeeded() 115 2 * prims[3]->GetNumberOfConnectivityIds() - 3 * prims[3]->GetNumberOfCells(); in BuildPrimitiveOffsetsIfNeeded() 144 size_t minSize = prims[0]->GetNumberOfCells() + prims[1]->GetNumberOfCells() + in BuildCellSupportArrays() 145 prims[2]->GetNumberOfCells() + prims[3]->GetNumberOfCells(); in BuildCellSupportArrays() 158 for (prims[0]->InitTraversal(); prims[0]->GetNextCell(npts, indices);) in BuildCellSupportArrays() 174 for (prims[j]->InitTraversal(); prims[j]->GetNextCell(npts, indices);) in BuildCellSupportArrays() 190 for (prims[1]->InitTraversal(); prims[1]->GetNextCell(npts, indices);) in BuildCellSupportArrays() 206 for (prims[2]->InitTraversal(); prims[2]->GetNextCell(npts, indices);) in BuildCellSupportArrays() 220 for (prims[3]->InitTraversal(); prims[3]->GetNextCell(npts, indices);) in BuildCellSupportArrays() 237 for (prims[2]->InitTraversal(); prims[2]->GetNextCell(npts, indices);) in BuildCellSupportArrays() [all …]
|
/dports/graphics/embree/embree-3.13.2/kernels/builders/ |
H A D | bvh_builder_msmblur_hair.h | 43 : depth(depth), prims(prims) {} in BuildRecord() 111 mvector<PrimRefMB>& prims = *set.prims; in sameGeometry() local 124 mvector<PrimRefMB>& prims = *set.prims; in splitFallback() local 171 for (size_t i=current.prims.begin(); i<current.prims.end(); i++) { in createLargeLeaf() 172 mvector<PrimRefMB>& prims = *current.prims.prims; in createLargeLeaf() local 212 splitByGeometry(children[bestChild].prims,left.prims,right.prims); in createLargeLeaf() 214 splitFallback(children[bestChild].prims,left.prims,right.prims); in createLargeLeaf() 284 splitFallback(current.prims,lrecord.prims,rrecord.prims); in split() 288 alignedHeuristic.split(alignedObjectSplit,current.prims,lrecord.prims,rrecord.prims); in split() 292 … unalignedHeuristic.split(unalignedObjectSplit,uspace,current.prims,lrecord.prims,rrecord.prims); in split() [all …]
|
H A D | bvh_builder_sah.h | 85 : depth(depth), alloc_barrier(false), prims(prims) {} in BuildRecordT() 141 prims(prims), in BuilderT() 162 if (current.prims.size() <= cfg.maxLeafSize && canCreateLeaf(prims,current.prims)) in createLargeLeaf() 163 return createLeaf(prims,current.prims,alloc); in createLargeLeaf() 178 … if (children[i].prims.size() <= cfg.maxLeafSize && canCreateLeaf(prims,children[i].prims)) in createLargeLeaf() 193 canCreateLeafSplit(prims,children[bestChild].prims,left.prims,right.prims); in createLargeLeaf() 195 heuristic.splitFallback(children[bestChild].prims,left.prims,right.prims); in createLargeLeaf() 281 heuristic.split(split,brecord.prims,lrecord.prims,rrecord.prims); in recurse() 478 prims, in build() 511 prims, in build() [all …]
|
H A D | bvh_builder_msmblur.h | 33 delete prims; in decRef() local 36 T* prims; member 70 if (lrecord.prims.prims == bsharedPrimVec->prims) { in split() 78 if (rrecord.prims.prims == bsharedPrimVec->prims) { in split() 217 : depth(depth), prims(prims) {} in BuildRecord() 220 return a.prims.size() < b.prims.size(); 373 mvector<PrimRefMB>& prims = *set.prims; in splitFallback() local 395 mvector<PrimRefMB>& prims = *set.prims; in sameGeometry() local 412 mvector<PrimRefMB>& prims = *set.prims; in splitByGeometry() local 443 mvector<PrimRefMB>& prims = *current.prims.prims; in createLargeLeaf() local [all …]
|
H A D | heuristic_timesplit_array.h | 59 if (prims[i].time_range_overlap(dt0)) in bin() 67 count0[b] += prims[i].timeSegmentRange(dt0).size(); in bin() 70 if (prims[i].time_range_overlap(dt1)) in bin() 78 count1[b] += prims[i].timeSegmentRange(dt1).size(); in bin() 87 bin(prims,begin,end,time_range,set,recalculatePrimRef); in bin_parallel() 171 mvector<PrimRefMB>& prims = *set.prims; in split() local 181 if (likely(prims[i].time_range_overlap(time_range0))) in split() 189 (*lprims)[i-set.begin()] = prims[i]; in split() 209 if (likely(prims[i].time_range_overlap(time_range1))) in split() 212 prims[i] = prim; in split() [all …]
|
/dports/shells/es/es-0.9-beta1/ |
H A D | prim.c | 6 static Dict *prims; variable 20 dictforall(prims, addtolist, &primlist); in PRIM() 27 prims = mkdict(); in initprims() 28 globalroot(&prims); in initprims() 30 prims = initprims_controlflow(prims); in initprims() 31 prims = initprims_io(prims); in initprims() 32 prims = initprims_etc(prims); in initprims() 33 prims = initprims_sys(prims); in initprims() 34 prims = initprims_proc(prims); in initprims() 35 prims = initprims_access(prims); in initprims() [all …]
|
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/primitives/ |
H A D | primitives.c | 71 primitives_init_add(prims); in primitives_init_generic() 72 primitives_init_andor(prims); in primitives_init_generic() 74 primitives_init_copy(prims); in primitives_init_generic() 75 primitives_init_set(prims); in primitives_init_generic() 76 primitives_init_shift(prims); in primitives_init_generic() 77 primitives_init_sign(prims); in primitives_init_generic() 80 primitives_init_YUV(prims); in primitives_init_generic() 81 prims->uninit = NULL; in primitives_init_generic() 212 primitives_t* prims; in primitives_autodetect_best() member 239 if (!cur->prims) in primitives_autodetect_best() [all …]
|
H A D | prim_shift_opt.c | 61 void primitives_init_shift_opt(primitives_t* prims) in primitives_init_shift_opt() argument 64 primitives_init_shift(prims); in primitives_init_shift_opt() 66 prims->lShiftC_16s = (__lShiftC_16s_t)ippsLShiftC_16s; in primitives_init_shift_opt() 67 prims->rShiftC_16s = (__rShiftC_16s_t)ippsRShiftC_16s; in primitives_init_shift_opt() 68 prims->lShiftC_16u = (__lShiftC_16u_t)ippsLShiftC_16u; in primitives_init_shift_opt() 69 prims->rShiftC_16u = (__rShiftC_16u_t)ippsRShiftC_16u; in primitives_init_shift_opt() 75 prims->lShiftC_16s = sse2_lShiftC_16s; in primitives_init_shift_opt() 76 prims->rShiftC_16s = sse2_rShiftC_16s; in primitives_init_shift_opt() 77 prims->lShiftC_16u = sse2_lShiftC_16u; in primitives_init_shift_opt() 78 prims->rShiftC_16u = sse2_rShiftC_16u; in primitives_init_shift_opt()
|
H A D | prim_set.c | 47 primitives_t* prims; in general_set_32s() local 61 prims = primitives_get(); in general_set_32s() 70 prims->copy_8u((BYTE*)dptr, (BYTE*)(dptr + span), thiswidth << 2); in general_set_32s() 83 primitives_t* prims; in general_set_32u() local 97 prims = primitives_get(); in general_set_32u() 106 prims->copy_8u((BYTE*)dptr, (BYTE*)(dptr + span), thiswidth << 2); in general_set_32u() 115 void primitives_init_set(primitives_t* prims) in primitives_init_set() argument 118 prims->set_8u = general_set_8u; in primitives_init_set() 119 prims->set_32s = general_set_32s; in primitives_init_set() 120 prims->set_32u = general_set_32u; in primitives_init_set() [all …]
|
H A D | prim_internal.h | 256 FREERDP_LOCAL void primitives_init_copy(primitives_t* prims); 257 FREERDP_LOCAL void primitives_init_set(primitives_t* prims); 258 FREERDP_LOCAL void primitives_init_add(primitives_t* prims); 259 FREERDP_LOCAL void primitives_init_andor(primitives_t* prims); 260 FREERDP_LOCAL void primitives_init_shift(primitives_t* prims); 261 FREERDP_LOCAL void primitives_init_sign(primitives_t* prims); 263 FREERDP_LOCAL void primitives_init_colors(primitives_t* prims); 264 FREERDP_LOCAL void primitives_init_YCoCg(primitives_t* prims); 265 FREERDP_LOCAL void primitives_init_YUV(primitives_t* prims); 269 FREERDP_LOCAL void primitives_init_set_opt(primitives_t* prims); [all …]
|
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/ |
H A D | rfx_quantization.c | 52 prims->lShiftC_16s(buffer, factor, buffer, buffer_size); in rfx_quantization_decode_block() 57 const primitives_t* prims = primitives_get(); in rfx_quantization_decode() local 59 rfx_quantization_decode_block(prims, &buffer[0], 1024, quantVals[8] - 1); /* HL1 */ in rfx_quantization_decode() 60 rfx_quantization_decode_block(prims, &buffer[1024], 1024, quantVals[7] - 1); /* LH1 */ in rfx_quantization_decode() 61 rfx_quantization_decode_block(prims, &buffer[2048], 1024, quantVals[9] - 1); /* HH1 */ in rfx_quantization_decode() 62 rfx_quantization_decode_block(prims, &buffer[3072], 256, quantVals[5] - 1); /* HL2 */ in rfx_quantization_decode() 63 rfx_quantization_decode_block(prims, &buffer[3328], 256, quantVals[4] - 1); /* LH2 */ in rfx_quantization_decode() 64 rfx_quantization_decode_block(prims, &buffer[3584], 256, quantVals[6] - 1); /* HH2 */ in rfx_quantization_decode() 65 rfx_quantization_decode_block(prims, &buffer[3840], 64, quantVals[2] - 1); /* HL3 */ in rfx_quantization_decode() 66 rfx_quantization_decode_block(prims, &buffer[3904], 64, quantVals[1] - 1); /* LH3 */ in rfx_quantization_decode() [all …]
|
/dports/graphics/embree/embree-3.13.2/kernels/bvh/ |
H A D | bvh_builder.h | 26 …virtual NodeRef createLeaf (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc… 35 … NodeRef createLeaf (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc) { in createLeaf() 36 return createLeafFunc(prims,set,alloc); in createLeaf() 45 … return BVHNBuilderT<CreateLeafFunc>(createLeaf).build(allocator,progress,prims,pinfo,settings); in build() 58 …virtual NodeRef createLeaf (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc… 67 … NodeRef createLeaf (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc) { in createLeaf() 68 return createLeafFunc(prims,set,alloc); in createLeaf() 77 … return BVHNBuilderT<CreateLeafFunc>(createLeaf).build(allocator,progress,prims,pinfo,settings); in build() 101 … NodeRecordMB createLeaf (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc) { in createLeaf() 102 return createLeafFunc(prims,set,alloc); in createLeaf() [all …]
|
H A D | bvh_builder.cpp | 11 …ld(FastAllocator* allocator, BuildProgressMonitor& progressFunc, PrimRef* prims, const PrimInfo& p… in build() argument 13 …auto createLeafFunc = [&] (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc)… in build() argument 14 return createLeaf(prims,set,alloc); in build() 20 …BNode::Create2(),typename BVH::AABBNode::Set3(allocator,prims),createLeafFunc,progressFunc,prims,p… in build() 25 …ld(FastAllocator* allocator, BuildProgressMonitor& progressFunc, PrimRef* prims, const PrimInfo& p… in build() argument 27 …auto createLeafFunc = [&] (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc)… in build() argument 28 return createLeaf(prims,set,alloc); in build() 34 …e::Create2(),typename BVH::QuantizedNode::Set2(),createLeafFunc,progressFunc,prims,pinfo,settings); in build() 40 …auto createLeafFunc = [&] (const PrimRef* prims, const range<size_t>& set, const Allocator& alloc)… in build() argument 41 return createLeaf(prims,set,alloc); in build() [all …]
|
H A D | bvh_builder_hair.cpp | 26 mvector<PrimRef> prims; member 30 : bvh(bvh), scene(scene), prims(scene->device,0) {} in BVHNHairBuilderSAH() 36 bvh->alloc.unshare(prims); in build() 42 prims.clear(); in build() 49 prims.resize(numPrimitives); in build() 77 return LinePrimitive::createLeaf(bvh,prims,set,alloc); in build() 84 PrimRef* begin = prims.data()+range.begin(); in build() 99 scene,prims.data(),pinfo,settings); in build() 105 bvh->alloc.share(prims); in build() 109 prims.clear(); in build() [all …]
|
H A D | bvh_builder_sah_mb.cpp | 42 …__forceinline CreateMBlurLeaf (BVH* bvh, PrimRef* prims, size_t time) : bvh(bvh), prims(prims), ti… 48 …for (size_t i=start; i<end; i++) assert((*current.prims.prims)[start].geomID() == (*current.prims.… 60 PrimRef* prims; 78 size_t end = current.prims.end(); in operator ()() 79 …for (size_t i=start; i<end; i++) assert((*current.prims.prims)[start].geomID() == (*current.prims.… in operator ()() 84 …lBounds.extend(accel[i].fillMB(current.prims.prims->data(), start, current.prims.end(), bvh->scene… in operator ()() 168 prims.data(),pinfo,settings); 273 const PrimRefMB* prims = current.prims.prims->data(); in operator ()() local 460 prims.resize(numPrimitives); in createPrimRefArrayMBlurGrid() 517 prims.resize(numPrimitives); in createPrimRefArrayMSMBlurGrid() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/test/render/ |
H A D | gapi_render_tests_ocv.cpp | 35 cv::gapi::wip::draw::Prims prims; in TEST_P() local 53 cv::gapi::wip::draw::Prims prims; in TEST_P() local 99 cv::gapi::wip::draw::Prims prims; in TEST_P() local 129 cv::gapi::wip::draw::Prims prims; in TEST_P() local 140 cv::gapi::wip::draw::Prims prims; in TEST_P() local 153 cv::gapi::wip::draw::Prims prims; in TEST_P() local 180 cv::gapi::wip::draw::Prims prims; in TEST() local 191 cv::gapi::wip::draw::Prims prims; in TEST_P() local 209 cv::gapi::wip::draw::Prims prims; in TEST_P() local 235 cv::gapi::wip::draw::Prims prims; in TEST_P() local [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/gapi/perf/common/ |
H A D | gapi_render_perf_tests_inl.hpp | 38 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 77 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 118 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 161 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 199 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 239 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 279 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 321 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 362 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local 405 cv::gapi::wip::draw::Prims prims; in PERF_TEST_P_() local [all …]
|
/dports/graphics/embree/embree-3.13.2/tutorials/bvh_builder/ |
H A D | bvh_builder_device.cpp | 87 return (void*) new (ptr) LeafNode(prims->primID,*(BBox3fa*)prims); in create() 97 avector<RTCBuildPrimitive> prims; in build() local 98 prims.reserve(prims_i.size()+extraSpace); in build() 99 prims.resize(prims_i.size()); in build() 114 arguments.primitives = prims.data(); in build() 115 arguments.primitiveCount = prims.size(); in build() 128 for (size_t j=0; j<prims.size(); j++) prims[j] = prims_i[j]; in build() 147 avector<RTCBuildPrimitive> prims; in device_init() local 148 prims.resize(N); in device_init() 166 prims[i] = prim; in device_init() [all …]
|
/dports/lang/clover/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/mesa/drivers/dri/i965/ |
H A D | brw_primitive_restart.c | 200 new_prim = prims[0]; in vbo_sw_primitive_restart_common_start() 215 prims = &new_prim; in vbo_sw_primitive_restart_common_start() 235 prims[0].start, prims[0].start + ib->count, in vbo_sw_primitive_restart_common_start() 246 end_index = prims[prim_num].start + prims[prim_num].count; in vbo_sw_primitive_restart_common_start() 247 memcpy(&temp_prim, &prims[prim_num], sizeof (temp_prim)); in vbo_sw_primitive_restart_common_start() 252 if (prims[prim_num].start <= sub_prim->start) { in vbo_sw_primitive_restart_common_start() 277 const struct _mesa_prim *prims, in vbo_sw_primitive_restart() argument 289 if (prims[i].start != prims[0].start) in vbo_sw_primitive_restart() 293 vbo_sw_primitive_restart_common_start(ctx, &prims[0], i, ib, in vbo_sw_primitive_restart() 299 vbo_sw_primitive_restart(ctx, &prims[i], nr_prims - i, ib, in vbo_sw_primitive_restart() [all …]
|