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

Function pf_get

util/pf.c:576–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574
575
576PF *pf_get(int id)
577{
578 switch(id)
579 {
580 case PF_RGB: return &__format_RGB;
581 case PF_RGBX: return &__format_RGBX;
582 case PF_RGB10_X2: return &__format_RGB10_X2;
583 case PF_BGR: return &__format_BGR;
584 case PF_BGRX: return &__format_BGRX;
585 case PF_BGR10_X2: return &__format_BGR10_X2;
586 case PF_XBGR: return &__format_XBGR;
587 case PF_X2_BGR10: return &__format_X2_BGR10;
588 case PF_XRGB: return &__format_XRGB;
589 case PF_X2_RGB10: return &__format_X2_RGB10;
590 case PF_COMP: return &__format_COMP;
591 default: return &__format_NONE;
592 }
593}

Callers 15

initMethod · 0.85
FrameMethod · 0.85
initMethod · 0.85
decompressRGBMethod · 0.85
CompressedFrameMethod · 0.85
compressRGBMethod · 0.85
checkFrameFunction · 0.85
rgbBenchFunction · 0.85
mainFunction · 0.85
ppm_loadFunction · 0.85
bmp_loadFunction · 0.85
ppm_saveFunction · 0.85

Calls

no outgoing calls

Tested by 5

writeTestFunction · 0.68
readTestFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68