directfb.h | directfb.h | |||
---|---|---|---|---|
skipping to change at line 3155 | skipping to change at line 3155 | |||
if the region passed to Flip() i s not NULL or if the | if the region passed to Flip() i s not NULL or if the | |||
surface being flipped is a sub s urface. */ | surface being flipped is a sub s urface. */ | |||
DSFLIP_ONSYNC = 0x00000004, /* Do the actual flipping upon the next vertical sync. | DSFLIP_ONSYNC = 0x00000004, /* Do the actual flipping upon the next vertical sync. | |||
The Flip() method will still ret urn immediately unless | The Flip() method will still ret urn immediately unless | |||
DSFLIP_WAIT is specified, too. * / | DSFLIP_WAIT is specified, too. * / | |||
DSFLIP_PIPELINE = 0x00000008, | DSFLIP_PIPELINE = 0x00000008, | |||
DSFLIP_ONCE = 0x00000010, | DSFLIP_ONCE = 0x00000010, | |||
DSFLIP_QUEUE = 0x00000100, | ||||
DSFLIP_FLUSH = 0x00000200, | ||||
DSFLIP_WAITFORSYNC = DSFLIP_WAIT | DSFLIP_ONSYNC | DSFLIP_WAITFORSYNC = DSFLIP_WAIT | DSFLIP_ONSYNC | |||
} DFBSurfaceFlipFlags; | } DFBSurfaceFlipFlags; | |||
/* | /* | |||
* Flags controlling the text layout. | * Flags controlling the text layout. | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
DSTF_LEFT = 0x00000000, /* left aligned */ | DSTF_LEFT = 0x00000000, /* left aligned */ | |||
DSTF_CENTER = 0x00000001, /* horizontally centered */ | DSTF_CENTER = 0x00000001, /* horizontally centered */ | |||
DSTF_RIGHT = 0x00000002, /* right aligned */ | DSTF_RIGHT = 0x00000002, /* right aligned */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added | |||
directfb_version.h | directfb_version.h | |||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
License along with this library; if not, write to the | License along with this library; if not, write to the | |||
Free Software Foundation, Inc., 59 Temple Place - Suite 330, | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |||
Boston, MA 02111-1307, USA. | Boston, MA 02111-1307, USA. | |||
*/ | */ | |||
#ifndef __DIRECTFB_VERSION_H__ | #ifndef __DIRECTFB_VERSION_H__ | |||
#define __DIRECTFB_VERSION_H__ | #define __DIRECTFB_VERSION_H__ | |||
#define DIRECTFB_MAJOR_VERSION (1) | #define DIRECTFB_MAJOR_VERSION (1) | |||
#define DIRECTFB_MINOR_VERSION (4) | #define DIRECTFB_MINOR_VERSION (4) | |||
#define DIRECTFB_MICRO_VERSION (4) | #define DIRECTFB_MICRO_VERSION (5) | |||
#define DIRECTFB_BINARY_AGE (3) | #define DIRECTFB_BINARY_AGE (0) | |||
#define DIRECTFB_INTERFACE_AGE (0) | #define DIRECTFB_INTERFACE_AGE (0) | |||
#endif /* __DIRECTFB_VERSION_H__ */ | #endif /* __DIRECTFB_VERSION_H__ */ | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
surface.h | surface.h | |||
---|---|---|---|---|
skipping to change at line 56 | skipping to change at line 56 | |||
CSNF_SIZEFORMAT = 0x00000001, /* width, height, format */ | CSNF_SIZEFORMAT = 0x00000001, /* width, height, format */ | |||
CSNF_SYSTEM = 0x00000002, /* system instance information */ | CSNF_SYSTEM = 0x00000002, /* system instance information */ | |||
CSNF_VIDEO = 0x00000004, /* video instance information */ | CSNF_VIDEO = 0x00000004, /* video instance information */ | |||
CSNF_DESTROY = 0x00000008, /* surface is about to be destroyed */ | CSNF_DESTROY = 0x00000008, /* surface is about to be destroyed */ | |||
CSNF_FLIP = 0x00000010, /* surface buffer pointer swapped * / | CSNF_FLIP = 0x00000010, /* surface buffer pointer swapped * / | |||
CSNF_FIELD = 0x00000020, /* active (displayed) field switche d */ | CSNF_FIELD = 0x00000020, /* active (displayed) field switche d */ | |||
CSNF_PALETTE_CHANGE = 0x00000040, /* another palette has been set */ | CSNF_PALETTE_CHANGE = 0x00000040, /* another palette has been set */ | |||
CSNF_PALETTE_UPDATE = 0x00000080, /* current palette has been altered */ | CSNF_PALETTE_UPDATE = 0x00000080, /* current palette has been altered */ | |||
CSNF_ALPHA_RAMP = 0x00000100, /* alpha ramp was modified */ | CSNF_ALPHA_RAMP = 0x00000100, /* alpha ramp was modified */ | |||
CSNF_DISPLAY = 0x00000200, /* surface buffer displayed */ | ||||
CSNF_ALL = 0x000001FF | CSNF_ALL = 0x000003FF | |||
} CoreSurfaceNotificationFlags; | } CoreSurfaceNotificationFlags; | |||
typedef struct { | typedef struct { | |||
CoreSurfaceNotificationFlags flags; | CoreSurfaceNotificationFlags flags; | |||
CoreSurface *surface; | CoreSurface *surface; | |||
int index; | ||||
} CoreSurfaceNotification; | } CoreSurfaceNotification; | |||
typedef enum { | typedef enum { | |||
CSCONF_NONE = 0x00000000, | CSCONF_NONE = 0x00000000, | |||
CSCONF_SIZE = 0x00000001, | CSCONF_SIZE = 0x00000001, | |||
CSCONF_FORMAT = 0x00000002, | CSCONF_FORMAT = 0x00000002, | |||
CSCONF_CAPS = 0x00000004, | CSCONF_CAPS = 0x00000004, | |||
CSCONF_PREALLOCATED = 0x00000010, | CSCONF_PREALLOCATED = 0x00000010, | |||
skipping to change at line 242 | skipping to change at line 245 | |||
unsigned long resourc e_id, | unsigned long resourc e_id, | |||
CorePalette *palette , | CorePalette *palette , | |||
CoreSurface **ret_sur face ); | CoreSurface **ret_sur face ); | |||
DFBResult dfb_surface_init_palette ( CoreDFB *core, | DFBResult dfb_surface_init_palette ( CoreDFB *core, | |||
CoreSurface *surface ); | CoreSurface *surface ); | |||
DFBResult dfb_surface_notify ( CoreSurface *surface , | DFBResult dfb_surface_notify ( CoreSurface *surface , | |||
CoreSurfaceNotificationFlags flags); | CoreSurfaceNotificationFlags flags); | |||
DFBResult dfb_surface_notify_display( CoreSurface *surface | ||||
, | ||||
CoreSurfaceBuffer *buffer) | ||||
; | ||||
DFBResult dfb_surface_flip ( CoreSurface *surface , | DFBResult dfb_surface_flip ( CoreSurface *surface , | |||
bool swap ); | bool swap ); | |||
DFBResult dfb_surface_reconfig ( CoreSurface *surface , | DFBResult dfb_surface_reconfig ( CoreSurface *surface , | |||
const CoreSurfaceConfig *config ); | const CoreSurfaceConfig *config ); | |||
DFBResult dfb_surface_destroy_buffers( CoreSurface *surface ); | DFBResult dfb_surface_destroy_buffers( CoreSurface *surface ); | |||
DFBResult dfb_surface_lock_buffer ( CoreSurface *surface , | DFBResult dfb_surface_lock_buffer ( CoreSurface *surface , | |||
CoreSurfaceBufferRole role, | CoreSurfaceBufferRole role, | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 9 lines changed or added | |||
util.h | util.h | |||
---|---|---|---|---|
skipping to change at line 42 | skipping to change at line 42 | |||
#include <core/surface.h> | #include <core/surface.h> | |||
void dfb_gfx_copy( CoreSurface *source, CoreSurface *destination, const DFB Rectangle *rect ); | void dfb_gfx_copy( CoreSurface *source, CoreSurface *destination, const DFB Rectangle *rect ); | |||
void dfb_gfx_copy_to( CoreSurface *source, CoreSurface *destination, const DFBRectangle *rect, int x, int y, bool from_back ); | void dfb_gfx_copy_to( CoreSurface *source, CoreSurface *destination, const DFBRectangle *rect, int x, int y, bool from_back ); | |||
void dfb_back_to_front_copy( CoreSurface *surface, const DFBRegion *region ); | void dfb_back_to_front_copy( CoreSurface *surface, const DFBRegion *region ); | |||
void dfb_back_to_front_copy_rotation( CoreSurface *surface, const DFBRegion *region, int rotation ); | void dfb_back_to_front_copy_rotation( CoreSurface *surface, const DFBRegion *region, int rotation ); | |||
void dfb_clear_depth( CoreSurface *surface, const DFBRegion *region ); | void dfb_clear_depth( CoreSurface *surface, const DFBRegion *region ); | |||
void dfb_sort_triangle( DFBTriangle *tri ); | void dfb_sort_triangle( DFBTriangle *tri ); | |||
void dfb_gfx_copy_regions( CoreSurface *source, | ||||
CoreSurfaceBufferRole from, | ||||
CoreSurface *destination, | ||||
CoreSurfaceBufferRole to, | ||||
const DFBRegion *regions, | ||||
unsigned int num, | ||||
int x, | ||||
int y ); | ||||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 9 lines changed or added | |||