Go to the source code of this file.
Data Structures | |
struct | XSurface |
struct | XGlyph |
struct | XSurfaceLock |
struct | XIssue |
struct | XIssues |
struct | XTask |
Macros | |
#define | EW_LOCK_PIXEL_READ 0x01 |
#define | EW_LOCK_PIXEL_WRITE 0x02 |
#define | EW_LOCK_PIXEL_READ_WRITE 0x03 |
#define | EW_LOCK_CLUT_READ 0x04 |
#define | EW_LOCK_CLUT_WRITE 0x08 |
#define | EW_LOCK_CLUT_READ_WRITE 0x0C |
#define | EW_LOCK_DONT_WAIT 0x80 |
#define | EW_TASK_ALPHABLEND 0x0001 |
#define | EW_TASK_SOLID 0x0002 |
#define | EW_TASK_GRADIENT 0x0004 |
#define | EW_TASK_LINEAR_GRADIENT 0x0006 |
#define | EW_TASK_HIGH_QUALITY 0x0008 |
#define | EW_TASK_ENTIRE_AREA 0x0100 |
#define | EW_TASK_OVERLAP 0x0200 |
#define | EW_TASK_EMULATION 0x8000 |
#define | EW_TASK_MODE_MASK 0x000F |
#define | EW_TASKID_FILL_RECTANGLE 1 |
#define | EW_TASKID_COPY_SURFACE 2 |
#define | EW_TASKID_TILE_SURFACE 3 |
#define | EW_TASKID_WARP_PERSP_SURFACE 4 |
#define | EW_TASKID_WARP_AFFINE_SURFACE 5 |
#define | EW_TASKID_WARP_SCALE_SURFACE 6 |
#define | EW_TASKID_DRAW_LINE 7 |
#define | EW_TASKID_DRAW_TEXT 8 |
#define | EW_TASKID_FILL_POLYGON 9 |
Typedefs | |
typedef struct XSurface | XSurface |
typedef struct XGlyph | XGlyph |
typedef struct XIssue | XIssue |
typedef struct XIssues | XIssues |
typedef struct XTask | XTask |
Functions | |
int | EwInitGfxCore (void) |
void | EwDoneGfxCore (void) |
XSurface * | EwCreateSurface (int aFormat, int aWidth, int aHeight, void *aOwner, unsigned long aTag1, unsigned long aTag2) |
XSurface * | EwCreateConstSurface (int aFormat, int aWidth, int aHeight, void *aOwner, unsigned long aTag1, unsigned long aTag2, XSurfaceMemory *aMemory) |
XSurface * | EwFindSurface (int aFormat, int aWidth, int aHeight, void *aOwner, unsigned long aTag1, unsigned long aTag2) |
void | EwFreeSurface (XSurface *aSurface) |
int | EwLockSurface (XSurface *aSurface, int aX, int aY, int aWidth, int aHeight, int aIndex, int aCount, unsigned short aMode, XSurfaceLock *aLock) |
void | EwUnlockSurface (XSurface *aSurface, XSurfaceLock *aLock) |
XGlyph * | EwCreateGlyph (int aWidth, int aHeight, unsigned long aFont, unsigned long aCharCode) |
XGlyph * | EwFindGlyph (unsigned long aFont, unsigned long aCharCode) |
void | EwFreeGlyph (XGlyph *aGlyph) |
void | EwDiscardGlyph (XGlyph *aGlyph) |
int | EwLockGlyphCache (XGlyph *aGlyph, unsigned short aMode, XSurfaceLock *aLock) |
void | EwUnlockGlyphCache (XGlyph *aGlyph, XSurfaceLock *aLock) |
XIssue * | EwInitIssue (XSurface *aSurface) |
void | EwDoneIssue (XSurface *aSurface) |
XTask * | EwAllocTask (XIssue *aIssue, XTask *aCopyOf) |
XTask * | EwAllocTasks (XIssue *aIssue, int aNoOfTasks, XTask *aCopyOf) |
void * | EwAllocTaskData (XIssue *aIssue, int aSize) |
void | EwFreeTaskData (XIssue *aIssue, void *aPtr) |
int | EwFlushTasks (XSurface *aSurface) |
int | EwWaitForSurface (XSurface *aSurface, int aUntilUnused) |
#define EW_LOCK_CLUT_READ 0x04 |
#define EW_LOCK_CLUT_READ_WRITE 0x0C |
#define EW_LOCK_CLUT_WRITE 0x08 |
#define EW_LOCK_DONT_WAIT 0x80 |
#define EW_LOCK_PIXEL_READ 0x01 |
#define EW_LOCK_PIXEL_READ_WRITE 0x03 |
#define EW_LOCK_PIXEL_WRITE 0x02 |
#define EW_TASK_ALPHABLEND 0x0001 |
#define EW_TASK_EMULATION 0x8000 |
#define EW_TASK_ENTIRE_AREA 0x0100 |
#define EW_TASK_GRADIENT 0x0004 |
#define EW_TASK_HIGH_QUALITY 0x0008 |
#define EW_TASK_LINEAR_GRADIENT 0x0006 |
#define EW_TASK_MODE_MASK 0x000F |
#define EW_TASK_OVERLAP 0x0200 |
#define EW_TASK_SOLID 0x0002 |
#define EW_TASKID_COPY_SURFACE 2 |
#define EW_TASKID_DRAW_LINE 7 |
#define EW_TASKID_DRAW_TEXT 8 |
#define EW_TASKID_FILL_POLYGON 9 |
#define EW_TASKID_FILL_RECTANGLE 1 |
#define EW_TASKID_TILE_SURFACE 3 |
#define EW_TASKID_WARP_AFFINE_SURFACE 5 |
#define EW_TASKID_WARP_PERSP_SURFACE 4 |
#define EW_TASKID_WARP_SCALE_SURFACE 6 |
XSurface* EwCreateConstSurface | ( | int | aFormat, |
int | aWidth, | ||
int | aHeight, | ||
void * | aOwner, | ||
unsigned long | aTag1, | ||
unsigned long | aTag2, | ||
XSurfaceMemory * | aMemory | ||
) |
XGlyph* EwCreateGlyph | ( | int | aWidth, |
int | aHeight, | ||
unsigned long | aFont, | ||
unsigned long | aCharCode | ||
) |
XSurface* EwCreateSurface | ( | int | aFormat, |
int | aWidth, | ||
int | aHeight, | ||
void * | aOwner, | ||
unsigned long | aTag1, | ||
unsigned long | aTag2 | ||
) |
XGlyph* EwFindGlyph | ( | unsigned long | aFont, |
unsigned long | aCharCode | ||
) |
XSurface* EwFindSurface | ( | int | aFormat, |
int | aWidth, | ||
int | aHeight, | ||
void * | aOwner, | ||
unsigned long | aTag1, | ||
unsigned long | aTag2 | ||
) |
int EwFlushTasks | ( | XSurface * | aSurface | ) |
int EwInitGfxCore | ( | void | ) |
int EwLockGlyphCache | ( | XGlyph * | aGlyph, |
unsigned short | aMode, | ||
XSurfaceLock * | aLock | ||
) |
int EwLockSurface | ( | XSurface * | aSurface, |
int | aX, | ||
int | aY, | ||
int | aWidth, | ||
int | aHeight, | ||
int | aIndex, | ||
int | aCount, | ||
unsigned short | aMode, | ||
XSurfaceLock * | aLock | ||
) |
void EwUnlockGlyphCache | ( | XGlyph * | aGlyph, |
XSurfaceLock * | aLock | ||
) |
void EwUnlockSurface | ( | XSurface * | aSurface, |
XSurfaceLock * | aLock | ||
) |
int EwWaitForSurface | ( | XSurface * | aSurface, |
int | aUntilUnused | ||
) |