| 54 | } |
| 55 | |
| 56 | void GFXGLOcclusionQuery::end() |
| 57 | { |
| 58 | if (GFXDevice::getDisableOcclusionQuery()) |
| 59 | return; |
| 60 | |
| 61 | if (!glIsQuery(mQuery)) |
| 62 | return; |
| 63 | glEndQuery(GL_SAMPLES_PASSED); |
| 64 | mTesting = false; |
| 65 | } |
| 66 | |
| 67 | GFXOcclusionQuery::OcclusionQueryStatus GFXGLOcclusionQuery::getStatus(bool block, U32* data) |
| 68 | { |
no outgoing calls
no test coverage detected