{"id":16320555,"url":"https://github.com/tuupola/esp_gfx","last_synced_at":"2025-09-23T11:11:02.682Z","repository":{"id":65572463,"uuid":"256188817","full_name":"tuupola/esp_gfx","owner":"tuupola","description":"HAGL speed tests for ESP32 boards","archived":false,"fork":false,"pushed_at":"2023-02-18T18:23:42.000Z","size":156,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T10:03:41.453Z","etag":null,"topics":["esp-idf","esp32"],"latest_commit_sha":null,"homepage":"https://appelsiini.net/2020/embedded-graphics-library/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuupola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T10:59:46.000Z","updated_at":"2024-12-27T09:51:47.000Z","dependencies_parsed_at":"2025-02-10T22:43:37.006Z","dependency_job_id":null,"html_url":"https://github.com/tuupola/esp_gfx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuupola/esp_gfx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fesp_gfx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fesp_gfx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fesp_gfx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fesp_gfx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuupola","download_url":"https://codeload.github.com/tuupola/esp_gfx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuupola%2Fesp_gfx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276562624,"owners_count":25664433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp-idf","esp32"],"created_at":"2024-10-10T22:44:43.555Z","updated_at":"2025-09-23T11:11:02.654Z","avatar_url":"https://github.com/tuupola.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Graphics speed tests for ESP32\n\n![Circles](https://appelsiini.net/img/2020/pod-draw-circle.png)\n\n[HAGL](https://github.com/tuupola/hagl) graphics library speed tests for ESP32 based boards. See the accompanying [blog post](https://appelsiini.net/2020/embedded-graphics-library/). Ready made config files for M5Stack, TTGO T-Display and TGO T4 V13. For example to compile and flash for M5Stack run the following.\n\n```\n$ git clone https://github.com/tuupola/esp_gfx.git --recursive\n$ cd esp_gfx\n$ cp sdkconfig.m5stack sdkconfig\n$ make -j8 flash\n```\n\nIf you have some other board or display run menuconfig yourself.\n\n```\n$ git clone https://github.com/tuupola/esp_gfx.git --recursive\n$ cd esp_gfx\n$ make menuconfig\n$ make -j8 flash\n```\n\nOr if you are using the new build system.\n\n```\n$ git clone https://github.com/tuupola/esp_gfx.git --recursive\n$ cd esp_gfx\n$ idf.py menuconfigs\n$ idf.py build flash\n```\n\n## Speed\n\nBelow testing was done with the [TTGO T-Display](http://www.lilygo.cn/prod_view.aspx?Id=1126). Buffered refresh rate was set to 33 frames per second. Number represents operations per seconsd ie. bigger number is better.\n\n|                               | Single | Double    |Triple   |\n|-------------------------------|--------|-----------|---------|\n| hagl_put_pixel()              |  14526 |    682850 |  683024 |\n| hagl_draw_line()              |    171 |     15290 |   15264 |\n| hagl_draw_vline()             |  10293 |    132997 |  132980 |\n| hagl_draw_hline()             |  10276 |    132993 |  132997 |\n| hagl_draw_circle()            |    170 |     17475 |   17473 |\n| hagl_fill_circle()            |    270 |      9256 |    9259 |\n| hagl_draw_ellipse()           |    100 |      9110 |    9110 |\n| hagl_fill_ellipse()           |    127 |      3408 |    3407 |\n| hagl_draw_triangle()          |     57 |      5130 |    5129 |\n| hagl_fill_triangle()          |    103 |      1975 |    1975 |\n| hagl_draw_rectangle()         |   2752 |     37910 |   37916 |\n| hagl_fill_rectangle()         |    165 |      4574 |    4566 |\n| hagl_draw_rounded_rectangle() |    482 |     26120 |   26110 |\n| hagl_fill_rounded_rectangle() |    156 |      4287 |    4301 |\n| hagl_draw_polygon()           |     35 |      3088 |    3091 |\n| hagl_fill_polygon()           |     62 |      1073 |    1071 |\n| hagl_put_char()               |        |           |         |\n\n## License\n\nThe MIT No Attribution License (MIT-0). Please see [LICENSE](LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuupola%2Fesp_gfx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuupola%2Fesp_gfx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuupola%2Fesp_gfx/lists"}