ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOFramebuffer.h

Includes:
<IOKit/IOService.h>
<IOKit/IOInterruptEventSource.h>
<IOKit/graphics/IOGraphicsDevice.h>
<IOKit/graphics/IOFramebufferShared.h>
<IOKit/IOLib.h>
<IOKit/graphics/IOFramebufferPrivate.h>

Overview



Classes

IOFramebuffer

The base class for graphics devices to be made available as part of the desktop.



Structs and Unions


IOHardwareCursorInfo


A structure defining the converted data of a hardware cursor.

struct IOHardwareCursorInfo { 
    UInt16 majorVersion; 
    UInt16 minorVersion; 
    UInt32 cursorHeight; 
    UInt32 cursorWidth; 
    // nil or big enough for hardware's max colors 
    IOColorEntry *colorMap; 
    UInt8 *hardwareCursorData; 
    UInt32 reserved[6]; 
};  
Fields
majorVersion

Set to kHardwareCursorInfoMajorVersion.

minorVersion

Set to kHardwareCursorInfoMinorVersion.

cursorHeight

The actual size of the cursor is returned.

cursorWidth

The actual size of the cursor is returned.

colorMap

Pointer to array of IOColorEntry structures, with the number of elements set by the numColors field of the IOHardwareCursorDescriptor. Zero should be passed for direct pixel formats.

hardwareCursorData

Buffer to receive the converted cursor data.

reserved

Reserved, set to zero.

Discussion

This structure is used by IOFramebuffer to return the data of a hardware cursor by convertCursorImage() after conversion based on the IOHardwareCursorDescriptor passed to that routine.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19