Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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