#include <IOKit/graphics/IOGraphicsInterfaceTypes.h>
IOKit/graphics/IOGraphicsInterfaceTypes.h Kernel.framework
16 typedefs · 13 enums · 11 structs · 6 macros
#define IO_FOUR_CHAR_CODE(x) (x)
#define kCurrentGraphicsInterfaceVersion 1
#define kCurrentGraphicsInterfaceRevision 2
underlying type unsigned int
| kIOBlitTypeVerbMask | 255 | |
| kIOBlitTypeRects | 0 | |
| kIOBlitTypeCopyRects | 1 | |
| kIOBlitTypeLines | 2 | |
| kIOBlitTypeScanlines | 3 | |
| kIOBlitTypeCopyRegion | 4 | |
| kIOBlitTypeMoveCursor | 5 | |
| kIOBlitTypeShowCursor | 6 | |
| kIOBlitTypeHideCursor | 7 | |
| kIOBlitTypeMonoExpand | 256 | |
| kIOBlitTypeColorSpaceConvert | 512 | |
| kIOBlitTypeScale | 1024 | |
| kIOBlitTypeSourceKeyColorModeMask | 12288 | |
| kIOBlitTypeDestKeyColorModeMask | 49152 | |
| kIOBlitTypeSourceKeyColorEqual | 4096 | |
| kIOBlitTypeSourceKeyColorNotEqual | 8192 | |
| kIOBlitTypeDestKeyColorEqual | 16384 | |
| kIOBlitTypeDestKeyColorNotEqual | 32768 | |
| kIOBlitTypeOperationMask | 268369920 | |
| kIOBlitTypeOperationShift | 16 | |
| kIOBlitTypeOperationTypeMask | 251658240 | |
| kIOBlitTypeOperationType0 | 0 | |
| kIOBlitCopyOperation | 0 | |
| kIOBlitOrOperation | 65536 | |
| kIOBlitXorOperation | 131072 | |
| kIOBlitBlendOperation | 196608 | |
| kIOBlitHighlightOperation | 262144 | |
typedef UInt32 IOBlitSourceType
underlying type unsigned int
| kIOBlitSourceDefault | 0 | |
| kIOBlitSourceFramebuffer | 4096 | |
| kIOBlitSourceMemory | 8192 | |
| kIOBlitSourceOOLMemory | 12288 | |
| kIOBlitSourcePattern | 16384 | |
| kIOBlitSourceOOLPattern | 20480 | |
| kIOBlitSourceSolid | 24576 | |
| kIOBlitSourceCGSSurface | 28672 | |
| kIOBlitSourceIsSame | 2147483648 | |
typedef struct _IOBlitMemory * IOBlitMemoryRef
underlying type unsigned int
| kIO1MonochromePixelFormat | 1 | 1 bit indexed |
| kIO2IndexedPixelFormat | 2 | 2 bit indexed |
| kIO4IndexedPixelFormat | 4 | 4 bit indexed |
| kIO8IndexedPixelFormat | 8 | 8 bit indexed |
| kIO16BE555PixelFormat | 16 | 16 bit BE rgb 555 (Mac) |
| kIO24RGBPixelFormat | 24 | 24 bit rgb |
| kIO32ARGBPixelFormat | 32 | 32 bit argb (Mac) |
| kIO1IndexedGrayPixelFormat | 33 | 1 bit indexed gray |
| kIO2IndexedGrayPixelFormat | 34 | 2 bit indexed gray |
| kIO4IndexedGrayPixelFormat | 36 | 4 bit indexed gray |
| kIO8IndexedGrayPixelFormat | 40 | 8 bit indexed gray |
underlying type unsigned int
| kIO16LE555PixelFormat | 1278555445 | 16 bit LE rgb 555 (PC) |
| kIO16LE5551PixelFormat | 892679473 | 16 bit LE rgb 5551 |
| kIO16BE565PixelFormat | 1110783541 | 16 bit BE rgb 565 |
| kIO16LE565PixelFormat | 1278555701 | 16 bit LE rgb 565 |
| kIO24BGRPixelFormat | 842285639 | 24 bit bgr |
| kIO32BGRAPixelFormat | 1111970369 | 32 bit bgra (Matrox) |
| kIO32ABGRPixelFormat | 1094862674 | 32 bit abgr |
| kIO32RGBAPixelFormat | 1380401729 | 32 bit rgba |
| kIOYUVSPixelFormat | 2037741171 | YUV 4:2:2 byte ordering 16-unsigned = 'YUY2' |
| kIOYUVUPixelFormat | 2037741173 | YUV 4:2:2 byte ordering 16-signed |
| kIOYVU9PixelFormat | 1498830137 | YVU9 Planar 9 |
| kIOYUV411PixelFormat | 1496592689 | YUV 4:1:1 Interleaved 16 |
| kIOYVYU422PixelFormat | 1498831189 | YVYU 4:2:2 byte ordering 16 |
| kIOUYVY422PixelFormat | 1431918169 | UYVY 4:2:2 byte ordering 16 |
| kIOYUV211PixelFormat | 1496461617 | YUV 2:1:1 Packed 8 |
| kIO2vuyPixelFormat | 846624121 | UYVY 4:2:2 byte ordering 16 |
Non Quickdraw.h pixel formats
underlying type unsigned int
| kIO16LE4444PixelFormat | 1278489652 | 16 bit LE argb 4444 |
| kIO16BE4444PixelFormat | 1110717492 | 16 bit BE argb 4444 |
| kIO64BGRAPixelFormat | 1110521417 | 64 bit bgra |
| kIO64RGBAFloatPixelFormat | 1110521414 | 64 bit rgba |
| kIO128RGBAFloatPixelFormat | 1110651462 | 128 bit rgba float |
underlying type unsigned int
| kIOBlitMemoryRequiresHostFlush | 1 | |
underlying type unsigned int
| kIOBlitSynchronizeWaitBeamExit | 1 | options for Synchronize |
| kIOBlitSynchronizeFlushHostWrites | 2 | |
underlying type unsigned int
| kIOBlitWaitContext | 0 | options for WaitComplete & Flush |
| kIOBlitWaitAll2D | 1 | |
| kIOBlitWaitGlobal | 1 | |
| kIOBlitWaitAll | 2 | |
| kIOBlitWaitCheck | 128 | |
| kIOBlitFlushWithSwap | 65536 | |
underlying type unsigned int
| kIOBlitHasCGSSurface | 1 | options for AllocateSurface |
| kIOBlitFixedSource | 2 | |
| kIOBlitBeamSyncSwaps | 4 | |
| kIOBlitReferenceSource | 8 | |
underlying type unsigned int
| kIOBlitUnlockWithSwap | 2147483648 | options for UnlockSurface |
underlying type unsigned int
| kIOBlitFramebufferDestination | 0 | options for SetDestination |
| kIOBlitSurfaceDestination | 1 | |
underlying type unsigned int
| kIOBlitBeamSync | 1 | options for blit procs |
| kIOBlitBeamSyncAlways | 2 | |
| kIOBlitBeamSyncSpin | 4 | |
| kIOBlitAllOptions | 4294967295 | |
underlying type unsigned int
| kIOBlitColorSpaceTypes | 1668509795 | capabilities |
keys for IOAccelFindAccelerator()
#define kIOAccelTypesKey "IOAccelTypes"
#define kIOAccelIndexKey "IOAccelIndex"
#define kIOAccelRevisionKey "IOAccelRevision"