Commit Graph

500 Commits

Author SHA1 Message Date
Mark Watkins
57eaca4ed5 Pixmap caching gTooltips is rather slow, so only use it on Mac platform as it fixes the wavy font bug 2013-01-18 20:55:55 +10:00
Mark Watkins
1397f35ac4 Added pixmap cache option to tooltip (to fix wavy Mac font bug) 2013-01-18 20:03:10 +10:00
Mark Watkins
3841635381 Added appearance preference to switch Pixmap Caching on/off 2013-01-18 18:37:17 +10:00
Mark Watkins
3539ebf055 Invalidate x/yAxis texture pixmaps on window resize 2013-01-18 17:58:26 +10:00
Mark Watkins
e24cc56975 Performance Improvement: Use texture caching with xAxis tickmarks and text when usePixmapCache is on 2013-01-18 17:33:35 +10:00
Mark Watkins
866b9151ab added that yAxis ticker code back, but I made it selectable with usePixmapCache. It's much faster 2013-01-18 16:19:54 +10:00
Mark Watkins
f0a1e4c15a Fix shutdown ASSERTION failure on Windows platform 2013-01-18 08:49:15 +10:00
Mark Watkins
777772b5d4 Revert YAxis Ticker image cache, as it doesn't work rendered offscreen 2013-01-18 08:28:58 +10:00
Mark Watkins
ea55c36323 Compiler fix for last commit 2013-01-18 07:52:29 +10:00
Mark Watkins
b49063b85e Offscreen rendering doesn't like pixmap cache, so disable it for snapshots 2013-01-18 07:48:19 +10:00
Mark Watkins
d65cb86695 Debug Mode string needed pushing over due to font differences between Mac and Win/Linux 2013-01-18 06:57:17 +10:00
Mark Watkins
0697f92b84 Use AntiAlias bit as a flag to draw text directly on Mac & Linux (PieChart Bugfix) 2013-01-18 06:41:52 +10:00
Mark Watkins
6c0d8933da Add antialias setting to pixmap cache key, and show pixmap cache size in debug string 2013-01-18 05:23:57 +10:00
Mark Watkins
2368c05fa7 Added selectable text antialiasing. Pie chart text overlay looked like crap 2013-01-18 05:16:20 +10:00
Mark Watkins
a6478ca3e3 Removed the extra texture cache code for Graph vertical titles 2013-01-18 05:11:10 +10:00
Mark Watkins
67f0cf443b Implemented font texture caching
This seems to be quite a bit faster and solves the wavy line problems on mac.
I implemented a switch so this can be turned on/off in gGraphView::DrawTextQue()

change use_pixmap_cache to false to turn it off.

