Frame buffer - what is it for?

Comments

9 comments

  • Avatar
    Jon Elliott

    The frame buffer window is similar to the memory window. Instead of displaying the memory as data values or text as the memory window does, it displays the memory as an image encoded in the selected format.

    Click View > Other Windows > Frame Buffer to open the window.

    0
    Comment actions Permalink
  • Avatar
    Tomas Hamouz

    Great!

    Trying various formats, does RGB16 mean RGB565? By eye it seems so, but I am not sure. I would prefer name it RGB565, it is coherent with other formats.

    And if I can kindly ask for improvement, add Save as (BMP, PNG...)

    But again, it is GREAT feature! Thanks!

     

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    Yes, RGB16 does mean RGB565.

    The latest daily snapshot build now has "Save As" and "Copy To Clipboard" commands.

    0
    Comment actions Permalink
  • Avatar
    Tomas Hamouz

    Small bug in framebuffer Save As:

     - focus code editor

     - right click frame buffer

    - Save xxxxx.x As... appears, where xxxxx.x is current file in editor

    If other window has focus, both Copy and Save As are disabled, but e.g zoom in/out are enabled and working (but not Reset zoom).

     

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    Thanks, this issue should be fixed in the latest daily snapshot build.

    0
    Comment actions Permalink
  • Avatar
    Tomas Hamouz

    Hi,

    found another small bug in framebuffer window.

    Format Mono (both MSB and LSB) rounds line length to 4 bytes.

    My example: buffer 176 px wide x 264 px high. The line length is 22 bytes. Buffer address 0x20006ED0, second line should start at 0x20006EE6, but it starts at 0x20006EE8. i.e line length is rounded to 24 bytes. The same is for the rest of the scanlines.

     

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    Thanks Tomas, this issue should be fixed in the latest daily snapshot build.

    0
    Comment actions Permalink
  • Avatar
    Tomas Hamouz

    Hi, 
    a kind request after 2 years of using this feature: Nice improvement to the frame buffer viewer could be a possibility to rotate the view. We are using a display which can't rotate the view in the controller, so we have to rotate the data written to the frame buffer. But in the viewer the content is upside down now.

    Thanks in advance

     

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    Thanks for the suggestion Tomas - the frame buffer window in the latest 5.4.1 daily snapshot build now has options in the context menu to rotate and/or flip the view.

    0
    Comment actions Permalink

Please sign in to leave a comment.