MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / display

Function display

util/fbxtest.cpp:501–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499
500
501void display(void)
502{
503 if(doStress)
504 {
505 fprintf(stderr, "-- Stress tests --\n");
506 #ifndef _WIN32
507 if(doShm)
508 {
509 FG(); nativeStress(1);
510 }
511 #endif
512 FG(); nativeStress(0);
513 fprintf(stderr, "\n");
514 return;
515 }
516
517 fprintf(stderr, "-- Performance tests --\n");
518 #ifndef _WIN32
519 if(doShm)
520 {
521 FG(); nativeWrite(1);
522 FG(); nativeRead(1);
523 }
524 #endif
525 FG(); nativeWrite(0);
526 FG(); nativeRead(0);
527 fprintf(stderr, "\n");
528}
529
530
531#ifdef _WIN32

Callers 6

WndProcFunction · 0.70
mainFunction · 0.70
selectMethod · 0.50
select_onlyMethod · 0.50
handleMethod · 0.50
make_visibleFunction · 0.50

Calls 3

nativeStressFunction · 0.85
nativeWriteFunction · 0.85
nativeReadFunction · 0.85

Tested by

no test coverage detected