- 29 Oct, 2016 2 commits
-
-
Ken Martin authored
The context was getting cleaned too often maybe. This fix reverts one line from commit https://gitlab.kitware.com/vtk/vtk/commit/ 3a8e4497 This commit fixes issue vtk/vtk#16876 and adds a test for that condition as well as a few other cases that should work but could cause problems. This change could introduce other issues limited to windows as the code is fairly complex and the use cases vary widely. At some point the whole process of creating windows and handling offscreen drawing needs to be reworked. It is a mishmash of 20 years of code and overdue for a real workover for all platforms. But this topic is intended to fix this one case until we have time to really look at it and rework it. Currently the new test is only active for OpenGL2 and Windows. OpenGL1 and other platforms has issues with it that need to be fixed in the future. But for now this change fixes the reported Windows issues and adds a test to maintain that fix.
-
Ken Martin authored
Fix some long standing issues with multisamples and stereo capable window requests on Win32.
-
- 24 Oct, 2016 1 commit
-
-
Ken Martin authored
The context was getting cleaned too often maybe. This fix reverts one line from commit https://gitlab.kitware.com/vtk/vtk/commit/ 3a8e4497 This commit fixes issue vtk/vtk#16876 and adds a test for that condition as well as a few other cases that should work but could cause problems. This change could introduce other issues limited to windows as the code is fairly complex and the use cases vary widely. At some point the whole process of creating windows and handling offscreen drawing needs to be reworked. It is a mishmash of 20 years of code and overdue for a real workover for all platforms. But this topic is intended to fix this one case until we have time to really look at it and rework it. Currently the new test is only active for OpenGL2 and Windows. OpenGL1 and other platforms has issues with it that need to be fixed in the future. But for now this change fixes the reported Windows issues and adds a test to maintain that fix.
-
- 20 Oct, 2016 1 commit
-
-
Ken Martin authored
Fix some long standing issues with multisamples and stereo capable window requests on Win32.
-
- 11 Oct, 2016 1 commit
-
-
Ken Martin authored
The old code would reduce the number of samples requested but never disable it. This topic makes it so that after reducing the number, if will if needed try disabling MSAA altogether.
-
- 23 Sep, 2016 1 commit
-
-
Kitware Robot authored
This commit reindents the code with the following utility: Utilities/Maintenance/vtk-reindent-code.py This utility changes the positions of the braces so that they are no longer indented relative to the code block they reside in. The bash command line used was the following: for d in Charts Common Deprecated Domains Examples Filters GUISupport \ Geovis IO Imaging Infovis Interaction Parallel Rendering \ Testing Views Web Wrapping; do for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do find "${d}" -name "*.${e}" -exec \ python Utilities/Maintenance/vtk_reindent_code.py {} + done done
-
- 16 Sep, 2016 1 commit
-
-
Ken Martin authored
new approach to ReleaseGraphicsResources where objects that use opengl resources can register themselves with their current window/context so that when either they delete or the context is deleted the resources will be cleared correctly.
-
- 30 Aug, 2016 1 commit
-
-
Ken Martin authored
Cell normals should work now on systems that lack floating point texture support. Previously normal values less than zero would be clamped to zero.
-
- 08 Mar, 2016 1 commit
-
-
Kitware Robot authored
Code extracted from: https://gitlab.kitware.com/third-party/proj.git at commit 41bdf05361007f8c5186f3df9944d86bb273ed13 (for/vtk).
-
- 07 Mar, 2016 1 commit
-
-
Ken Martin authored
Since the 2000 and 3000 are the same basic arch test for both of them
-
- 27 Feb, 2016 1 commit
-
-
Ken Martin authored
on some systems 3.1 or 3.0 might work while 2.1 does not
-
- 23 Feb, 2016 1 commit
-
-
Andrew Bauer authored
-
- 19 Feb, 2016 1 commit
-
-
Ken Martin authored
rendering to a memory HDC is not support beyond opengl 1.4 so change the print methods to use FBOs
-
- 17 Feb, 2016 2 commits
-
-
Ken Martin authored
These calls should not be needed but pollute the code and the profiling results and potentially slow down execution
-
Ken Martin authored
add a GetOpenGLVersion method to OpenGLRenderWindow modify Win32OpenGLRenderWindow to try to get a more recent context than 3.2 if available.
-
- 28 Jan, 2016 1 commit
-
-
Sean McBride authored
Find/replace of: with C++ counterparts. Changed only vtk*.cxx files. Didn’t touch .h or .c or any 3rd party.
-
- 21 Jan, 2016 1 commit
-
-
Joachim Pouderoux authored
This function used to presume a window style used to compute the whole window size needed for a requested client frame size. The obtained client size of the window what finally not the one requested - thus the frame buffer was not of the size obtained by calling GetSize(), leading to problem when capturing image from the back buffer for instance. The current window style is now directly obtained using the related Win32 API function with the window hanle, ensuring a correct window rect computation.
-
- 06 Jan, 2016 1 commit
-
-
Joachim Pouderoux authored
This new function switch to hardware off-screen rendering mode with the current (on-screen) OpenGL context. This allows to render on this buffer to perform a rendering pass even if the window is hidden for instance.
-
- 26 Dec, 2015 1 commit
-
-
Ken Martin authored
when testing for ogl support capture warning and error output messages
-
- 17 Dec, 2015 1 commit
-
-
Ken Martin authored
Do the x window type check on windows as well
-
- 23 Nov, 2015 1 commit
-
-
Ken Martin authored
Added code to handle when a Stereo window can not be obtained. fixed the code to check for failing to get a pixel format.
-
- 20 Nov, 2015 2 commits
-
-
Ken Martin authored
An issue with OS windows lead to this. But it needs to done and it will not be working in the commit.
-
Ken Martin authored
Update Windows checks for OpenGL2
-
- 16 Nov, 2015 1 commit
-
-
Xabi authored
-
- 20 Oct, 2015 1 commit
-
-
Xabi authored
when registering the window class.
-
- 13 Sep, 2015 2 commits
-
-
Peter Karasev authored
-
Peter Karasev authored
Conflicts: Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx
-
- 20 Aug, 2015 1 commit
-
-
Brad King authored
We no longer need this compatibility layer for the compilers we support. Use the following commands to switch to standard header and namespace: git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||' git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
-
- 17 Aug, 2015 1 commit
-
-
Ben Boeckel authored
MSVC2015 warns about narrowing.
-
- 04 Aug, 2015 1 commit
-
-
Ben Boeckel authored
-
- 28 Jul, 2015 1 commit
-
-
Peter Karasev authored
-
- 23 Jul, 2015 3 commits
-
-
Peter Karasev authored
-
Peter Karasev authored
Conflicts: Common/Core/Testing/Python/TestEmptyInput.py IO/Import/vtkOBJImporter.cxx IO/Import/vtkOBJImporterInternals.cxx Rendering/Core/vtkLabeledContourMapper.cxx Rendering/External/vtkExternalOpenGLRenderer.cxx Rendering/External/vtkExternalOpenGLRenderer.h Rendering/OpenGL2/vtkGenericOpenGLRenderWindow.cxx Rendering/OpenGL2/vtkGenericOpenGLRenderWindow.h Rendering/Volume/Testing/Cxx/CMakeLists.txt
-
Peter Karasev authored
-
- 22 Jul, 2015 1 commit
-
-
Bill Lorensen authored
In the early days of VTK, support for stl was not portable. vtksys_stl and vtksys_ios provided a portable implementation of the stl. Now, all of the VTK supported compilers have portable stl implementations. This patch: 1) Replaces the vtksys_ios:: with std::. 2) Replaces the vtksys_stl:: with std::. 3) Removes "using" statements for stl
-
- 20 Jul, 2015 1 commit
-
-
Peter Karasev authored
-
- 26 May, 2015 1 commit
-
-
Ken Martin authored
-
- 20 May, 2015 1 commit
-
-
Ken Martin authored
The LIC shaders were not converted properly for gl 3.2 Cleanup some code standard issues
-
- 14 May, 2015 1 commit
-
-
David C. Lonie authored
Auto-detecting the screen DPI (which the win32 backend does) interferes with testing after we make 2D text rendering DPI-aware. Since only one backend supported automatic DPI detection, I moved this out into a user method so that folks who depend on this behavior can still have it, but we can test consistently.
-
- 07 May, 2015 1 commit
-
-
Ken Martin authored
-