| CoreGraphicsState.h | | CoreGraphicsState.h | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 60 | |
| DFBSurfaceBlittingFlags flags); | | DFBSurfaceBlittingFlags flags); | |
| | | | |
| DFBResult CoreGraphicsState_SetClip( | | DFBResult CoreGraphicsState_SetClip( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| const DFBRegion *region); | | const DFBRegion *region); | |
| | | | |
| DFBResult CoreGraphicsState_SetColor( | | DFBResult CoreGraphicsState_SetColor( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| const DFBColor *color); | | const DFBColor *color); | |
| | | | |
|
| | | DFBResult CoreGraphicsState_SetColorAndIndex( | |
| | | CoreGraphicsState *obj, | |
| | | const DFBColor *color, | |
| | | u32 index); | |
| | | | |
| DFBResult CoreGraphicsState_SetSrcBlend( | | DFBResult CoreGraphicsState_SetSrcBlend( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function); | | DFBSurfaceBlendFunction function); | |
| | | | |
| DFBResult CoreGraphicsState_SetDstBlend( | | DFBResult CoreGraphicsState_SetDstBlend( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function); | | DFBSurfaceBlendFunction function); | |
| | | | |
| DFBResult CoreGraphicsState_SetSrcColorKey( | | DFBResult CoreGraphicsState_SetSrcColorKey( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| | | | |
| skipping to change at line 177 | | skipping to change at line 182 | |
| const DFBPoint *points1, | | const DFBPoint *points1, | |
| const DFBPoint *points2, | | const DFBPoint *points2, | |
| u32 num); | | u32 num); | |
| | | | |
| DFBResult CoreGraphicsState_TextureTriangles( | | DFBResult CoreGraphicsState_TextureTriangles( | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| const DFBVertex *vertices, | | const DFBVertex *vertices, | |
| u32 num, | | u32 num, | |
| DFBTriangleFormation formation); | | DFBTriangleFormation formation); | |
| | | | |
|
| | | DFBResult CoreGraphicsState_ReleaseSource( | |
| | | CoreGraphicsState *obj | |
| | | ); | |
| | | | |
| void CoreGraphicsState_Init_Dispatch( | | void CoreGraphicsState_Init_Dispatch( | |
| CoreDFB *core, | | CoreDFB *core, | |
| CoreGraphicsState *obj, | | CoreGraphicsState *obj, | |
| FusionCall *call | | FusionCall *call | |
| ); | | ); | |
| | | | |
| void CoreGraphicsState_Deinit_Dispatch( | | void CoreGraphicsState_Deinit_Dispatch( | |
| FusionCall *call | | FusionCall *call | |
| ); | | ); | |
| | | | |
| | | | |
| skipping to change at line 199 | | skipping to change at line 208 | |
| #endif | | #endif | |
| | | | |
| /* | | /* | |
| * CoreGraphicsState Calls | | * CoreGraphicsState Calls | |
| */ | | */ | |
| typedef enum { | | typedef enum { | |
| _CoreGraphicsState_SetDrawingFlags = 1, | | _CoreGraphicsState_SetDrawingFlags = 1, | |
| _CoreGraphicsState_SetBlittingFlags = 2, | | _CoreGraphicsState_SetBlittingFlags = 2, | |
| _CoreGraphicsState_SetClip = 3, | | _CoreGraphicsState_SetClip = 3, | |
| _CoreGraphicsState_SetColor = 4, | | _CoreGraphicsState_SetColor = 4, | |
|
| _CoreGraphicsState_SetSrcBlend = 5, | | _CoreGraphicsState_SetColorAndIndex = 5, | |
| _CoreGraphicsState_SetDstBlend = 6, | | _CoreGraphicsState_SetSrcBlend = 6, | |
| _CoreGraphicsState_SetSrcColorKey = 7, | | _CoreGraphicsState_SetDstBlend = 7, | |
| _CoreGraphicsState_SetDstColorKey = 8, | | _CoreGraphicsState_SetSrcColorKey = 8, | |
| _CoreGraphicsState_SetDestination = 9, | | _CoreGraphicsState_SetDstColorKey = 9, | |
| _CoreGraphicsState_SetSource = 10, | | _CoreGraphicsState_SetDestination = 10, | |
| _CoreGraphicsState_SetSourceMask = 11, | | _CoreGraphicsState_SetSource = 11, | |
| _CoreGraphicsState_SetSourceMaskVals = 12, | | _CoreGraphicsState_SetSourceMask = 12, | |
| _CoreGraphicsState_SetIndexTranslation = 13, | | _CoreGraphicsState_SetSourceMaskVals = 13, | |
| _CoreGraphicsState_SetColorKey = 14, | | _CoreGraphicsState_SetIndexTranslation = 14, | |
| _CoreGraphicsState_SetRenderOptions = 15, | | _CoreGraphicsState_SetColorKey = 15, | |
| _CoreGraphicsState_SetMatrix = 16, | | _CoreGraphicsState_SetRenderOptions = 16, | |
| _CoreGraphicsState_SetSource2 = 17, | | _CoreGraphicsState_SetMatrix = 17, | |
| _CoreGraphicsState_DrawRectangles = 18, | | _CoreGraphicsState_SetSource2 = 18, | |
| _CoreGraphicsState_DrawLines = 19, | | _CoreGraphicsState_DrawRectangles = 19, | |
| _CoreGraphicsState_FillRectangles = 20, | | _CoreGraphicsState_DrawLines = 20, | |
| _CoreGraphicsState_FillTriangles = 21, | | _CoreGraphicsState_FillRectangles = 21, | |
| _CoreGraphicsState_FillTrapezoids = 22, | | _CoreGraphicsState_FillTriangles = 22, | |
| _CoreGraphicsState_FillSpans = 23, | | _CoreGraphicsState_FillTrapezoids = 23, | |
| _CoreGraphicsState_Blit = 24, | | _CoreGraphicsState_FillSpans = 24, | |
| _CoreGraphicsState_Blit2 = 25, | | _CoreGraphicsState_Blit = 25, | |
| _CoreGraphicsState_StretchBlit = 26, | | _CoreGraphicsState_Blit2 = 26, | |
| _CoreGraphicsState_TileBlit = 27, | | _CoreGraphicsState_StretchBlit = 27, | |
| _CoreGraphicsState_TextureTriangles = 28, | | _CoreGraphicsState_TileBlit = 28, | |
| | | _CoreGraphicsState_TextureTriangles = 29, | |
| | | _CoreGraphicsState_ReleaseSource = 30, | |
| } CoreGraphicsStateCall; | | } CoreGraphicsStateCall; | |
| | | | |
| /* | | /* | |
| * CoreGraphicsState_SetDrawingFlags | | * CoreGraphicsState_SetDrawingFlags | |
| */ | | */ | |
| typedef struct { | | typedef struct { | |
| DFBSurfaceDrawingFlags flags; | | DFBSurfaceDrawingFlags flags; | |
| } CoreGraphicsStateSetDrawingFlags; | | } CoreGraphicsStateSetDrawingFlags; | |
| | | | |
| typedef struct { | | typedef struct { | |
| | | | |
| skipping to change at line 270 | | skipping to change at line 281 | |
| */ | | */ | |
| typedef struct { | | typedef struct { | |
| DFBColor color; | | DFBColor color; | |
| } CoreGraphicsStateSetColor; | | } CoreGraphicsStateSetColor; | |
| | | | |
| typedef struct { | | typedef struct { | |
| DFBResult result; | | DFBResult result; | |
| } CoreGraphicsStateSetColorReturn; | | } CoreGraphicsStateSetColorReturn; | |
| | | | |
| /* | | /* | |
|
| | | * CoreGraphicsState_SetColorAndIndex | |
| | | */ | |
| | | typedef struct { | |
| | | DFBColor color; | |
| | | u32 index; | |
| | | } CoreGraphicsStateSetColorAndIndex; | |
| | | | |
| | | typedef struct { | |
| | | DFBResult result; | |
| | | } CoreGraphicsStateSetColorAndIndexReturn; | |
| | | | |
| | | /* | |
| * CoreGraphicsState_SetSrcBlend | | * CoreGraphicsState_SetSrcBlend | |
| */ | | */ | |
| typedef struct { | | typedef struct { | |
| DFBSurfaceBlendFunction function; | | DFBSurfaceBlendFunction function; | |
| } CoreGraphicsStateSetSrcBlend; | | } CoreGraphicsStateSetSrcBlend; | |
| | | | |
| typedef struct { | | typedef struct { | |
| DFBResult result; | | DFBResult result; | |
| } CoreGraphicsStateSetSrcBlendReturn; | | } CoreGraphicsStateSetSrcBlendReturn; | |
| | | | |
| | | | |
| skipping to change at line 554 | | skipping to change at line 577 | |
| typedef struct { | | typedef struct { | |
| u32 num; | | u32 num; | |
| DFBTriangleFormation formation; | | DFBTriangleFormation formation; | |
| /* 'num' DFBVertex follow (vertices) */ | | /* 'num' DFBVertex follow (vertices) */ | |
| } CoreGraphicsStateTextureTriangles; | | } CoreGraphicsStateTextureTriangles; | |
| | | | |
| typedef struct { | | typedef struct { | |
| DFBResult result; | | DFBResult result; | |
| } CoreGraphicsStateTextureTrianglesReturn; | | } CoreGraphicsStateTextureTrianglesReturn; | |
| | | | |
|
| | | /* | |
| | | * CoreGraphicsState_ReleaseSource | |
| | | */ | |
| | | typedef struct { | |
| | | } CoreGraphicsStateReleaseSource; | |
| | | | |
| | | typedef struct { | |
| | | DFBResult result; | |
| | | } CoreGraphicsStateReleaseSourceReturn; | |
| | | | |
| DFBResult IGraphicsState_Real__SetDrawingFlags( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetDrawingFlags( CoreGraphicsState *obj, | |
| DFBSurfaceDrawingFlags flags ); | | DFBSurfaceDrawingFlags flags ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetBlittingFlags( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetBlittingFlags( CoreGraphicsState *obj, | |
| DFBSurfaceBlittingFlags flags ); | | DFBSurfaceBlittingFlags flags ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetClip( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetClip( CoreGraphicsState *obj, | |
| const DFBRegion *region ); | | const DFBRegion *region ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetColor( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetColor( CoreGraphicsState *obj, | |
| const DFBColor *color ); | | const DFBColor *color ); | |
| | | | |
|
| | | DFBResult IGraphicsState_Real__SetColorAndIndex( CoreGraphicsState *obj, | |
| | | const DFBColor *color, | |
| | | u32 index ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetSrcBlend( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetSrcBlend( CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function ); | | DFBSurfaceBlendFunction function ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetDstBlend( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetDstBlend( CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function ); | | DFBSurfaceBlendFunction function ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetSrcColorKey( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetSrcColorKey( CoreGraphicsState *obj, | |
| u32 key ); | | u32 key ); | |
| | | | |
| DFBResult IGraphicsState_Real__SetDstColorKey( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__SetDstColorKey( CoreGraphicsState *obj, | |
| | | | |
| skipping to change at line 659 | | skipping to change at line 696 | |
| const DFBRectangle *rects, | | const DFBRectangle *rects, | |
| const DFBPoint *points1, | | const DFBPoint *points1, | |
| const DFBPoint *points2, | | const DFBPoint *points2, | |
| u32 num ); | | u32 num ); | |
| | | | |
| DFBResult IGraphicsState_Real__TextureTriangles( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Real__TextureTriangles( CoreGraphicsState *obj, | |
| const DFBVertex *vertices, | | const DFBVertex *vertices, | |
| u32 num, | | u32 num, | |
| DFBTriangleFormation formation ); | | DFBTriangleFormation formation ); | |
| | | | |
|
| | | DFBResult IGraphicsState_Real__ReleaseSource( CoreGraphicsState *obj | |
| | | ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetDrawingFlags( CoreGraphicsState *obj
, | | DFBResult IGraphicsState_Requestor__SetDrawingFlags( CoreGraphicsState *obj
, | |
| DFBSurfaceDrawingFlags flags ); | | DFBSurfaceDrawingFlags flags ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetBlittingFlags( CoreGraphicsState *ob
j, | | DFBResult IGraphicsState_Requestor__SetBlittingFlags( CoreGraphicsState *ob
j, | |
| DFBSurfaceBlittingFlags flags ); | | DFBSurfaceBlittingFlags flags ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetClip( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetClip( CoreGraphicsState *obj, | |
| const DFBRegion *region ); | | const DFBRegion *region ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetColor( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetColor( CoreGraphicsState *obj, | |
| const DFBColor *color ); | | const DFBColor *color ); | |
| | | | |
|
| | | DFBResult IGraphicsState_Requestor__SetColorAndIndex( CoreGraphicsState *ob | |
| | | j, | |
| | | const DFBColor *color, | |
| | | u32 index ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetSrcBlend( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetSrcBlend( CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function ); | | DFBSurfaceBlendFunction function ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetDstBlend( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetDstBlend( CoreGraphicsState *obj, | |
| DFBSurfaceBlendFunction function ); | | DFBSurfaceBlendFunction function ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetSrcColorKey( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetSrcColorKey( CoreGraphicsState *obj, | |
| u32 key ); | | u32 key ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__SetDstColorKey( CoreGraphicsState *obj, | | DFBResult IGraphicsState_Requestor__SetDstColorKey( CoreGraphicsState *obj, | |
| | | | |
| skipping to change at line 764 | | skipping to change at line 808 | |
| const DFBRectangle *rects, | | const DFBRectangle *rects, | |
| const DFBPoint *points1, | | const DFBPoint *points1, | |
| const DFBPoint *points2, | | const DFBPoint *points2, | |
| u32 num ); | | u32 num ); | |
| | | | |
| DFBResult IGraphicsState_Requestor__TextureTriangles( CoreGraphicsState *ob
j, | | DFBResult IGraphicsState_Requestor__TextureTriangles( CoreGraphicsState *ob
j, | |
| const DFBVertex *vertices, | | const DFBVertex *vertices, | |
| u32 num, | | u32 num, | |
| DFBTriangleFormation formation ); | | DFBTriangleFormation formation ); | |
| | | | |
|
| | | DFBResult IGraphicsState_Requestor__ReleaseSource( CoreGraphicsState *obj | |
| | | ); | |
| | | | |
| DFBResult CoreGraphicsStateDispatch__Dispatch( CoreGraphicsState *obj, | | DFBResult CoreGraphicsStateDispatch__Dispatch( CoreGraphicsState *obj, | |
| FusionID caller, | | FusionID caller, | |
| int method, | | int method, | |
| void *ptr, | | void *ptr, | |
| unsigned int length, | | unsigned int length, | |
| void *ret_ptr, | | void *ret_ptr, | |
| unsigned int ret_size, | | unsigned int ret_size, | |
| unsigned int *ret_length ); | | unsigned int *ret_length ); | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 9 change blocks. |
| 24 lines changed or deleted | | 72 lines changed or added | |
|