Searched refs:modeRef (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/
H A DquartzRandR.c95 static void QuartzRandRGetModeInfo (CFDictionaryRef modeRef, argument
97 pMode->width = (size_t) getDictLong(modeRef, kCGDisplayWidth);
98 pMode->height = (size_t) getDictLong(modeRef, kCGDisplayHeight);
99 pMode->refresh = (int)(getDictDouble(modeRef, kCGDisplayRefreshRate) + 0.5);
120 CFDictionaryRef modeRef = (CFDictionaryRef) pMode->ref; local in function:QuartzRandRSetCGMode
121 return (CGDisplaySwitchToMode(screenId, modeRef) == kCGErrorSuccess);
132 CFDictionaryRef curModeRef, modeRef; local in function:QuartzRandREnumerateModes
149 modeRef = (CFDictionaryRef) CFArrayGetValueAtIndex(modes, i);
153 if (((unsigned long) getDictLong(modeRef, kCGDisplayIOFlags) &
156 if (getDictLong(modeRef, kCGDisplayBitsPerPixe
198 QuartzRandRGetModeInfo(CGDisplayModeRef modeRef,QuartzModeInfoPtr pMode) argument
222 CGDisplayModeRef modeRef = (CGDisplayModeRef) pMode->ref; local in function:QuartzRandRSetCGMode
237 CGDisplayModeRef curModeRef, modeRef; local in function:QuartzRandREnumerateModes
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A DquartzRandR.c67 QuartzRandRGetModeInfo(CGDisplayModeRef modeRef, argument
70 pMode->width = CGDisplayModeGetWidth(modeRef);
71 pMode->height = CGDisplayModeGetHeight(modeRef);
72 pMode->refresh = (int)(CGDisplayModeGetRefreshRate(modeRef) + 0.5);
96 CGDisplayModeRef modeRef = (CGDisplayModeRef)pMode->ref; local in function:QuartzRandRSetCGMode
97 if (!modeRef)
100 return (CGDisplaySetDisplayMode(screenId, modeRef,
114 CGDisplayModeRef curModeRef, modeRef; local in function:QuartzRandREnumerateModes
135 modeRef = (CGDisplayModeRef)CFArrayGetValueAtIndex(modes, i);
139 if ((CGDisplayModeGetIOFlags(modeRef)
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
H A DxprScreen.c306 CGDisplayModeRef modeRef;
309 modeRef = CGDisplayCopyDisplayMode(kCGDirectMainDisplay);
310 if(!modeRef)
313 encStrRef = CGDisplayModeCopyPixelEncoding(modeRef);
314 CFRelease(modeRef);
/xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
H A DxprScreen.c325 CGDisplayModeRef modeRef; local in function:xprAddScreen
328 modeRef = CGDisplayCopyDisplayMode(kCGDirectMainDisplay);
329 if (!modeRef)
332 encStrRef = CGDisplayModeCopyPixelEncoding(modeRef);
333 CFRelease(modeRef);

Completed in 5 milliseconds