BRT Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Cyrilou

Pages: 1 [2] 3 4 5
16
Discussion - EVE / Re: Bitmap truncated randomly
« on: November 09, 2022, 05:05:31 PM »
I have a screen of 480x272 i'm using a picture at x,y,h,w=4,10,36,36.
Screen is sliding of 240 to the left so only x is varying to -236.

17
Discussion - EVE / Bitmap truncated randomly
« on: November 09, 2022, 03:35:14 PM »
Hi,

I'm using ESD and sometimes fonts or ESD_images are truncated when I'm doing slide animations.
I've localized where is the problem:
In file Esd_Render_Bitmap.c:

void Esd_CoDl_Bitmap_Vertex(int16_t x, int16_t y, uint8_t handle, uint16_t cell)
{
   EVE_HalContext *phost = Esd_GetHost();
   if ((EVE_CHIPID >= EVE_FT810) && (x < 0 || y < 0 || x >= 512 || y >= 512))
   {
      EVE_CoDl_vertexFormat(phost, 0);
      EVE_CoDl_bitmapHandle(phost, handle);
      Esd_CoDl_PagedBitmapSource(handle, cell >> 7);
      EVE_CoDl_cell(phost, cell & 0x7F);
      EVE_CoCmd_dl(phost, VERTEX2F(x, y));
     }
   else
   {
      Esd_CoDl_PagedBitmapSource(handle, cell >> 7);
      EVE_CoCmd_dl(phost, VERTEX2II(x, y, handle, cell));
   }
}

When I comment VERTEX2II part of code, bitmap are not truncated, otherwise I loose bottom of the bitmap randomly with slide animations.

How can we explain this? Is something missing in dl commands?

18
Discussion - EVE / Re: EVE screen designer cpu use
« on: June 14, 2022, 04:31:45 PM »
EmulatorProcess runs the emulator and the user code. Any unusual behavior in your code?
It should normally throttle down by itself already when there are no frame changes being rendered.
The process also runs on the lowest priority by default, so it should only have minimal effect on any other processes regardless. The highest usage will be while recompiling the code.

(If you happen to be running giant ASTC animations, that's the only case on the emulator that's not well optimized, and you might see high usage.)

I'm ok with that, I have UI elements that does not use cpu ressource. But I've noticed that widget ESD_MultiGradientRounded use 30% of my CPU. Why?

19
Discussion - EVE / Re: Concerns with ESD and generated source
« on: June 14, 2022, 03:11:24 PM »
* please add an option to export (eclipse) source with alternative name for the entry fn, instead of main().

Hi,

In eclipse you can ignore the file where main fonction is used (app_generated.c) from your project then you can duplicate it and create your own in an other folder. Like this, when I export from ESD, I overwrite always the same folder but my custom App_generated.c is safe.

20
Discussion - EVE / EVE screen designer cpu use
« on: May 20, 2022, 03:56:04 PM »
Hi all,

When ESD is running and rendering UI elements, Emulatorprocess.exe is using 100% of the CPU. Can you reduce that? I think your QT main task doesn't use sleep function to authorize idle time for other tasks.


21
Hi,

I have a background with a gradient of blue.
I'd like to write a text with a gradient of white with transparency.
CMD_GRADIENTA seems to not work to do this because it makes a gradient of colors also.

any ideas?

regards

22
Discussion - EVE / Re: BT817Q CMD_SPINNER fails
« on: August 18, 2021, 03:57:12 PM »
On ESD this would explain why widgets rendered after spinner are not displayed....

23
Discussion - EVE / Re: center text vertically with OPT_FILL
« on: July 23, 2021, 10:02:12 AM »
On your print screen text seems to be well centered horizontally but I don't see where is Y position of cmd_text for vertical centering.

24
Discussion - EVE / center text vertically with OPT_FILL
« on: July 21, 2021, 04:24:14 PM »
Hi,

If I use cmd_text to display a long text with OPT_FILL|OPT_CENTER, text is not centered on Y position in multiline mode (no \n used). I'm using a custom FONT in ram. Text is centered only on the first line of the text.
How can I do to center the entire group of lines?

25
Discussion - EVE / Re: ESD image rotate widget not rotating?
« on: July 09, 2021, 10:28:25 AM »
Hi Cyrilou,
Can you please elaborate more about the adaptations of your MCU hal? When you said you exported the eclipse project I think you are not using STM32 MCU.  Is that right?

Hi,
I work with renesas synergy MCU. I've edited EVE_HalImpl_xxx.c file to adapt SPI functions to hal drivers and EVE_LoadFile_xxx.c to load binary files from mcu flash.

26
Discussion - EVE / Re: ESD image rotate widget not rotating?
« on: July 05, 2021, 01:11:56 PM »
Hello,
I'm using matrix orbital EVE3-43G (without options) with ESD4.10. After some adaptations for my MCU hal, I export the eclipse project and it works well.

Regards

27
Discussion - EVE / Fonts in progmem declared as static
« on: June 30, 2021, 10:32:35 AM »
Hi,

Why fonts in PROGMEM ressource type  are declared as static array? In general MCU have a little space in RAM, and with that my RAM is full. Const declaration would be a best choice right?

28
Discussion - EVE / Re: ESD image rotate widget not rotating?
« on: June 25, 2021, 11:11:06 AM »
ouch! I've tested values in degrees from 0 to 360... But name of this property is a little confusing.

29
Discussion - EVE / ESD image rotate widget not rotating?
« on: June 23, 2021, 03:10:52 PM »
Hi ,

I'm using this widget to rotate a PNG icon but when I update RotateAngle property it doesn't rotate.
Also, this widget is not described in documentation. Does it works?

30
Thanks for your help. For your information, I'm using matrix orbital library with my boot.

Pages: 1 [2] 3 4 5