I'll remove the graph title and yaxis bits and put them back as this has the
same effect
2013-01-18 04:26:11 +10:00
Mark Watkins
aa24352e70 shutdown framebufferobject properly if used 2013-01-16 15:37:09 +10:00
Mark Watkins
5446992899 Added line/quad count to debug info 2013-01-16 07:02:03 +10:00
Mark Watkins
59d217d7c7 Testing fix for Pixel alignment issues 2013-01-16 05:30:59 +10:00
Mark Watkins
33f59dd3de Implemented yAxis Header texture cache to save on font drawing 2013-01-16 05:15:20 +10:00
Mark Watkins
ca89b7d9db Texture cache test with vertical graph titles 2013-01-16 03:59:32 +10:00
Mark Watkins
365b57ace4 Graphics snapshot system broken, added FrameBufferObject & PixelBuffer methods 2013-01-15 15:55:39 +10:00
Mark Watkins
a1a52b8625 Added tooltip timeout slider in Appearance Preferences, removed empty preferences page. 2012-05-17 03:04:22 +10:00
Mark Watkins
4fb00cb2a1 Saving Unintentional Leaks progress.. (working, but not finished yet) 2012-01-20 01:18:34 +10:00
Mark Watkins
8863523018 Initial PRS1 Unintentional Leaks hack for all CPAP modes. Minor crash fix to UserFlags calculations 2012-01-15 16:20:10 +10:00
Mark Watkins
e746834eb1 Can now set preference calculations for mid (median, average, wavg), percentile (90/95%/etc) and max (true max/99%) 2012-01-13 09:34:52 +10:00
Mark Watkins
a1d5861489 Cursor up/down zoom did not take into account hidden graphs, and was jumping to beginning 2012-01-13 08:56:01 +10:00
Mark Watkins
46dd0d6446 Better method of fixing 0.00 ahi days occasionally displaying as no data, done in ResMed importer, it will now show OA/H/A event flags lines event when no events for that day. (CA is not available on VPAP, so it only gets added when available) 2012-01-12 15:25:51 +10:00
Mark Watkins
b1e18aa25c Fix 0.00 ahi days occasionally displaying as no data. Stopped CPAP_Leak calculation for PRS1 APAP and greater as it's not accurate yet 2012-01-12 15:06:19 +10:00
Mark Watkins
47b160e907 userEventDuplicates stub stuff (currently hidden), disabled zlib gzbuffer usage as ubuntu has a outdated zlib. 2012-01-11 09:28:29 +10:00
Mark Watkins
1d1d9435c1 Sessions Overview chart should start at 1 2012-01-10 21:10:52 +10:00
Mark Watkins
c8ee271ec7 Fix preferences apply bug, and enabled multithreading for recalculation 2012-01-10 17:37:15 +10:00
Mark Watkins
194dc3d579 Stop Event Flags dissappearing on zero days, Event Flags and Flow overlay checks and optimisations 2012-01-10 12:34:44 +10:00
Mark Watkins
5056974887 Minor bugfix and flow rate optimisations 2012-01-10 03:06:24 +10:00
Mark Watkins
e022cee75e Import profiling & optimisations. Fix summary chart pressure not showing for CPAP amongst APAP days. 2012-01-10 01:38:41 +10:00
Mark Watkins
edf44d3e72 Miscellaneous fixes and code cleanup.. Made PRS1 custom event flagging optional, made minor improvements to it's functionality. enabled AHI/hr graph options. Use just 2 decimal places in stats. Changed bookmarks in right sidebar to HTML view as List was broken 2012-01-07 02:07:54 +10:00
Mark Watkins
0b3d47a7f0 SummaryChart highlight improvement, Details tab tooltip position, SearchEvent optimisation. 2012-01-06 13:15:52 +10:00
Mark Watkins
1485afe17c Fix archiac weight glitch.. made cube even more annoying 2012-01-06 01:17:50 +10:00
Mark Watkins
935850faa6 Fixed bug with FlagsLine Span, minor speed improvement in Day weighted percentile calculation. 2012-01-05 22:13:01 +10:00
Mark Watkins
96ff7471d9 Graphics Optimisations 2012-01-05 21:35:23 +10:00
Mark Watkins
d9113e0a5e Added some Efficiency Debugging stuff, and a more accurate FrameRate counter :) 2012-01-05 16:54:07 +10:00
Mark Watkins
3e7684efac Some profiling & optimisations. Implemented Session Events Compression, Backup edf File compression for ResMed, preference changed around a bit, and new options for the compression and backup stuff. And more efficient Weighted Percentile calculations 2012-01-05 14:37:22 +10:00
Mark Watkins
0b9238defe Murderalized the button box show/hide for the same combobox method used in overview.. Added zoom out 100% button 2012-01-04 02:29:35 +10:00
Mark Watkins
ad04a37791 Fixed Overview pressure for CPAP mode, and fixed Graph Visiblity Combo 2012-01-03 22:03:37 +10:00
Mark Watkins
30f060c2dc Overview Page Graph Visibility Combo Box 2012-01-03 21:12:13 +10:00
Mark Watkins
288d6aba3b Prescription Changes display fixes for various machine types 2012-01-03 19:28:29 +10:00
Mark Watkins
26eddd4444 Fix gold highlights in overview not disappearing when leaving graph 2012-01-03 17:15:02 +10:00
Mark Watkins
23a59d80eb Overview SummaryChart fixes: min/max settings values, uniform legend color markers, use median not average 2012-01-03 15:40:35 +10:00
Mark Watkins
ab09192ceb Made Overview AHI SummaryChart show weighted average to match Statistics 2012-01-03 14:36:47 +10:00
Mark Watkins
4615d5de0c Remove HiRes Printing option (as it's all HighRes now), and re-enabled AntiAliasing for mac 2012-01-03 10:45:39 +10:00