Git Product home page Git Product logo

Comments (3)

leonardocavagnis avatar leonardocavagnis commented on August 15, 2024 1

Dear @dmazzella,
LVGL v9 fix has been merged. It will be available in the next Core release.
Remember to update also the Arduino_GigaDisplayTouch library to version 1.0.1.

from arduinocore-mbed.

facchinm avatar facchinm commented on August 15, 2024

Hi @dmazzella ,
thanks for the heads up! I tried a quick 'n dirty porting, basic functionality is in place (see here and here ) but there's still work to be done due to the deprecation of sw_rotation flag (so Giga display shield only works in portrait mode).

@kisvegabor could you provide some insights on how the new lv_draw_sw_rotate API is supposed to work? The original draw_buf_rotate implementation is quite more sensitive on RAM (and transparent).

@leonardocavagnis since the plan is to release the core next week I'd proceed with adding an #error if LVGL_VERSION_MAJOR is 9, so at least there's a clean way to avoid the issues flood.

from arduinocore-mbed.

kisvegabor avatar kisvegabor commented on August 15, 2024

Hi @facchinm,

@kisvegabor could you provide some insights on how the new lv_draw_sw_rotate API is supposed to work? The original draw_buf_rotate implementation is quite more sensitive on RAM (and transparent).

It really required 2 separate source and destination buffers now. Note that the "original draw_buf_rotate implementation" from LVGL v8 was dynamically allocating a smaller temporary buffer for rotation.

The current implementation is

  • faster and cleaner
  • more explicit (there is no hidden allocation)
  • more flexible as you can provide any kind of destination buffer
  • you can rotate the source buffer line by line, so you need only one line for the destination buffer.

from arduinocore-mbed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.