the.mark.robertson Beginner

  • Member since Oct 31st 2016
Last Activity

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • the.mark.robertson -

    Posted the thread Font Draw Time/Performance.

    Thread
    Hi I've been profiling various emWin parts of some projects, trying to work out what core function is taking what time. I appear to have a bit of a bottleneck with text and I'm wondering if anyone, including Segger, has any comments on the time taken…
  • the.mark.robertson -

    Replied to the thread Invalidating of Parent for no reason.

    Post
    Hi I\m bumping this with some more information. I have spent a day or two trying to work out what is going on/come up with a work around. It turns out it is not the self-invalidating nature of the hWins that it the root of the problem. It is just, it…
  • the.mark.robertson -

    Replied to the thread HardFault GUI_Draw_PNG (func _Draw).

    Post
    Hi ...just to add that I moved GUI_PNG_Draw such that is is handled by the _cb (WM_USER_DATA). It works fine from there, too. It is just a direct call from the same thread, in same function as hWin was allocated that seems to fail. Given that it…
  • the.mark.robertson -

    Posted the thread HardFault GUI_Draw_PNG (func _Draw).

    Thread
    Hi I'm getting a HardFault when I load a PNG as part of my window create code. I do not get this crash if I do one of these: 1. move the PNG load to that window's WM_PAINT handler 2. avoid thread-release in the create() function by changing the thread…
  • the.mark.robertson -

    Posted the thread Invalidating of Parent for no reason.

    Thread
    Hi I have (had) a window with 50 child-windows (each a data label). Double-buffering would not work as the paint time was just taking too long. Performance was very poor and my processor was being fully loaded. Each child-window has its own timer to…
  • the.mark.robertson -

    Replied to the thread Layer[1] displays in GUICC_M8888I but not M565.

    Post
    Hi Sven, Sorry for the delay in responding. I have been travelling. Both layers are the same size (800x480). I understand the issue of transparency when the emWin library is stacking objects or layers and will have a look at this again. Maybe I am…