Commit Graph

50 Commits

Author SHA1 Message Date
inmarket
583b022657 Add PNG image support - Does not support interlaced PNG's 2016-02-27 11:57:23 +10:00
Joel Bodenmann
380c41b766 Improving Pixmap API 2015-07-03 17:08:28 +02:00
Joel Bodenmann
23a603dd0d Renaming /demos/modules/gdisp/pixmaps to /demos/modules/gdisp/pixmap (dropping the s) 2015-07-03 17:04:09 +02:00
inmarket
112852ffc3 Update multiple display demo to display better on very small displays. 2015-02-07 21:59:43 +10:00
inmarket
189bad3e6a Multiple Displays demo - use sprintg instead of sprintf.
Make multiple display settings set-able in the makefile.
2015-02-05 00:17:38 +10:00
inmarket
ef00cac45d Add support and demo for pixmaps (in memory drawing) 2015-01-13 13:50:46 +10:00
inmarket
87242d0a6c Add MatrixFloat2D and MatrixFixed2D operations to GMISC.
Add polygon demo
2014-11-21 17:09:44 +10:00
Joel Bodenmann
d9dd6673b7 Simplifying gdisp/arcsectors demo to only use the GDISP module 2014-10-28 12:03:01 +10:00
inmarket
3825cec8f8 Added new arc sector drawing routines (Thanks to steved for the inspiration).
Added demo to match.
2014-10-27 16:44:53 +10:00
inmarket
036ad5d3dd SImplify the options for multiple displays.
This will also be more compatible with newmouse infrastructure
2014-09-17 08:45:40 +10:00
inmarket
6dd606fc2f Add demo makefiles and update example master makefiles to match. 2014-02-19 00:19:38 +10:00
inmarket
5edf7c956e On ARM gcc compiler it appears that non-referenced character arrays are "optimised" out (but not on x86).
This conflicts with the -b parameter in the file2c tool and leads to corrupted images on ARM platforms.
For now just remove the parameter when generating ROMFS files for an ARM platform.
2014-02-15 22:28:07 +10:00
inmarket
4d3a08f5cf Update image demo's to use GFILE ROMFS. 2014-02-07 18:44:32 +10:00
inmarket
010e0f0d62 Update demo's with images in them 2014-02-07 14:08:39 +10:00
inmarket
1dfbc0ab82 Comment fix 2013-11-23 12:55:23 +10:00
inmarket
db74e7c823 Remove orientation changes in demos because this is now handled by using GDISP_DEFAULT_ORIENTATION. 2013-11-16 01:51:32 +10:00
inmarket
53408e2cb3 Fix incorrect naming of GMISC_INVSQRT_... macros. 2013-11-09 19:13:01 +10:00
inmarket
db09e33dff Fix spelling error and migrate demo gfxconf.h changes to all demos including the new streaming and multiple display demos 2013-10-28 10:46:25 +10:00
Joel Bodenmann
2cb8e08c52 uncommented GOS selection in GDISP and GWIN demos 2013-10-28 10:00:35 +10:00
Joel Bodenmann
36c55722dd updated GDISP and GWIN demos 2013-10-28 09:52:09 +10:00
inmarket
e6f17baf61 GMISC invsqrt() function.
Fix a 64bit processor bug.
Add support for processors where the floating point and integer endianness don't match.
Add support for processors with a non-standard floating point format.
Update gdisp_streaming demo with extra comments to reflect the above changes.
2013-10-24 15:03:47 +10:00
inmarket
0b9db701a1 Fix missing case in gdispStreamStop().
Add support for controllers that need flushing.
Add both automatic and manual flushing (via the gdispFlush() method)
2013-10-21 13:34:55 +10:00
inmarket
86a5734912 Multiple controller support can now auto-detect hardware capabilities at run-time.
Specific hardware support can still be turned off or on via macros in gfxconf.h to improve efficiency.
Multiple Display demo updated to match.
2013-10-16 01:39:56 +10:00
inmarket
3b8c572552 New demo for multiple display support. 2013-10-14 08:55:44 +10:00
inmarket
a7360c13c2 Update animated image demo to better support small displays 2013-09-27 01:36:31 +10:00
inmarket
c5ceb31e73 Update to streaming demo program to only update the needed area (results in much faster display on slow devices)
Also now demonstrates streaming to a non-full screen area.
2013-09-25 17:15:50 +10:00
inmarket
f16d80e099 New streaming demo 2013-09-24 16:12:03 +10:00
inmarket
6858e33285 Update demos so OS can be specified in the Makefile 2013-09-18 23:38:26 +10:00
Joel Bodenmann
a7fecd2a0b added cyrillic font demo 2013-09-15 02:34:07 +02:00
inmarket
b53ab7adf4 Update demos slightly. 2013-09-06 12:22:08 +10:00
inmarket
bbdbd637f0 Update old demos for new fonts. 2013-08-17 23:35:18 +10:00
inmarket
0e707769b4 Add new font demo showing how to include user application fonts. 2013-08-17 23:34:43 +10:00
inmarket
7961241989 Fix corruption of binary files by license header updates 2013-07-22 17:04:37 +10:00
Joel Bodenmann
73c5ef26f8 fixed license headers 2013-07-21 22:20:37 +02:00
inmarket
b7e6967886 Add missing file to GDISP image demo 2013-07-08 08:44:46 +10:00
inmarket
466445e3f8 Change GDISP image default reading mode for WIN32 2013-07-08 08:31:45 +10:00
inmarket
ed0bac9765 License header updates 2013-06-15 21:37:22 +10:00
inmarket
0dca00fc21 License header fixes to some demos. 2013-06-06 16:52:41 +10:00
inmarket
c2a4f9a5d6 Had extra elements to gitignore and fix image problems created by github 2013-06-02 18:55:59 +10:00
Joel Bodenmann
f2ba60f465 gdispInit() -> gfxInit() in all demos 2013-05-30 19:02:55 +02:00
inmarket
7fbfde42aa GOS module, for operating system independance
GMISC fast floating point trig
GMISC fast fixed point trig
2013-05-25 01:26:52 +10:00
Andrew Hannam
a02c124940 GIF image handling
GIF image handling
Updates to Image structure to make memory accounting optional
Add set image background color to handle animated transparency.
2013-04-20 21:19:26 +10:00
Joel Bodenmann
1946749578 changed the license of all demos to BSD 2013-04-08 21:55:13 +02:00
Andrew Hannam
8b15aab802 Update demo to use Memory Reader for images 2013-04-04 21:02:05 +10:00
Andrew Hannam
64971549fd New GDISP image handling with demo
Images currently support Native and BMP (except RLE4,8 and 16 bit - due
to bugs)
Supports reading from Memory, BaseFileStream or real files (only on the
Win32 simulator).

Move gdisp_pictures demo to better refect its purpose.

Bug fixes for BMP RLE4,8 & 16 bit to come very soon
GIF support very soon.
2013-04-03 13:51:43 +10:00
Joel Bodenmann
e315480c71 updated copyright - 2013 2013-03-06 23:11:01 +01:00
Joel Bodenmann
12a6eeb91d added gdisp_pictures demo 2013-03-04 23:54:50 +01:00
Joel Bodenmann
1bfc5a9f85 removed GDISP_LLD() macro - fix 2013-02-11 09:25:45 +01:00
Joel Bodenmann
885b3d53b3 removed GDISP_LLD() macro 2013-02-11 09:25:26 +01:00
Joel Bodenmann
249a1b345f added tdisp demo 2013-01-11 15:04:33 +01:00