Commit Graph

41 Commits

Author SHA1 Message Date
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
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
2ab2d77fcb Change coord_t to gCoord 2018-07-08 10:54:19 +10:00
inmarket
41271d632b Added new type definitions - moving towards V3.0 2018-06-23 13:02:07 +10:00
inmarket
94f1cc2f0a Change new colors to GFX_RED instead of GFXRED. Use the new color defs 2018-03-10 20:36:12 +10:00
inmarket
f265924396 First set of V3 macro changes 2018-02-27 17:44:21 +10:00
Wesley Moore
281ccb72ce Add support for 128x32 SSD1306 displays 2016-12-15 07:51:21 +11:00
inmarket
c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
inmarket
48a9d334b7 Replace all inline definitions with GFXINLINE 2015-10-23 18:24:49 +10:00
inmarket
0ab2228364 Add support for SH1106 in the SSD1306 driver 2015-09-18 11:18:01 +10:00
inmarket
2d8c9bdcec Yet another SSD1306 driver fix 2015-02-07 00:10:44 +10:00
inmarket
f8c06e70a7 Fixes to all monochrome drivers
TLS8204 driver is now operational
2015-02-07 00:07:49 +10:00
inmarket
795b8a5e7d Fix optimization code that broke the SSD1306 for I2C interfaces. 2015-02-06 16:25:16 +10:00
inmarket
fa8167b94d Big file rename to reduce problems with brain-dead IDE's that don't handle project file hierarchies well.
Naming is more consistent with the new scheme.
May affect some third party drivers (header file renames).
2015-01-21 17:26:24 +10:00
inmarket
05354e057d Had to revert the new method of orientation support for SSD1306.
Unfortunately the new method immediately flipped orientation rather than just affecting drawing operations.
As both methods can be supported by the hardware/code we always use drawing only orientation support.
Updated the new fill routine to match.
Also fixed color black bug and moved variable definitions to start of a block as is required by pure C compilers.
2014-12-16 23:07:14 +10:00
ergosys
555fda2170 Implement "hardware" fills
Implement hardware fills by drawing on the framebuffer. This provides a
significant performance boost for filled geometric primitives and a
small one for font drawing.  Tested at all orientations.
2014-12-13 15:09:37 -08:00
ergosys
d3b3020a07 use gdispColor2Native to get fill color 2014-12-13 15:09:37 -08:00
ergosys
9618d7917b Partially handle screen rotation using remapping
Use row and column remapping to change either row or column addressing
for each orientation.  This removes the need to reverse the drawing
direction of either x or y in the drawing routines.  However in the 90
and 270 case x and y must still be swapped.

Also, rename the SSD1306 remapping command names so they are more
descriptive.
2014-12-13 15:09:37 -08:00
ergosys
bdfafbcf9f slightly faster flush and clear 2014-12-12 16:21:09 -08:00
ergosys
3b12678e6e add hardware clear 2014-12-12 16:21:08 -08:00
ergosys
96a5f5fbea fix GDISP_ROTATE_270 case 2014-12-12 16:21:08 -08:00
ergosys
a43a9b25f6 add missing bus acquisition 2014-12-12 16:21:08 -08:00
inmarket
1a495f3013 Rename all driver makefiles to driver.mk 2014-08-22 18:20:02 +10:00
Joel Bodenmann
08e1b0ebc7 Removed the doxygen inside of every driver as doxygen is only meant for highlevel API documentation.
Documenting the drivers interface should be done inside a template driver or the gdisp LLD abstraction.
2014-03-28 19:45:08 +01:00
inmarket
37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
inmarket
7f1b78a067 Replace color format conversion macros with proper routines to prevent side effects with using the macro.
Also fix a number of compiler warnings.
2013-11-17 23:32:19 +10:00
inmarket
a8e860678d New GDISP now supports multiple controllers with different pixel formats.
You can now have a main color display and a secondary monochrome display.
You can now optionally set GDISP_PIXELFORMAT to any color or grayscale format for your application and the driver will internally convert to the display hardware format.
2013-11-05 19:34:12 +10:00
inmarket
ece5bcd6ab Auto-generate pixel formats using macro's.
Prepare for (but not yet complete) supporting a different high level GDISP pixel format to the low level driver format.
This will be useful in multiple display scenario's where displays have different pixel formats.
2013-11-05 00:36:54 +10:00
inmarket
555257933a Clean up the driver directory structure by moving all board specific files into the boards sub-structure. 2013-10-28 20:04:03 +10:00
inmarket
b05a29f830 Rename GDISP driver files to prevent problems when compiling for multiple controllers on platforms that put all generated object files into a single directory. 2013-10-28 11:03:39 +10:00
inmarket
e0b2406da6 Fix SSD1306 driver and board files to allow for seamless transfer of the command byte with the page line data without copying the data on to the stack. 2013-10-25 14:39:56 +10:00
inmarket
90ad93c41f Updates to SSD1306 driver to raise thread priority during flushing. 2013-10-24 11:59:41 +10:00
inmarket
c353b6e9b0 Remove superflous defines 2013-10-23 01:33:43 +10:00
inmarket
299cb353af Bug fixes to SSD1306. Orientation in all directions is also now supported. 2013-10-22 19:52:54 +10:00
inmarket
27b5383c1b Fix typos in drivers 2013-10-22 15:52:31 +10:00
inmarket
f4b9f0bcfe Convert SSD1306 driver to new driver format.
This driver requires the new flush operation.
2013-10-21 17:12:48 +10:00
Joel Bodenmann
05039b6af2 fixed SSD1306 license headers 2013-08-29 01:54:51 +02:00
Joel Bodenmann
fa5962eef0 Added SSD1306 driver by user goeck 2013-08-26 00:50:47 +02:00