Commit Graph

778 Commits (master)

Author SHA1 Message Date
Joel Bodenmann 41eef9dede GDISP: Add CH1115 driver 2023-11-25 17:19:15 +01:00
Joel Bodenmann b40425a0ae SSD1312: Add new GDISP driver 2023-10-31 12:34:10 +01:00
inmarket f1a34c9852 Fix for Win32 keyboard driver key states 2023-07-25 09:44:48 +10:00
inmarket 025cef93cc Use pure ascii encoding to prevent character encoding issues 2023-07-12 12:02:40 +10:00
Joel Bodenmann fa0c779b0c drivers/multiple/SDL2: initialize only required subsystems 2023-06-07 16:09:24 +02:00
Joel Bodenmann 3d543b62bc drivers/multiple/SDL2: rename UGFX_SDL_INIT_FLAGS to GFX_SDL_INIT_FLAGS 2023-06-07 15:49:24 +02:00
Joel Bodenmann d1279f5ef2 drivers/multiple/SDL2: allow overriding SDL_Init() flags 2023-06-07 15:47:50 +02:00
Joel Bodenmann 6b0ce94b15 cmake: improve SDL2 support 2023-06-07 15:24:51 +02:00
Joel Bodenmann ad90707866 cmake: add support for drivers/ginput/touch/Linux-Event 2023-05-30 13:22:30 +02:00
Joel Bodenmann dee588888b cmake: add support for drivers/gdisp/framebuffer 2023-05-30 13:14:19 +02:00
Joel Bodenmann 9e9fc1e824 cmake: add support for drivers/multiple/X 2023-04-21 19:02:34 +02:00
Joel Bodenmann da1c2233e7 drivers/GDISP/LGDP4532: Add gdisp_lld_draw_pixel() and gdisp_lld_fill_area()
Contributed by "Volodymyr Shylov" <shilow@ukr.net>
2022-05-23 16:05:05 +02:00
Joel Bodenmann 143a3a8847 drivers/GDISP/SSD1322: Add missing driver.mk file
Fixes #7
2022-04-26 00:50:49 +02:00
Joel Bodenmann ba9b9fb62b cmake: add driver file for drivers/multiple/Win32 2021-11-03 20:23:16 +01:00
Joel Bodenmann 734c5cd421 cmake: Improve SDL driver integration 2021-10-28 16:15:02 +02:00
inmarket 2c1c87ee1b Fixing line endings 2021-10-20 22:17:27 +10:00
Joel Bodenmann ae6a3bc18b Adding CMake support for gdisp/STM32LTDC driver 2021-10-12 18:37:02 +02:00
Joel Bodenmann 64aa71339c Adding CMake support 2021-10-12 17:44:54 +02:00
Joel Bodenmann 1c29a88ee1 Fix SDL2 driver arguments to mmap() and sem_open()
Linux & MacOS seem to tolerate the incorrect parameters but they are wrong as per the documentation.
On more pedantic systems such as FreeBSD these calls fails.
2021-09-21 17:44:43 +02:00
Joel Bodenmann cbf9c22adf STM32LTDC: Update readme.md 2021-08-26 14:26:59 +02:00
Joel Bodenmann 6d6ce043d0 Whitespaces 2021-08-26 14:26:17 +02:00
Joel Bodenmann 7845f44f20 Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation.
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:22:19 +02:00
Joel Bodenmann 1235a9056c Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area()
Thanks to @nathanwiebe for reporting this.
2021-08-26 00:04:47 +02:00
Joel Bodenmann b17cb215f4 STM32LTDC: Handle gOrientationPortrait and gOrientationLandscape explicitly although not supporting it 2021-08-23 15:26:15 +02:00
Joel Bodenmann 888c7e8640 STM32LTDC: Fix bug in DMA2D blitting
Thanks to @nathanwiebe for reporting this:
https://community.ugfx.io/topic/3159-a-bug-in-the-stm32-ltdc-driver
2021-08-18 20:58:53 +02:00
Joel Bodenmann c57bd08379 Fix comment 2021-08-18 18:26:41 +02:00
Joel Bodenmann 77f10024e0 STM32LTDC: Improve pixel format detection if 2nd layer is used
This is necessary as using double buffering via STM32LTDC_USE_DOUBLEBUFFERING will also result in GDISP_TOTAL_DISPLAYS being larger than 1.
2021-08-18 17:12:12 +02:00
Joel Bodenmann d980418e81 STM32LTDC: Update readme.md 2021-08-18 16:46:04 +02:00
Joel Bodenmann 08c2358542 STM32LTDC: Support double buffering 2021-08-18 16:38:23 +02:00
Joel Bodenmann 5e3159064a Fix typo in readme 2021-08-17 15:56:06 +02:00
Joel Bodenmann 8804f3a381 STM32LTDC: Fix misspelled macro (internally only) 2021-08-17 15:55:02 +02:00
Joel Bodenmann 7f78be1183 STM32LTDC: Rename user config options for consistency & add docs 2021-08-17 14:23:57 +02:00
Joel Bodenmann 91247717a0 STM32LTDC: Expose more options to board file 2021-08-17 13:40:57 +02:00
Joel Bodenmann 2de054b530 STM32LTDC: Remove obsolete LTDC_NO_CLOCK_INIT define 2021-08-17 13:29:49 +02:00
Joel Bodenmann 94fd096fdd STM32LTDC: Rename ALLOW_2ND_LAYER to LTDC_USE_2ND_LAYER 2021-08-17 13:26:54 +02:00
Joel Bodenmann a9cf2bdfe2 STM32LTDC: Enable DMA cache flushing on H7 platforms 2021-08-17 12:32:12 +02:00
Joel Bodenmann 37450998e1 STM32LTDC: Fix board function signatures 2021-08-12 20:31:49 +02:00
Joel Bodenmann 6fa3520f2a Refactor STM32LTDC driver to outsource hardware specifics such as clock setup to the board file 2021-08-12 20:22:49 +02:00
Joel Bodenmann 9c0678a291 Avoid duplicate const specifier compiler warnings
The original code is perfectly valid standard C. However, some compilers (especially GCC) complain about duplicate const specifiers anyway.
At this point we cave in as there doesn't seem to be any efforts to fix this problem by the corresponding compiler vendors.

