- Sep 10, 2024
-
-
Jaswant Panchumarti (Kitware) authored
- closes #18547 - closes #19383 - Use glad instead of glew for loading GL extension functions because GLEW has trouble using GLX and EGL in the same build. - Replaces the VTK::glew module with VTK::glad. - Removed the utility VTK::opengl module because it is unnecessary after the changes made to vtkOpenGLOptions.cmake - OpenGL is now loaded at runtime in desktop platforms. - For mobile and webassembly, when VTK_OPENGL_USE_GLES is ON, glad finds and links to the OpenGL::GLES3 library. - Support for OSMesa is always available from VTK. Users must make sure the libOSMesa.so or osmesa.dll is installed. - Support for EGL is always available from VTK in Linux and Android. Users must make sure libEGL is installed. - On platforms where multiple render window backends are possible, the vtkOpenGLRenderWindow is made the default factory override and it's New method implements runtime tests to determine what render windows can work. It basically constructs the platform implementation render window, attempts to initialize it and checks whether it was successfully intialized. - The X OpenGL render window class was updated to not call abort. It also print warnings instead of errors when it fails to open X display. This allows us to safely test support for GLX at runtime. - The new environment variable VTK_DEFAULT_OPENGL_WINDOW can optionally be used to force a render window subclass at runtime. It is useful to debug support for a fallback render window on different system configuration. - Remove usage of unnecessary CMake flag VTK_OPENGL_HAS_MESA. - Since there is no compile time depedency for OSMesa in VTK, this commit makes VTK act as if it can always use OSMesa, obviously when the system executing VTK code has osmesa installed. - ci scripts will be adjusted in next commits
-
- Sep 06, 2024
-
-
Jaswant Panchumarti (Kitware) authored
# By gl2ps Upstream * upstream-gl2ps: gl2ps 2024-08-07 (005d2db7)
-
Code extracted from: https://gitlab.kitware.com/third-party/gl2ps.git at commit 005d2db7b0137598120e36b3fc438546d3fff73d (for/vtk-20240808-1.4.2).
-
Jaswant Panchumarti (Kitware) authored
- brings in the change which makes gl2ps use vtk glad GL header instead of system GL header
-
Kitware Robot authored
-
- Sep 05, 2024
-
-
Ben Boeckel authored
-
Ben Boeckel authored
* static-crash: token 2024-08-26 (a6a7aedd) Revert token 3rd-party… Add a release note. Force order of unregistration of cell-grid responders. Clean up registration of cell-grid responders before exit. Allow applications to clean up before leak reporting. Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !11392
-
1bec1195 Mark reference cycle for vtkResampleWithDataSet a1a07c4c Re-enable the probe.py test, the leaks are fixed 92dc6660 Fix vtkCutter ignoring GenerateTriangles dd323e54 Fix reference loops involving vtkCutter's helpers 164aff33 Fix possible reference loop for vtkSphereTree 2c3202e5 Add vtkGarbageCollectorReport() for vtkNew Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Spiros Tsalikis <spiros.tsalikis@kitware.com> Merge-request: !11315
-
Ben Boeckel authored
* static-crash: token 2024-08-26 (a6a7aedd) Revert token 3rd-party… Add a release note. Force order of unregistration of cell-grid responders. Clean up registration of cell-grid responders before exit. Allow applications to clean up before leak reporting. Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !11392
-
77c64123 Fix XML partitioned data writers to use proper subdirectory Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Acked-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Cory Quammen <cory.quammen@kitware.com> Merge-request: !11456
-
49626808 Sync vtkParse.y with vtkParse.tab.c Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Christos Tsolakis <christos.tsolakis@kitware.com> Merge-request: !11455
-
Kitware Robot authored
-
- Sep 04, 2024
-
-
580c20a9 WGPUConfiguration initialization refactor in vtkWebGPUComputePipeline Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11436
-
7e1f8ef7 Fix array write beyond MaxId in vtkSMPMergePoints 7c5e963e Ensure atomicity of insertion Id e5199790 Minor fix to vtkCleanPolyData when not merging 4e276502 Minor fix to vtkPolyLineWidget representation 007fe299 Fix loop count in vtkImageTracerWidget 407dea94 Init the IntegrationTime array to number of points 8cf2fc7c Test was not setting length of array a180e106 Set MaxId of all output arrays before threading Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com> Merge-request: !11453
-
Andrew Bauer authored
The filename split was based on the first period instead of the last. If the user had multiple periods in the filename then the first period would be used as the separator between the base filename and the extension. For writing out file series this caused data to be overwritten since the same subdirectory was being used for each time step.
-
David Gobbi authored
There were a couple code differences between these files, either typos, omissions, or formatting. For each difference, it was the code in vtkParse.tab.c that was correct, so the code in vtkParse.y has been fixed.
-
Kitware Robot authored
-
- Sep 03, 2024
-
-
David Gobbi authored
Calling SetNumberOfPoints()/SetNumberOfTuples() on the points and arrays before merging the results ensures that we never index an array past the MaxId of the array. We call Resize() first, since Resize() will preserve existing data on reallocation, while SetNumberOfTuples() won't preserve data on reallocation, but will preserve data if the array stays the same size or shrinks.
-
24959a33 Add protection for missing arrays in ADIOS2 VTX reader Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
William F Godoy <williamfgc@yahoo.com> Acked-by:
William F Godoy <williamfgc@yahoo.com> Merge-request: !11426
-
eda5d0bc remove unnecessary usage of ANARI instancing Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com> Merge-request: !11445
-
David Gobbi authored
-
c44e868d Add corners property for vtkBoxRepresentation Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Sebastien Jourdain <sebastien.jourdain@kitware.com> Merge-request: !11450
-
688a5c0e wrapping: use -pthread flag for vtkWrapSerDes and vtkWrapHierarchy e203a00b ci: cache flags to disable testing and threads in wasm no-threads config Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11431
-
221959a1 Implicit Annulus Widget: Add a test 660f3a49 Implicit Annulus: Representation and widget 564a4633 Implicit Annulus Widget: Introduce annulus implicit function Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Nicolas Vuaille <nicolas.vuaille@kitware.com> Reviewed-by:
Lucas Givord <lucas.givord@kitware.com> Merge-request: !11424
-
Kitware Robot authored
-
- Sep 02, 2024
-
-
df6c6b16 Fix two non-const args in operator equals Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com> Merge-request: !11451
-
52702500 Excluded WebGPU tests from wasm64-emscripten job 9fabd0f9 Fix PointCloudMapper tests with wasm32 f6d6e1e3 WebGPU Point Cloud Mapper 299b8800 PopulateRequiredLimits() & PopulateRequiredFeatures() 313c79da Refactor WebGPU Compute API Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Lucas Givord <lucas.givord@kitware.com> Reviewed-by:
Léon Victor <leon.victor@kitware.com> Merge-request: !11361
-
Kitware Robot authored
-
- Sep 01, 2024
-
-
David Gobbi authored
CallSetNumberOfPoints() at beginning rather than only allocating. This ensures that there is no point access beyond the MaxId of the point data array. The points array is shrunk to the final size after execution is complete.
-
David Gobbi authored
Insert points to ensure points are properly sized.
-
David Gobbi authored
This is the loop to project the polyline points to a plane.
-
David Gobbi authored
This matches code elsewhere in FlowPaths, e.g. vtkStreamSurface.cxx.
-
David Gobbi authored
Allocate() just reserves memory, e.g. in preparation for insertion, but SetNumberOfTuples() is necessary to set size before SetTuple().
-
David Gobbi authored
When vtkDataSetAttributes::CopyData() inserts a tuple, it will adjust MaxId if MaxId is less than the tuple index. We must ensure this doesn't happen when multithreading, or the threads will fight over MaxId.
-
730b9120 ci: add java upload job e3684d3d add win/mac builds 31e8bd8b ci: enable java fedora builds 2fd39f0d java: update java modules to latest vtk modules 143e6d60 Fix dependency of vtkjava.jar in vtkjava_tests ddb255d0 Restore JavaInstall.cmake 7ad90986 Revert "Wrapping/Java: remove unreachable code" Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11399
-
Kitware Robot authored
-
- Aug 31, 2024
-
-
a533da7d Tweak EXPECTS for array Get/SetComponent() Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Reviewed-by:
Sean McBride <sean@rogue-research.com> Merge-request: !11433
-
a06ed15b No SMP for vtkGeoTransform, it cannot multi-thread 05ea7b5d Use SMP in more than just vtkLinearTransform Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !11342
-
David Gobbi authored
This filter already had its own TransformPoints() implementation, which is not multi-threading, but it was using the base class TransformPointsNormalVectors() implemtation, which uses SMPTools. So this class must override that method to avoid multi-threading.
-
David Gobbi authored
Adds SMP to vtkAbstractTransform, vtkHomogeneousTransform, and vtkIdentityTransform. The implementation in vtkAbstractTransform takes care of vtkWarpTransform and its subclasses vtkGridTransform and vtkBSplineTransform.
-