 |
WebRadioApp
0.1
|
Go to the documentation of this file.
40 #ifndef EW_USE_GRAPHICS_ACCELERATOR
41 #define EW_USE_GRAPHICS_ACCELERATOR 1
44 #if EW_USE_GRAPHICS_ACCELERATOR == 0
45 #undef EW_USE_GRAPHICS_ACCELERATOR
52 #ifndef EW_COLOR_CHANNEL_BIT_OFFSET_RED
53 #define EW_COLOR_CHANNEL_BIT_OFFSET_RED 16
56 #ifndef EW_COLOR_CHANNEL_BIT_OFFSET_GREEN
57 #define EW_COLOR_CHANNEL_BIT_OFFSET_GREEN 8
60 #ifndef EW_COLOR_CHANNEL_BIT_OFFSET_BLUE
61 #define EW_COLOR_CHANNEL_BIT_OFFSET_BLUE 0
64 #ifndef EW_COLOR_CHANNEL_BIT_OFFSET_ALPHA
65 #define EW_COLOR_CHANNEL_BIT_OFFSET_ALPHA 24
71 #define EW_USE_PIXEL_FORMAT_SCREEN
77 #ifndef EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_RED
78 #define EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_RED 11
81 #ifndef EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_GREEN
82 #define EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_GREEN 5
85 #ifndef EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_BLUE
86 #define EW_SCREEN_COLOR_CHANNEL_BIT_OFFSET_BLUE 0
91 #define EW_PREMULTIPLY_COLOR_CHANNELS 0
138 int aExtentY,
int aExtentWidth,
int aExtentHeight,
139 int aOrient,
int aOpacity,
void *aDisplay1,
140 void *aDisplay2,
void *aDisplay3);
197 int aWidth,
int aHeight);
219 void GfxEndUpdate(
unsigned long aHandle,
int aX,
int aY,
int aWidth,
223 #define EwGfxInit GfxInitGfx
224 #define EwGfxInitViewport GfxInitViewport
225 #define EwGfxDoneViewport GfxDoneViewport
226 #define EwGfxBeginUpdate GfxBeginUpdate
227 #define EwGfxBeginUpdateArea GfxBeginUpdateArea
228 #define EwGfxEndUpdate GfxEndUpdate
344 unsigned long GfxLockSurface(
unsigned long aHandle,
int aX,
int aY,
int aWidth,
345 int aHeight,
int aIndex,
int aCount,
346 int aReadPixel,
int aWritePixel,
int aReadClut,
382 void GfxUnlockSurface(
unsigned long aSurfaceHandle,
unsigned long aLockHandle,
383 int aX,
int aY,
int aWidth,
int aHeight,
int aIndex,
384 int aCount,
int aWritePixel,
int aWriteClut);
387 #define EwGfxCreateNativeSurface GfxCreateSurface
388 #define EwGfxCreateConstNativeSurface GfxCreateConstSurface
389 #define EwGfxDestroyNativeSurface GfxDestroySurface
390 #define EwGfxLockNativeSurface GfxLockSurface
391 #define EwGfxUnlockNativeSurface GfxUnlockSurface
393 #define EwGfxCreateAlpha8Surface GfxCreateSurface
394 #define EwGfxCreateConstAlpha8Surface GfxCreateConstSurface
395 #define EwGfxDestroyAlpha8Surface GfxDestroySurface
396 #define EwGfxLockAlpha8Surface GfxLockSurface
397 #define EwGfxUnlockAlpha8Surface GfxUnlockSurface
399 #define EwGfxCreateIndex8Surface GfxCreateSurface
400 #define EwGfxCreateConstIndex8Surface GfxCreateConstSurface
401 #define EwGfxDestroyIndex8Surface GfxDestroySurface
402 #define EwGfxLockIndex8Surface GfxLockSurface
403 #define EwGfxUnlockIndex8Surface GfxUnlockSurface
405 #define EwGfxCreateRGB565Surface GfxCreateSurface
406 #define EwGfxCreateConstRGB565Surface GfxCreateConstSurface
407 #define EwGfxDestroyRGB565Surface GfxDestroySurface
408 #define EwGfxLockRGB565Surface GfxLockSurface
409 #define EwGfxUnlockRGB565Surface GfxUnlockSurface
411 #define EwGfxLockScreenSurface GfxLockSurface
412 #define EwGfxUnlockScreenSurface GfxUnlockSurface
437 void GfxFillDriver(
unsigned long aDstHandle,
int aDstX,
int aDstY,
int aWidth,
438 int aHeight,
int aBlend,
unsigned long *aColors);
441 #ifdef EW_USE_GRAPHICS_ACCELERATOR
442 #define EwGfxFillSolid GfxFillDriver
443 #define EwGfxFillSolidBlend GfxFillDriver
444 #define EwGfxScreenFillSolid GfxFillDriver
445 #define EwGfxScreenFillSolidBlend GfxFillDriver
478 void GfxCopyDriver(
unsigned long aDstHandle,
unsigned long aSrcHandle,
479 int aDstX,
int aDstY,
int aSrcX,
int aSrcY,
int aWidth,
480 int aHeight,
int aBlend,
unsigned long *aColors);
483 #ifdef EW_USE_GRAPHICS_ACCELERATOR
484 #define EwGfxCopyNative GfxCopyDriver
485 #define EwGfxCopyNativeSolid GfxCopyDriver
486 #define EwGfxCopyAlpha8Solid GfxCopyDriver
487 #define EwGfxCopyIndex8 GfxCopyDriver
488 #define EwGfxCopyIndex8Solid GfxCopyDriver
489 #define EwGfxCopyRGB565 GfxCopyDriver
490 #define EwGfxCopyRGB565Solid GfxCopyDriver
491 #define EwGfxScreenCopyNative GfxCopyDriver
492 #define EwGfxScreenCopyNativeSolid GfxCopyDriver
493 #define EwGfxScreenCopyAlpha8Solid GfxCopyDriver
494 #define EwGfxScreenCopyIndex8 GfxCopyDriver
495 #define EwGfxScreenCopyIndex8Solid GfxCopyDriver
496 #define EwGfxScreenCopyRGB565 GfxCopyDriver
497 #define EwGfxScreenCopyRGB565Solid GfxCopyDriver
530 void GfxBlendDriver(
unsigned long aDstHandle,
unsigned long aSrcHandle,
531 int aDstX,
int aDstY,
int aSrcX,
int aSrcY,
int aWidth,
532 int aHeight,
int aBlend,
unsigned long *aColors);
535 #ifdef EW_USE_GRAPHICS_ACCELERATOR
536 #define EwGfxCopyNativeBlend GfxBlendDriver
537 #define EwGfxCopyNativeSolidBlend GfxBlendDriver
538 #define EwGfxCopyAlpha8SolidBlend GfxBlendDriver
539 #define EwGfxCopyIndex8Blend GfxBlendDriver
540 #define EwGfxCopyIndex8SolidBlend GfxBlendDriver
541 #define EwGfxCopyRGB565SolidBlend GfxBlendDriver
542 #define EwGfxScreenCopyNativeBlend GfxBlendDriver
543 #define EwGfxScreenCopyNativeSolidBlend GfxBlendDriver
544 #define EwGfxScreenCopyAlpha8SolidBlend GfxBlendDriver
545 #define EwGfxScreenCopyIndex8Blend GfxBlendDriver
546 #define EwGfxScreenCopyIndex8SolidBlend GfxBlendDriver
547 #define EwGfxScreenCopyRGB565SolidBlend GfxBlendDriver
567 #ifdef EW_USE_GRAPHICS_ACCELERATOR
586 #ifdef EW_USE_GRAPHICS_ACCELERATOR
void EwCopyNativeRowBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_SURFACE_MODIFIED_BY_GA
Definition: ewextgfx.c:78
Definition: ewgfxdriver.h:186
#define EW_INVALIDATE_CACHE(addr, size)
Definition: ewextgfx.c:96
#define Err04
Definition: ewextgfx.c:68
#define EW_DISCARD_BITMAPS
Definition: ewgfxdefs.h:166
static void GfxFlushGraphics(void)
Definition: ewextgfx.c:923
#define EW_SURFACE_MODIFIED_BY_CPU
Definition: ewextgfx.c:77
unsigned long GfxInitViewport(int aWidth, int aHeight, int aExtentX, int aExtentY, int aExtentWidth, int aExtentHeight, int aOrient, int aOpacity, void *aDisplay1, void *aDisplay2, void *aDisplay3)
Definition: ewextgfx.c:217
void EwCopyAlpha8RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
unsigned long GfxCreateConstSurface(int aFormat, int aWidth, int aHeight, XSurfaceMemory *aMemory)
Definition: ewextgfx.c:685
void EwScreenCopyAlpha8RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_DISCARD_BITMAPS_IF_NOT_USED_IN_CURRENT_UPDATE
Definition: ewgfxdefs.h:174
static void * LoadedClutSurface
Definition: ewextgfx.c:47
static void GfxSelectSurfaces(unsigned long aDstSurfaceHandle, unsigned long aSrcSurfaceHandle)
Definition: ewextgfx.c:930
void GfxDoneViewport(unsigned long aHandle)
Definition: ewextgfx.c:353
XGfxSurface * FrameBuffer
Definition: ewextgfx.c:121
static void TrackMemoryUsage(void)
Definition: ewextgfx.c:133
void GfxDestroySurface(unsigned long aHandle)
Definition: ewextgfx.c:746
void EwScreenCopyNativeRowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwEmulateCopy(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aDstX, int aDstY, int aWidth, int aHeight, int aSrcX, int aSrcY, XGradient *aGradient, int aGrdX, int aGrdY, XCopyWorker aWorker)
void EwZero(void *aDstPtr, int aCount)
Definition: ewextrte.c:335
void EwScreenCopyIndex8RowBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void * EwAllocVideo(int aSize)
int EwLazyLoadBitmapsIfAnimatedOnly
#define EW_CACHE_LINE_SIZE
Definition: ewextgfx.c:94
unsigned long GfxLockSurface(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight, int aIndex, int aCount, int aReadPixel, int aWritePixel, int aReadClut, int aWriteClut, XSurfaceMemory *aMemory)
Definition: ewextgfx.c:818
void EwBspGraphicsWaitForCompletion()
The function EwBspGraphicsWaitForCompletion returns as soon as the DMA2D has completed a pending grap...
Definition: ew_bsp_graphics.c:166
void GfxUnlockSurface(unsigned long aSurfaceHandle, unsigned long aLockHandle, int aX, int aY, int aWidth, int aHeight, int aIndex, int aCount, int aWritePixel, int aWriteClut)
Definition: ewextgfx.c:904
void EwCopyNativeRow(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define Err07
Definition: ewextgfx.c:71
void EwScreenCopyAlpha8RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void GfxCopyDriver(unsigned long aDstHandle, unsigned long aSrcHandle, int aDstX, int aDstY, int aSrcX, int aSrcY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1098
void EwBspDisplayWaitForCompletion(void)
The function EwBspDisplayWaitForCompletion is called from the Graphics Engine to ensure that all pend...
Definition: ew_bsp_display.c:621
unsigned long GfxLockSurface(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight, int aIndex, int aCount, int aReadPixel, int aWritePixel, int aReadClut, int aWriteClut, XSurfaceMemory *aMemory)
Definition: ewextgfx.c:818
Definition: ewextgfx.c:105
void(* XCopyWorker)(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
Definition: ewgfxdriver.h:288
void EwBspGraphicsFillBlend(uint32_t aDstAddr, uint32_t aDstOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColor)
The function EwBspGraphicsFillBlend is used by the Graphics Engine, when a rectangular area should be...
Definition: ew_bsp_graphics.c:280
unsigned long GfxBeginUpdate(unsigned long aHandle)
Definition: ewextgfx.c:402
#define EW_PIXEL_FORMAT_RGB565
Definition: ewgfxdriver.h:124
void GfxCopyDriver(unsigned long aDstHandle, unsigned long aSrcHandle, int aDstX, int aDstY, int aSrcX, int aSrcY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1098
void EwCopyNativeRowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void GfxBlendDriver(unsigned long aDstHandle, unsigned long aSrcHandle, int aDstX, int aDstY, int aSrcX, int aSrcY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1245
#define EW_MAX_STRING_CACHE_SIZE
Definition: ewrte.h:117
static unsigned char UseGraphicsAccelerator
Definition: ewextgfx.c:40
unsigned long GfxBeginUpdate(unsigned long aHandle)
Definition: ewextgfx.c:402
static unsigned short TransactionNumber
Definition: ewextgfx.c:43
#define EW_DISCARD_BITMAPS_IF_NOT_USED_IN_RECENT_UPDATES
Definition: ewgfxdefs.h:178
void EwCopyIndex8RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_MAX_SURFACE_CACHE_SIZE
Definition: ewgfxdefs.h:89
void * Pixel
Definition: ewextgfx.c:112
unsigned long GfxCreateSurface(int aFormat, int aWidth, int aHeight)
Definition: ewextgfx.c:606
void GfxDoneViewport(unsigned long aHandle)
Definition: ewextgfx.c:353
void * Clut
Definition: ewextgfx.c:115
#define EW_MAX_GLYPH_SURFACE_HEIGHT
Definition: ewgfxdefs.h:189
void EwScreenCopyNativeRowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwFillRowSolidBlend(XSurfaceMemory *aDst, int aWidth, XGradient *aGradient)
#define Err01
Definition: ewextgfx.c:63
int BytesPerPixel
Definition: ewextgfx.c:109
int Pitch1X
Definition: ewgfxdriver.h:209
int GfxIsGraphicsAcceleratorUsed(void)
Definition: ewextgfx.c:1417
void EwFree(void *aMemory)
Definition: ewextrte.c:123
void EwCopyNativeRowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwScreenCopyRGB565RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_SURFACE_TRANSACTION_MASK
Definition: ewextgfx.c:79
int EwDiscardBitmapsIfNotUsedInRecentUpdates
void EwCopyRGB565RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
int EwMaxSurfaceCacheSize
#define EW_SURFACE_PREALLOCATED
Definition: ewextgfx.c:76
void EwBspGraphicsFill(uint32_t aDstAddr, uint32_t aDstOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColor)
The function EwBspGraphicsFill is used by the Graphics Engine, when a rectangular area should be fill...
Definition: ew_bsp_graphics.c:231
int GfxIsGraphicsAcceleratorUsed(void)
Definition: ewextgfx.c:1417
void GfxUseGraphicsAccelerator(int aActive)
Definition: ewextgfx.c:1378
XGfxSurface * DoubleBuffer
Definition: ewextgfx.c:122
void EwScreenCopyIndex8Row(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
int AllocSize
Definition: ewextgfx.c:111
void EwScreenCopyNativeRowBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwCopyIndex8RowBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwPrint(const char *aFormat,...)
#define EW_LAZY_LOAD_BITMAPS
Definition: ewgfxdefs.h:132
int Width
Definition: ewextgfx.c:106
unsigned int * Clut
Definition: ewgfxdriver.h:214
void EwScreenFillRowSolidBlend(XSurfaceMemory *aDst, int aWidth, XGradient *aGradient)
int EwBspGraphicsInit(uint32_t aDstColorMode)
Initialize the DMA2D graphics accelerator.
Definition: ew_bsp_graphics.c:115
void EwScreenFillRowSolid(XSurfaceMemory *aDst, int aWidth, XGradient *aGradient)
void EwScreenCopyNativeRow(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwScreenCopyIndex8RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_PIXEL_FORMAT_SCREEN
Definition: ewgfxdriver.h:120
unsigned long GfxCreateSurface(int aFormat, int aWidth, int aHeight)
Definition: ewextgfx.c:606
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint XInt32 aOpacity
Definition: _CoreOutline.h:172
int Format
Definition: ewextgfx.c:110
#define EW_PIXEL_FORMAT_NATIVE
Definition: ewgfxdriver.h:121
#define EW_RED(aColor)
Definition: ewgfxdriver.h:75
void EwCopyRGB565RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
#define EW_LAZY_LOAD_BITMAPS_IF_ANIMATED_ONLY
Definition: ewgfxdefs.h:136
void * EwAlloc(int aSize)
Definition: ewextrte.c:100
void GfxEndUpdate(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight)
Definition: ewextgfx.c:538
#define EW_CLEAN_CACHE(addr, size)
Definition: ewextgfx.c:97
void GfxUnlockSurface(unsigned long aSurfaceHandle, unsigned long aLockHandle, int aX, int aY, int aWidth, int aHeight, int aIndex, int aCount, int aWritePixel, int aWriteClut)
Definition: ewextgfx.c:904
Definition: ewextgfx.c:120
void EwBspGraphicsDone(void)
Deinitialize the DMA2D graphics accelerator.
Definition: ew_bsp_graphics.c:153
#define EW_DISCARD_BITMAPS_IF_ANIMATED_ONLY
Definition: ewgfxdefs.h:170
#define EW_MAX_ISSUE_TASKS
Definition: ewgfxdefs.h:226
unsigned long GfxInitViewport(int aWidth, int aHeight, int aExtentX, int aExtentY, int aExtentWidth, int aExtentHeight, int aOrient, int aOpacity, void *aDisplay1, void *aDisplay2, void *aDisplay3)
Definition: ewextgfx.c:217
unsigned long GfxCreateConstSurface(int aFormat, int aWidth, int aHeight, XSurfaceMemory *aMemory)
Definition: ewextgfx.c:685
int OrigHeight
Definition: ewextgfx.c:113
int EwMaxGlyphSurfaceHeight
int EwMaxGlyphSurfaceWidth
void GfxFillDriver(unsigned long aDstHandle, int aDstX, int aDstY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1001
unsigned long GfxBeginUpdateArea(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight)
Definition: ewextgfx.c:453
#define EW_BLUE(aColor)
Definition: ewgfxdriver.h:77
void EwScreenCopyRGB565Row(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
int EwDiscardBitmapsIfNotUsedInCurrentUpdate
void GfxEndUpdate(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight)
Definition: ewextgfx.c:538
int Pitch1Y
Definition: ewgfxdriver.h:210
unsigned long GfxBeginUpdateArea(unsigned long aHandle, int aX, int aY, int aWidth, int aHeight)
Definition: ewextgfx.c:453
int EwPreserveFramebufferContent
void EwBspGraphicsCopyBlend(uint32_t aDstAddr, uint32_t aSrcAddr, uint32_t aDstOffset, uint32_t aSrcOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColorMode, uint32_t aSrcColor)
The function EwBspGraphicsCopyBlend is used by the Graphics Engine, when a source bitmap should be bl...
Definition: ew_bsp_graphics.c:431
#define Err02
Definition: ewextgfx.c:64
#define Err03
Definition: ewextgfx.c:67
void EwBspDisplayCommitBuffer(void *aAddress, int aX, int aY, int aWidth, int aHeight)
The function EwBspDisplayCommitBuffer is called from the Graphics Engine when the rendering of a cert...
Definition: ew_bsp_display.c:650
void EwCopyAlpha8RowSolidBlend(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void * Pixel1
Definition: ewgfxdriver.h:208
int Height
Definition: ewextgfx.c:107
Definition: ewgfxdriver.h:217
void EwFreeVideo(void *aMemory)
int EwResourcesMemoryPeak
void EwBspGraphicsCopy(uint32_t aDstAddr, uint32_t aSrcAddr, uint32_t aDstOffset, uint32_t aSrcOffset, uint32_t aWidth, uint32_t aHeight, uint32_t aDstColorMode, uint32_t aSrcColorMode, uint32_t aSrcColor)
The function EwBspGraphicsCopy is used by the Graphics Engine, when a source bitmap should be copied ...
Definition: ew_bsp_graphics.c:357
void GfxBlendDriver(unsigned long aDstHandle, unsigned long aSrcHandle, int aDstX, int aDstY, int aSrcX, int aSrcY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1245
void GfxUseGraphicsAccelerator(int aActive)
Definition: ewextgfx.c:1378
#define EW_UNUSED_ARG(aArg)
Definition: ewrte.h:966
int GfxInitGfx(void *aArgs)
Definition: ewextgfx.c:158
void EwFillRowSolid(XSurfaceMemory *aDst, int aWidth, XGradient *aGradient)
#define EW_MAX_GLYPH_SURFACE_WIDTH
Definition: ewgfxdefs.h:185
#define EW_ALPHA(aColor)
Definition: ewgfxdriver.h:78
#define EW_GREEN(aColor)
Definition: ewgfxdriver.h:76
void GfxDestroySurface(unsigned long aHandle)
Definition: ewextgfx.c:746
void EwCopyIndex8RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
int EwDiscardBitmapsIfAnimatedOnly
void GfxFillDriver(unsigned long aDstHandle, int aDstX, int aDstY, int aWidth, int aHeight, int aBlend, unsigned long *aColors)
Definition: ewextgfx.c:1001
#define EW_CACHE_ALIGNMENT
Definition: ewextgfx.c:95
#define EW_PIXEL_FORMAT_ALPHA8
Definition: ewgfxdriver.h:123
void EwCopyRGB565Row(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwScreenCopyRGB565RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void * OrigPixel
Definition: ewextgfx.c:114
XRect CoreOutline aOutline GraphicsCanvas XRect XPoint XInt32 XBool aBlend
Definition: _CoreOutline.h:172
void(* XFillWorker)(XSurfaceMemory *aDst, int aWidth, XGradient *aGradient)
Definition: ewgfxdriver.h:267
#define EW_PIXEL_FORMAT_INDEX8
Definition: ewgfxdriver.h:122
void EwCopyIndex8Row(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
void EwScreenCopyIndex8RowSolid(XSurfaceMemory *aDst, XSurfaceMemory *aSrc, int aWidth, XGradient *aGradient)
int Flags
Definition: ewextgfx.c:108
#define EW_ERROR(aMsg)
Definition: ewrte.h:181
void EwEmulateFill(XSurfaceMemory *aDst, int aDstX, int aDstY, int aWidth, int aHeight, XGradient *aGradient, int aGrdX, int aGrdY, XFillWorker aWorker)
void EwInitColorGradient(int aWidth, int aHeight, unsigned int *aColors, XGradient *aGradient)
int GfxInitGfx(void *aArgs)
Definition: ewextgfx.c:158
#define Err05
Definition: ewextgfx.c:69
void EwBspGraphicsLoadClut(uint32_t aClutAddr, uint32_t aClutSize)
The function EwBspGraphicsLoadClut is used by the Graphics Engine, when a Index8 source bitmap should...
Definition: ew_bsp_graphics.c:508
#define Err06
Definition: ewextgfx.c:70