| 164 | } |
| 165 | |
| 166 | float FrameBuffer::getCurrentProgress() const |
| 167 | { |
| 168 | #ifdef OSPRAY_TARGET_SYCL |
| 169 | // TODO: Continually polling this will cause a lot of USM thrashing |
| 170 | return 0.f; |
| 171 | #else |
| 172 | return static_cast<float>(getSh()->numPixelsRendered) |
| 173 | / getNumPixels().long_product(); |
| 174 | #endif |
| 175 | } |
| 176 | |
| 177 | void FrameBuffer::cancelFrame() |
| 178 | { |