25 Commits

Author SHA1 Message Date
Gordon Williams
041827718b Allow drawString with a filled background, which allows flickerless writing on non-double-buffered screens
fillRect now takes a color
2019-10-23 17:02:29 +01:00
Gordon Williams
0dfc922100 Just use ints when passing coordinates around. Using short just added about 1k of extra code! 2019-10-23 16:24:39 +01:00
Gordon Williams
f91b713e49 fix issue with Graphics interleavex and fills 2018-12-21 12:59:49 +00:00
Gordon Williams
04eafbfedd Add Graphics.createArrayBuffer(... {interleavex:true}) to allow faster support for P3 LED panels 2018-12-20 17:03:59 +00:00
Mark Becker
8bfa213157
fix types lacks a cast
warning: comparison of distinct pointer types lacks a cast [enabled by default]
2018-10-25 19:08:14 +02:00
Gordon Williams
8a44b04b58 Add height check for Graphics.createArrayBuffer(...vertical_byte:true) (fix #1421) 2018-05-18 10:02:14 +01:00
Gordon Williams
b0b4645500 typo 2018-02-13 14:22:05 +00:00
Gordon Williams
dbe0d63ac6 Speed improvements for ArrayBuffer Graphics 2018-02-06 15:16:45 +00:00
Gordon Williams
173ea21937 improve arraybuffer fill speed 2018-02-06 12:14:36 +00:00
Gordon Williams
80ce11135a I love Eclipse global regex replace :)
Use jsvUnLock2/etc to really drop memory usage
2015-09-18 12:25:07 +01:00
Gordon Williams
a11edb58f9 more warning removal 2015-06-01 18:13:14 +01:00
Gordon Williams
98053bf24e fix potential lock/unlock mismatch 2015-04-22 11:21:00 +01:00
Gordon Williams (u36)
072c508ec6 Allowed ArrayBuffer Graphics to store pixels MSB-first 2015-04-13 09:24:55 +01:00
Gordon Williams
ff2871778a Fix issue with graphics fill on PCD8544 LCD 2015-02-17 14:42:51 +00:00
Gordon Williams
59d7766576 Improved ArrayBuffer write performance
Massively improved ArrayBuffer Graphics fill performance for bpp<8
2015-01-16 16:41:57 +00:00
Gordon Williams
47b6bb6035 refactoring - move iterators to their own file 2014-08-08 13:28:49 +01:00
Gordon Williams
3428c9694f Fix memory leak in Graphics.createArrayBuffer 2014-07-17 17:33:50 +01:00
Gordon Williams
d2ac389cb5 Fixed ArrayBuffer Graphics where width*height*bpp&7!=0 2014-06-20 08:26:57 +01:00
Gordon Williams
7b9195b3bf Fixed memory leak in g.getPixel with arraybuffers 2014-06-19 16:59:21 +01:00
Gordon Williams
03e1bd9875 squashing warnings 2014-06-19 16:25:21 +01:00
Gordon Williams
26254d0fea ArrayBuffer Graphics now supports 2 and 4 bits as well as 1,8,16,24,32 (fix #301) 2014-04-07 13:23:56 +01:00
Gordon Williams
da136da6f3 epic switch to unsigned string functions, and de-warningification 2014-02-14 15:56:34 +00:00
Gordon Williams
702ecf8b05 Implement faster Graphics ArrayBuffer fill (affects vector fonts + clear) 2014-02-12 13:28:03 +00:00
Gordon Williams
66c62f7adf code tidy - now use single function 2013-12-02 13:37:28 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00