esp-arduino-libs / ESP32_Display_Panel

Arduino library of driving display panel for the ESP SoCs
Apache License 2.0
71 stars 16 forks source link

Examples of using simple drawing libraries #105

Open bajacondor opened 3 weeks ago

bajacondor commented 3 weeks ago

Hello,

Thank you for this great code. I've used it to get started with a touchscreen display. Where are some examples of using your library with simple drawing libraries like Arduino_gfx or TFT_espi. Isn't it possible to use libs such as those to directly render to the bus/panel created by ESP32_Display_Panel?

Thank you, David

Lzw655 commented 2 weeks ago

Hi David,

Thank you for your feedback. This library is currently primarily used in conjunction with LVGL. Libraries like Arduino_gfx provide great graphics rendering capabilities, and perhaps I can consider porting them over in the future.

bajacondor commented 2 weeks ago

@Lzw655, Thank you. I actually got this to work with TFT_eSPI by drawing in memory to a sprite, and then using the panelLcd drawBitmap() function.

Lzw655 commented 2 weeks ago

Great!

bajacondor commented 2 weeks ago

It is working, but it is extremely slow. Are there ways to optimize the parallel RGB performance of drawBitmap()?

On Mon, Aug 26, 2024 at 5:54 PM Zhongwei Liu @.***> wrote:

Great!

— Reply to this email directly, view it on GitHub https://github.com/esp-arduino-libs/ESP32_Display_Panel/issues/105#issuecomment-2311365077, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAM4MOQTGJ5CILLOA2IHTLZTPE4XAVCNFSM6AAAAABNB3JXUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGM3DKMBXG4 . You are receiving this because you authored the thread.Message ID: @.***>

Lzw655 commented 2 weeks ago

You can try to use the high_perf version of the arduino-esp32 SDK.