uGFX v3 will no longer suffer from this problem as the driver interface works differently in this area.
2021-08-12 12:20:07 +02:00
inmarket d528fb218d Minor fixups 2018-11-10 10:45:28 +10:00
inmarket 8a9ed5195b Tidy u gfxSem, gfxMutex and various Macros by converting to new types gSem, gMutex etc 2018-11-03 12:29:30 +10:00
inmarket 7c5a6c928f For all source files update integer types to the new gI8 etc type names 2018-11-03 10:51:23 +10:00
Tibo Clausen 0840c8e784 Update license header 2018-10-01 17:34:15 +02:00
inmarket 330f891081 Added type gThread to replace V2.x gfxThreadHandle 2018-07-08 15:40:27 +10:00
inmarket 1fc4180d41 gThreadpriorityLow/Normal/High to replace LOW_/NORMAL_/HIGH_PRIORITY 2018-07-08 15:32:26 +10:00
inmarket 93da5a0578 gDelayNone/gDelayForever to replace TIME_IMMEDIATE/TIME_INFINITE 2018-07-08 15:15:15 +10:00
inmarket e61f0ae424 Added type gOrientation to replace V2.x orientation_t, and values gOrientationX replace GDISP_ROTATE_X 2018-07-08 13:51:20 +10:00
inmarket bda8c738b1 Added type gPowermode to replace V2.x powermode_t, and values gPowerXXX replace powerXXX 2018-07-08 11:47:36 +10:00
inmarket f9c848e985 Change color_t to gColor 2018-07-08 11:19:43 +10:00
inmarket cfb1b2a488 Change pixel_t to gPixel 2018-07-08 11:08:55 +10:00