Solved: A High-Performance GFX Library for Artemis/Apollo3

I realize this is a very old topic now, but I was hoping you could detail out the build environment you were using when this was working. I have been unable to recreate your arduino like draw speeds, and in fact am getting about 10x slower results than an UNO when using the adafruit GFX library, even with your modified files. Using verbose logging, and by removing the regular library I am quite certain it’s using the modified 1.9.0 version I created per your instructions.

As a starting point, I tried using board definitions and libraries that would have been released prior to July 2020 when you post this, and I am unable to get it to compile at all with any Apollo3 board definitions older than 2.0.

Using Sparkfun’s Hyperdisplay library and example does work, but also appears to be drawing extraordinarily slow at roughly the same rate as the Adafruit library.

I’m at a loss as how to proceed other than to return the Redboard and choose a different platform to build on. Any suggestions you might have regarding the above to get a faster display would be appreciated.

Times:

Sparkfun Artemis:

02:29:30.348 → Display Power Mode: 0xCA

02:29:30.348 → MADCTL Mode: 0x24

02:29:30.348 → Pixel Format: 0x2

02:29:30.348 → Image Format: 0xC0

02:29:30.348 → Self Diagnostic: 0xE0

02:29:30.348 → Benchmark Time (microseconds)

02:29:30.348 → Screen fill 23129328

02:29:54.112 → Text 1193651

02:30:02.957 → Lines 11468135

02:31:07.764 → Horiz/Vert Lines 1893860

02:31:14.809 → Rectangles (outline) 1207512

02:31:21.172 → Rectangles (filled) 48005297

02:32:15.827 → Circles (filled) 5538829

02:32:26.027 → Circles (outline) 5013224

02:32:31.549 → Triangles (outline) 2602378

02:32:39.340 → Triangles (filled) 15679052

02:33:03.018 → Rounded rects (outline) 2348387

02:33:10.528 → Rounded rects (filled) 47762824

02:34:03.687 → Done!

Arduino Uno:

02:35:46.628 → Image Format: 0x0

02:35:46.628 → Self Diagnostic: 0x0

02:35:46.628 → Benchmark Time (microseconds)

02:35:46.675 → Screen fill 1496888

02:35:48.638 → Text 175020

02:35:52.137 → Lines 1435584

02:35:59.494 → Horiz/Vert Lines 127044

02:36:00.426 → Rectangles (outline) 83792

02:36:01.309 → Rectangles (filled) 3107152

02:36:05.332 → Circles (filled) 498780

02:36:06.122 → Circles (outline) 613904

02:36:07.242 → Triangles (outline) 316496

02:36:08.363 → Triangles (filled) 1358164

02:36:10.824 → Rounded rects (outline) 242988

02:36:11.894 → Rounded rects (filled) 3134828

02:36:15.823 → Done!