[vtkusers] GPURenderDemo- Difference between linux OS and Windows OS

Emptystack wulihouxiaoshuai at 163.com
Tue Sep 23 03:15:42 EDT 2014


I have used the gnome-system-monitor and top commands to test the memory of
my applications. The result is almost same. So I used gdb to test the memory
increasing point, which happened at the following lines of the
vtkOpenGLGPUVolumeRayCastMapper.cxx:

                  if(1) // !this->SupportsPixelBufferObjects)
                    {
                    vtkgl::TexImage3D(vtkgl::TEXTURE_3D, 0, internalFormat,
                                     
textureSize[0],textureSize[1],textureSize[2],
                                      0,format,type,dataPtr);
                    }

the increasing memory is almost the size of the input image data. But on
windows system,the occupied memory didn't increase on this point. Maybe just
as you said, the RES memory of the top command  may also include the video
memory used by the application,but I cannot find the evidence  to prove this
comment. I will spend the following several days to solve this interesting
problem.
 

Many thanks!



--
View this message in context: http://vtk.1045678.n5.nabble.com/GPURenderDemo-Difference-between-linux-OS-and-Windows-OS-tp5728759p5728838.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list