BRT Community

General Category => Discussion - EVE => Topic started by: b2mishra on September 18, 2019, 01:58:36 PM

Title: EVE Asset Builder Image Converter Sample Code
Post by: b2mishra on September 18, 2019, 01:58:36 PM
The sample code generated by EVE Asset Builder after converting an image, works only for ASTC format. It does not work with other formats.
As per the programming guide (Section 4.12):
Quote
However, only bitmap data of ASTC specific format can be rendered directly from flash memory. For the bitmap data of any non-ASTC specific format in flash memory, CMD_FLASHREAD is required to copy the data from flash into RAM_G so that EVE can render it correctly.

Code: [Select]
Gpu_CoCmd_FlashHelper_SwitchFullMode(phost);
Gpu_CoCmd_SetBitmap(phost, (0x800000 | BITMAP_ADDRESS_ON_FLASH / 32), format, iw, ih);

Is this a bug in the tool?
Title: Re: EVE Asset Builder Image Converter Sample Code
Post by: BRT Community on September 30, 2019, 02:53:57 PM
Hello,

The development team confirmed that this is a bug and will be fixed in the next EAB release, EAB 1.1.
EAB 1.1 is due out in the coming weeks.

Best Regards,
BRT Community