getCurrentDisplayMode(IODisplayModeID *, IOIndex *)
Return the framebuffers display mode and depth to be used during boot and at startup.
Declaration
virtual IOReturn getStartupDisplayMode(
IODisplayModeID *displayMode,
IOIndex *depth );Parameters
- displayMode:
A display mode ID representing the mode used during startup.
- depth:
An index indicating the depth configuration of the framebuffer used during startup. The index should range from zero to the value of the maxDepthIndex field from the IODisplayModeInformation structure for the display mode.
Return Value
an IOReturn code.
Overview
IOFramebuffer subclasses should implement this method to return the current mode and depth.
See Also
Miscellaneous
connectFlagsconvertCursorImagedoI2CRequestenableControllerflushCursorgetApertureRangegetAppleSensegetAttributegetAttributeForConnectiongetConnectionCountgetDDCBlockgetDisplayModeCountgetDisplayModesgetInformationForDisplayModegetPixelFormatsgetPixelFormatsForDisplayModegetPixelInformationgetStartupDisplayModegetTimingInfoForDisplayModegetVRAMRangehandleEventhasDDCConnectreadDDCClockreadDDCDataregisterForInterruptTypesetApertureEnablesetAttributesetAttributeForConnectionsetCLUTWithEntriessetCurrentDisplayModesetCursorImagesetCursorStatesetDDCClocksetDDCDatasetDetailedTimingssetDisplayModesetGammaTablesetInterruptStatesetStartupDisplayModeunregisterInterrupt(void *)unregisterInterrupt(void *, UInt32)validateDetailedTiming