WebRadioApp  0.1
ewgfxcore.h File Reference
This graph shows which files directly or indirectly include this file:

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)
 
XSurfaceEwCreateSurface (int aFormat, int aWidth, int aHeight, void *aOwner, unsigned long aTag1, unsigned long aTag2)
 
XSurfaceEwCreateConstSurface (int aFormat, int aWidth, int aHeight, void *aOwner, unsigned long aTag1, unsigned long aTag2, XSurfaceMemory *aMemory)
 
XSurfaceEwFindSurface (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)
 
XGlyphEwCreateGlyph (int aWidth, int aHeight, unsigned long aFont, unsigned long aCharCode)
 
XGlyphEwFindGlyph (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)
 
XIssueEwInitIssue (XSurface *aSurface)
 
void EwDoneIssue (XSurface *aSurface)
 
XTaskEwAllocTask (XIssue *aIssue, XTask *aCopyOf)
 
XTaskEwAllocTasks (XIssue *aIssue, int aNoOfTasks, XTask *aCopyOf)
 
voidEwAllocTaskData (XIssue *aIssue, int aSize)
 
void EwFreeTaskData (XIssue *aIssue, void *aPtr)
 
int EwFlushTasks (XSurface *aSurface)
 
int EwWaitForSurface (XSurface *aSurface, int aUntilUnused)
 

Macro Definition Documentation

◆ EW_LOCK_CLUT_READ

#define EW_LOCK_CLUT_READ   0x04

◆ EW_LOCK_CLUT_READ_WRITE

#define EW_LOCK_CLUT_READ_WRITE   0x0C

◆ EW_LOCK_CLUT_WRITE

#define EW_LOCK_CLUT_WRITE   0x08

◆ EW_LOCK_DONT_WAIT

#define EW_LOCK_DONT_WAIT   0x80

◆ EW_LOCK_PIXEL_READ

#define EW_LOCK_PIXEL_READ   0x01

◆ EW_LOCK_PIXEL_READ_WRITE

#define EW_LOCK_PIXEL_READ_WRITE   0x03

◆ EW_LOCK_PIXEL_WRITE

#define EW_LOCK_PIXEL_WRITE   0x02

◆ EW_TASK_ALPHABLEND

#define EW_TASK_ALPHABLEND   0x0001

◆ EW_TASK_EMULATION

#define EW_TASK_EMULATION   0x8000

◆ EW_TASK_ENTIRE_AREA

#define EW_TASK_ENTIRE_AREA   0x0100

◆ EW_TASK_GRADIENT

#define EW_TASK_GRADIENT   0x0004

◆ EW_TASK_HIGH_QUALITY

#define EW_TASK_HIGH_QUALITY   0x0008

◆ EW_TASK_LINEAR_GRADIENT

#define EW_TASK_LINEAR_GRADIENT   0x0006

◆ EW_TASK_MODE_MASK

#define EW_TASK_MODE_MASK   0x000F

◆ EW_TASK_OVERLAP

#define EW_TASK_OVERLAP   0x0200

◆ EW_TASK_SOLID

#define EW_TASK_SOLID   0x0002

◆ EW_TASKID_COPY_SURFACE

#define EW_TASKID_COPY_SURFACE   2

◆ EW_TASKID_DRAW_LINE

#define EW_TASKID_DRAW_LINE   7

◆ EW_TASKID_DRAW_TEXT

#define EW_TASKID_DRAW_TEXT   8

◆ EW_TASKID_FILL_POLYGON

#define EW_TASKID_FILL_POLYGON   9

◆ EW_TASKID_FILL_RECTANGLE

#define EW_TASKID_FILL_RECTANGLE   1

◆ EW_TASKID_TILE_SURFACE

#define EW_TASKID_TILE_SURFACE   3

◆ EW_TASKID_WARP_AFFINE_SURFACE

#define EW_TASKID_WARP_AFFINE_SURFACE   5

◆ EW_TASKID_WARP_PERSP_SURFACE

#define EW_TASKID_WARP_PERSP_SURFACE   4

◆ EW_TASKID_WARP_SCALE_SURFACE

#define EW_TASKID_WARP_SCALE_SURFACE   6

Typedef Documentation

◆ XGlyph

typedef struct XGlyph XGlyph

◆ XIssue

typedef struct XIssue XIssue

◆ XIssues

typedef struct XIssues XIssues

◆ XSurface

typedef struct XSurface XSurface

◆ XTask

typedef struct XTask XTask

Function Documentation

◆ EwAllocTask()

XTask* EwAllocTask ( XIssue aIssue,
XTask aCopyOf 
)

◆ EwAllocTaskData()

void* EwAllocTaskData ( XIssue aIssue,
int  aSize 
)

◆ EwAllocTasks()

XTask* EwAllocTasks ( XIssue aIssue,
int  aNoOfTasks,
XTask aCopyOf 
)

◆ EwCreateConstSurface()

XSurface* EwCreateConstSurface ( int  aFormat,
int  aWidth,
int  aHeight,
void aOwner,
unsigned long  aTag1,
unsigned long  aTag2,
XSurfaceMemory aMemory 
)

◆ EwCreateGlyph()

XGlyph* EwCreateGlyph ( int  aWidth,
int  aHeight,
unsigned long  aFont,
unsigned long  aCharCode 
)

◆ EwCreateSurface()

XSurface* EwCreateSurface ( int  aFormat,
int  aWidth,
int  aHeight,
void aOwner,
unsigned long  aTag1,
unsigned long  aTag2 
)

◆ EwDiscardGlyph()

void EwDiscardGlyph ( XGlyph aGlyph)

◆ EwDoneGfxCore()

void EwDoneGfxCore ( void  )

◆ EwDoneIssue()

void EwDoneIssue ( XSurface aSurface)

◆ EwFindGlyph()

XGlyph* EwFindGlyph ( unsigned long  aFont,
unsigned long  aCharCode 
)

◆ EwFindSurface()

XSurface* EwFindSurface ( int  aFormat,
int  aWidth,
int  aHeight,
void aOwner,
unsigned long  aTag1,
unsigned long  aTag2 
)

◆ EwFlushTasks()

int EwFlushTasks ( XSurface aSurface)

◆ EwFreeGlyph()

void EwFreeGlyph ( XGlyph aGlyph)

◆ EwFreeSurface()

void EwFreeSurface ( XSurface aSurface)

◆ EwFreeTaskData()

void EwFreeTaskData ( XIssue aIssue,
void aPtr 
)

◆ EwInitGfxCore()

int EwInitGfxCore ( void  )

◆ EwInitIssue()

XIssue* EwInitIssue ( XSurface aSurface)

◆ EwLockGlyphCache()

int EwLockGlyphCache ( XGlyph aGlyph,
unsigned short  aMode,
XSurfaceLock aLock 
)

◆ EwLockSurface()

int EwLockSurface ( XSurface aSurface,
int  aX,
int  aY,
int  aWidth,
int  aHeight,
int  aIndex,
int  aCount,
unsigned short  aMode,
XSurfaceLock aLock 
)

◆ EwUnlockGlyphCache()

void EwUnlockGlyphCache ( XGlyph aGlyph,
XSurfaceLock aLock 
)

◆ EwUnlockSurface()

void EwUnlockSurface ( XSurface aSurface,
XSurfaceLock aLock 
)

◆ EwWaitForSurface()

int EwWaitForSurface ( XSurface aSurface,
int  aUntilUnused 
)