Skip to content
  • Joachim Pouderoux's avatar
    Use GL time query to probe mapper rendering time. · 0ff60a5b
    Joachim Pouderoux authored
    So far the TimeToDraw was always set to 0.0001. Now the
    time take by the rendering calls performed by the mapper
    is evaluated using the time query provided by the GPU
    for the previous frame.
    
    This patch allows to make vtkLODMapper work as expected.
    Limitation:
     - for new backend only.
     - not supported by GLES
    0ff60a5b