<div dir="ltr">It is here <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/1002">https://gitlab.kitware.com/vtk/vtk/merge_requests/1002</a> but I do not believe it was included in the VTK 7 rc.<div><br></div><div>Ken<br><div><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 12:25 PM, Orion Poplawski <span dir="ltr"><<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the response, but I can't find any evidence of these macros in the<br>
installed headers or anything else of use in that header file, except perhaps<br>
the new definition of VTK_USE_GLSL_SHADERS.<br>
<br>
On 02/08/2016 09:59 AM, Ken Martin wrote:<br>
> I believe you can do<br>
><br>
> #include "vtkRenderingOpenGLConfigure.h"<br>
><br>
> #ifdef VTK_OPENGL2<br>
> blah<br>
> #endif<br>
><br>
> #ifdef VTK_OPENGL1<br>
> blah<br>
> #endif<br>
><br>
><br>
><br>
> On Fri, Feb 5, 2016 at 11:27 AM, Orion Poplawski <<a href="mailto:orion@cora.nwra.com">orion@cora.nwra.com</a><br>
> <mailto:<a href="mailto:orion@cora.nwra.com">orion@cora.nwra.com</a>>> wrote:<br>
><br>
>     I'm looking at updating the Fedora VTK package to 7.0 and rebuilding dependent<br>
>     packages here: <a href="https://copr.fedorainfracloud.org/coprs/orion/vtk7/builds/" rel="noreferrer" target="_blank">https://copr.fedorainfracloud.org/coprs/orion/vtk7/builds/</a><br>
><br>
>     One problem is packages (e.g. engrid) that do:<br>
><br>
>     VTK_MODULE_INIT(vtkRenderingOpenGL);<br>
><br>
>     It appears that with VTK 7.0 it would need to do:<br>
><br>
>     VTK_MODULE_INIT(vtkRenderingOpenGL2);<br>
><br>
>     What's the best way for projects to handle this automatically, as the vtk they<br>
>     are building against may have been built with either backend.<br>
><br>
><br>
>     --<br>
>     Orion Poplawski<br>
>     Technical Manager                     <a href="tel:303-415-9701%20x222" value="+13034159701">303-415-9701 x222</a><br>
>     <tel:303-415-9701%20x222><br>
>     NWRA, Boulder/CoRA Office             FAX: <a href="tel:303-415-9702" value="+13034159702">303-415-9702</a> <tel:<a href="tel:303-415-9702" value="+13034159702">303-415-9702</a>><br>
>     3380 Mitchell Lane                       <a href="mailto:orion@nwra.com">orion@nwra.com</a><br>
>     <mailto:<a href="mailto:orion@nwra.com">orion@nwra.com</a>><br>
>     Boulder, CO 80301                   <a href="http://www.nwra.com" rel="noreferrer" target="_blank">http://www.nwra.com</a><br>
>     _______________________________________________<br>
>     Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><br>
><br>
>     Visit other Kitware open-source projects at<br>
>     <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
>     Please keep messages on-topic and check the VTK FAQ at:<br>
>     <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
>     Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
><br>
>     Follow this link to subscribe/unsubscribe:<br>
>     <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Ken Martin PhD<br>
> Chairman & CFO<br>
> Kitware Inc.<br>
> 28 Corporate Drive<br>
> Clifton Park NY 12065<br>
> <a href="tel:518%20371%203971" value="+15183713971">518 371 3971</a><br>
><br>
> This communication, including all attachments, contains confidential and<br>
> legally privileged information, and it is intended only for the use of the<br>
> addressee.  Access to this email by anyone else is unauthorized. If you are<br>
> not the intended recipient, any disclosure, copying, distribution or any<br>
> action taken in reliance on it is prohibited and may be unlawful. If you<br>
> received this communication in error please notify us immediately and destroy<br>
> the original message.  Thank you.<br>
<br>
<br>
--<br>
Orion Poplawski<br>
Technical Manager                     <a href="tel:303-415-9701%20x222" value="+13034159701">303-415-9701 x222</a><br>
NWRA, Boulder/CoRA Office             FAX: <a href="tel:303-415-9702" value="+13034159702">303-415-9702</a><br>
3380 Mitchell Lane                       <a href="mailto:orion@nwra.com">orion@nwra.com</a><br>
Boulder, CO 80301                   <a href="http://www.nwra.com" rel="noreferrer" target="_blank">http://www.nwra.com</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div>
</div>