[vtkusers] How do we check weather my VTK application is using GPU/ Graphic card

Ken Martin ken.martin at kitware.com
Tue Jul 18 11:32:39 EDT 2017


You might try

cout << yourRenderWindow->ReportCapabilities();

or something like that

On Tue, Jul 18, 2017 at 10:58 AM, Dan Lipsa <dan.lipsa at kitware.com> wrote:

> You'll have to cast your render window to vtkOpenGLRenderWindow.
> If w is your render window you have to:
>
> vtkOpenGLExtensionManager *extensions = w->GetExtensionManager();
> std::cout << extensions->GetDriverGLVendor() << std::endl
>               << extensions->GetDriverGLVersion() << std::endl
>               << extensions->GetDriverGLRenderer() << std::endl;
>
>
> On Mon, Jul 17, 2017 at 6:18 PM, kay <jayavardhanravi at outlook.com> wrote:
>
>> I am trying to measure the performance of the VTK application. I am trying
>> find whether my application is using graphic card or not. Can anyone let
>> me
>> know how do I check this.
>>
>> I had the NVidia graphic card installed on my system and all the drivers
>> are
>> updated.
>>
>> Thanks for you time
>>
>> Regards,
>> Kay
>>
>>
>>
>> --
>> View this message in context: http://vtk.1045678.n5.nabble.c
>> om/How-do-we-check-weather-my-VTK-application-is-using-GPU-
>> Graphic-card-tp5743997.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170718/aad21299/attachment.html>


More information about the vtkusers mailing list