[vtkusers] vtkGPUInfoList does not work with OpenGL2

Csaba Pinter csaba.pinter at queensu.ca
Tue Jun 12 11:56:07 EDT 2018


Hi again,

I'd appreciate any information about using GPU info list with the new OpenGL2 backend. Please see below.

Thanks,
csaba

From: vtkusers <vtkusers-bounces at public.kitware.com> On Behalf Of Csaba Pinter
Sent: Thursday, June 7, 2018 15:57
To: vtkusers at vtk.org
Subject: [vtkusers] vtkGPUInfoList does not work with OpenGL2

Hi all,

I'm trying to use the vtkGPUInfoList in VTK 9 built using OpenGL backend 2 to get the GPU memory. On both Windows 10 (with GeForce 1060) and MacOSX (10.13 Mid-2014), GetNumberOfGPUs returns 0 after Probe. Which is not surprising, because the instantiated info list object is of type vtkDummyGPUInfoList, which, according to the documentation, is "Useful when an OS specific implementation is not available".

Is vtkGPUInfoList supposed to work with OpenGL2? Should I use another class?

Thanks,
csaba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180612/19af08e3/attachment.html>


More information about the vtkusers mailing list