| 32 | namespace { |
| 33 | |
| 34 | bool haveHardwareOcclusionQueries() { |
| 35 | return OPENCSG_HAS_EXT(ARB_occlusion_query) |
| 36 | || OPENCSG_HAS_EXT(NV_occlusion_query); |
| 37 | } |
| 38 | |
| 39 | Algorithm chooseAlgorithm(const std::vector<Primitive*>& primitives) { |
| 40 | if (Algo::getConvexity(primitives) >= 2) { |
no outgoing calls
no test coverage detected