Commit Graph

23 Commits

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