#include <IOKit/graphics/IOAccelSurfaceConnect.h>

IOKit/graphics/IOAccelSurfaceConnect.h Kernel.framework

7 enums · 6 typedefs · 1 struct · 1 macro

structIOAccelDeviceRegion

* Surface visible region in device coordinates. * * num_rects: The number of rectangles in the rect array. If num_rects * is zero the bounds rectangle is used for the visible rectangle. * If num_rects is zero the surface must be completely contained * by the device. * * bounds: The unclipped surface rectangle in device coords. Extends * beyond the device bounds if the surface is not totally on * the device. * * rect[]: An array of visible rectangles in device coords. If num_rects * is non-zero only the region described by these rectangles is * copied to the frame buffer during a flush operation.
size 12, align 4
UInt32num_rects
IOAccelBoundsbounds
IOAccelBounds[0]rect

typedefIOAccelDeviceRegion

typedef struct IOAccelDeviceRegion IOAccelDeviceRegion;

macroIOACCEL_SIZEOF_DEVICE_REGION

* Determine the size of a region.
#define IOACCEL_SIZEOF_DEVICE_REGION(_rgn_) (sizeof(IOAccelDeviceRegion) + (_rgn_)->num_rects * sizeof(IOAccelBounds))

enumeIOAccelSurfaceMemoryTypes

* Surface client public memory types. Private memory types start with * kIOAccelNumSurfaceMemoryTypes.
underlying type unsigned int
kIOAccelNumSurfaceMemoryTypes0

enumeIOAccelSurfaceMethods

* Surface client public methods. Private methods start with * kIOAccelNumSurfaceMethods.
underlying type unsigned int
kIOAccelSurfaceReadLockOptions0
kIOAccelSurfaceReadUnlockOptions1
kIOAccelSurfaceGetState2
kIOAccelSurfaceWriteLockOptions3
kIOAccelSurfaceWriteUnlockOptions4
kIOAccelSurfaceRead5
kIOAccelSurfaceSetShapeBacking6
kIOAccelSurfaceSetIDMode7
kIOAccelSurfaceSetScale8
kIOAccelSurfaceSetShape9
kIOAccelSurfaceFlush10
kIOAccelSurfaceQueryLock11
kIOAccelSurfaceReadLock12
kIOAccelSurfaceReadUnlock13
kIOAccelSurfaceWriteLock14
kIOAccelSurfaceWriteUnlock15
kIOAccelSurfaceControl16
kIOAccelSurfaceSetShapeBackingAndLength17
kIOAccelNumSurfaceMethods18

enumeIOAccelSurfaceModeBits

* Option bits for IOAccelCreateSurface and the kIOAccelSurfaceSetIDMode method. * The color depth field can take any value of the _CGSDepth enumeration.
underlying type unsigned int
kIOAccelSurfaceModeColorDepth15553
kIOAccelSurfaceModeColorDepth88884
kIOAccelSurfaceModeColorDepthYUV6kIOAccelSurfaceModeColorDepthRGB565 = 0x00000005,
kIOAccelSurfaceModeColorDepthYUV97
kIOAccelSurfaceModeColorDepthYUV128
kIOAccelSurfaceModeColorDepthYUV29
kIOAccelSurfaceModeColorDepthBGRA3210
kIOAccelSurfaceModeColorDepth210101015kIOAccelSurfaceModeColorDepthYUV420 = 0x0000000E,
kIOAccelSurfaceModeColorDepthBits15
kIOAccelSurfaceModeStereoBit16
kIOAccelSurfaceModeWindowedBit32
kIOAccelSurfaceModeSurface216384
kIOAccelSurfaceModeBeamSync32768

typedefeIOAccelSurfaceModeBits

typedef enum eIOAccelSurfaceModeBits eIOAccelSurfaceModeBits;

enumeIOAccelSurfaceShapeBits

* Options bits for IOAccelSetSurfaceShape and the kIOAccelSurfaceSetShape method.
underlying type unsigned int
kIOAccelSurfaceShapeNone0
kIOAccelSurfaceShapeNonBlockingBit1
kIOAccelSurfaceShapeNonSimpleBit2
kIOAccelSurfaceShapeIdentityScaleBit4
kIOAccelSurfaceShapeFrameSyncBit8
kIOAccelSurfaceShapeBeamSyncBit16
kIOAccelSurfaceShapeStaleBackingBit32
kIOAccelSurfaceShapeAssemblyBit64
kIOAccelSurfaceShapeWaitEnabledBit128
kIOAccelSurfaceShapeBlockingBit1wrong name, use kIOAccelSurfaceShapeNonBlockingBit

typedefeIOAccelSurfaceShapeBits

typedef enum eIOAccelSurfaceShapeBits eIOAccelSurfaceShapeBits;

enumeIOAccelSurfaceStateBits

* Return bits for the kIOAccelSurfaceGetState method.
underlying type unsigned int
kIOAccelSurfaceStateNone0
kIOAccelSurfaceStateIdleBit1

typedefeIOAccelSurfaceStateBits

typedef enum eIOAccelSurfaceStateBits eIOAccelSurfaceStateBits;

enumeIOAccelSurfaceScaleBits

* Option bits for the kIOAccelSurfaceSetScale method.
underlying type unsigned int
kIOAccelSurfaceBeamSyncSwaps1
kIOAccelSurfaceFixedSource2
kIOAccelSurfaceFiltering240
kIOAccelSurfaceFilterDefault0
kIOAccelSurfaceFilterNone16
kIOAccelSurfaceFilterLinear32

typedefeIOAccelSurfaceScaleBits

typedef enum eIOAccelSurfaceScaleBits eIOAccelSurfaceScaleBits;

enumeIOAccelSurfaceLockBits

* Option bits for the kIOAccelSurfaceLock methods.
underlying type unsigned int
kIOAccelSurfaceLockInBacking0
kIOAccelSurfaceLockInAccel1
kIOAccelSurfaceLockInDontCare2
kIOAccelSurfaceLockInMask3

typedefeIOAccelSurfaceLockBits

typedef enum eIOAccelSurfaceLockBits eIOAccelSurfaceLockBits;