{"action":"created","issue":{"url":"https://api.github.com/repos/littlevgl/lvgl/issues/111","repository_url":"https://api.github.com/repos/littlevgl/lvgl","labels_url":"https://api.github.com/repos/littlevgl/lvgl/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/littlevgl/lvgl/issues/111/comments","events_url":"https://api.github.com/repos/littlevgl/lvgl/issues/111/events","html_url":"https://github.com/littlevgl/lvgl/issues/111","id":297077912,"number":111,"title":"Using DMA2D with LVGL STM32F746NG-DISCOVERY","user":{"login":"KarolAbego","id":36192794,"avatar_url":"https://avatars1.githubusercontent.com/u/36192794?v=4","gravatar_id":"","url":"https://api.github.com/users/KarolAbego","html_url":"https://github.com/KarolAbego","followers_url":"https://api.github.com/users/KarolAbego/followers","following_url":"https://api.github.com/users/KarolAbego/following{/other_user}","gists_url":"https://api.github.com/users/KarolAbego/gists{/gist_id}","starred_url":"https://api.github.com/users/KarolAbego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarolAbego/subscriptions","organizations_url":"https://api.github.com/users/KarolAbego/orgs","repos_url":"https://api.github.com/users/KarolAbego/repos","events_url":"https://api.github.com/users/KarolAbego/events{/privacy}","received_events_url":"https://api.github.com/users/KarolAbego/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T12:27:03Z","updated_at":"2018-02-14T12:33:37Z","closed_at":null,"author_association":"NONE","body":"According to this post -> https://littlevgl.com/blog/8/embedded-gui-on-stm32-discovery-board-with-littlev-graphics-library, I want to use instead of DMA, DMA2D controller. I already wrote a function which prototype look like this void lcd_draw(uint32_t pos_x, uint32_t pos_y, uint32_t size_x, uint32_t size_y, uint32_t *ptr_to_buffer). It works fine with e.g bitmaps.  Of course I'm using VDB_DOUBLE buffering mode. Is it possible to write function \"ex_dips_flush\", that will fit requirements of \"lcd_draw\" function? "},"comment":{"url":"https://api.github.com/repos/littlevgl/lvgl/issues/comments/365594027","html_url":"https://github.com/littlevgl/lvgl/issues/111#issuecomment-365594027","issue_url":"https://api.github.com/repos/littlevgl/lvgl/issues/111","id":365594027,"user":{"login":"kisvegabor","id":7599318,"avatar_url":"https://avatars1.githubusercontent.com/u/7599318?v=4","gravatar_id":"","url":"https://api.github.com/users/kisvegabor","html_url":"https://github.com/kisvegabor","followers_url":"https://api.github.com/users/kisvegabor/followers","following_url":"https://api.github.com/users/kisvegabor/following{/other_user}","gists_url":"https://api.github.com/users/kisvegabor/gists{/gist_id}","starred_url":"https://api.github.com/users/kisvegabor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisvegabor/subscriptions","organizations_url":"https://api.github.com/users/kisvegabor/orgs","repos_url":"https://api.github.com/users/kisvegabor/repos","events_url":"https://api.github.com/users/kisvegabor/events{/privacy}","received_events_url":"https://api.github.com/users/kisvegabor/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T12:33:37Z","updated_at":"2018-02-14T12:33:37Z","author_association":"COLLABORATOR","body":"For a `disp_flush` function which runs in the background you can use your `lcd_draw` but you need to inform the library when `lcd_draw` is ready (using `lv_flush_ready()`).\r\nSo you need a callback for example in a \"DM2D ready interrupt\".\r\n\r\nIs it already working with LV_VDB_DOUBLE = 0? Don't forget that LV_VDB_DOUBLE = 0 is also double buffered just the parallel rendering and flushing is not supported.\r\n "}}
{"actor":{"display_login":"kisvegabor"}}