These functions allow image transport plugins or applications to temporarily disable/re-enable the faker on a per-thread basis.
| 367 | // These functions allow image transport plugins or applications to temporarily |
| 368 | // disable/re-enable the faker on a per-thread basis. |
| 369 | void _vgl_disableFaker(void) |
| 370 | { |
| 371 | faker::setFakerLevel(faker::getFakerLevel() + 1); |
| 372 | faker::setGLXExcludeCurrent(true); |
| 373 | faker::setEGLExcludeCurrent(true); |
| 374 | faker::setOGLExcludeCurrent(true); |
| 375 | } |
| 376 | |
| 377 | void _vgl_enableFaker(void) |
| 378 | { |
no outgoing calls