You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a6fbd4a5d8
Currently we draw and send the screens for a graphical LCD all at once. We draw in two or four parts but draw them directly behind each other. For the tested status screen this takes 59-62ms in a single block. During this time nothing else (except the interrupts) can be done. When printing a sequence of very short moves the buffer drains - sometimes until it's empty. This PR splits the screen update into parts. Currently we have 10 time slots. During the first one the complete screen is drawn. (60,0,0,0,0,0,0,0,0,0,0) Here i introduce pauses for doing other things. (30,30,0,0,0,0,0,0) or (15,15,15,15,0,0,0,0,0,0) Drawing in consecutive time slots prevents from lagging too much. Even with a 4 stripe display all the drawing is done after 400ms. Previous experiments with a even better distribution of the time slots like (30,0,0,0,0,30,0,0,0,0) and (15,0,15,0,15,0,15,0,0,0) did not feel good when using the menu, because of too much lag. Because of the previous PRs to speed up the display updates and especially reducing the difference between drawing 2 or 4 stripes, it now makes sense for the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER to go from 2 to 4 stripes. This costs about 1-2ms per complete screen update, but is payed back by having partial updates lasting only the half time and two additional brakes. Also ~256 byte of framebuffer are saved in RAM. 13:45:59.213 : echo: #:17 >:13 s:30; #:16 >:13 s:29; S#:33 S>:26 S:59 13:46:00.213 : echo: #:16 >:14 s:30; #:17 >:13 s:30; S#:33 S>:27 S:60 13:46:01.215 : echo: #:17 >:13 s:30; #:16 >:13 s:29; S#:33 S>:26 S:59 13:46:02.215 : echo: #:16 >:13 s:29; #:16 >:14 s:30; S#:32 S>:27 S:59 13:46:03.214 : echo: #:17 >:13 s:30; #:17 >:13 s:30; S#:34 S>:26 S:60 13:46:04.214 : echo: #:16 >:13 s:29; #:16 >:14 s:30; S#:32 S>:27 S:59 13:46:05.212 : echo: #:16 >:14 s:30; #:17 >:13 s:30; S#:33 S>:27 S:60 13:46:06.212 : echo: #:17 >:13 s:30; #:16 >:13 s:29; S#:33 S>:26 S:59 03:30:36.779 : echo: #:8 >:7 s:15; #:10 >:7 s:17; #:8 >:6 s:14; #:8 >:7 s:15; S#:34 S>:27 S:61 03:30:37.778 : echo: #:8 >:6 s:14; #:10 >:7 s:17; #:9 >:7 s:16; #:8 >:6 s:14; S#:35 S>:26 S:61 03:30:38.778 : echo: #:8 >:6 s:14; #:11 >:7 s:18; #:8 >:6 s:14; #:8 >:7 s:15; S#:35 S>:26 S:61 03:30:39.777 : echo: #:8 >:6 s:14; #:10 >:7 s:17; #:8 >:8 s:16; #:8 >:6 s:14; S#:34 S>:27 S:61 03:30:40.780 : echo: #:8 >:6 s:14; #:11 >:7 s:18; #:8 >:6 s:14; #:8 >:6 s:14; S#:35 S>:25 S:60 03:30:41.780 : echo: #:9 >:6 s:15; #:10 >:7 s:17; #:8 >:6 s:14; #:9 >:6 s:15; S#:36 S>:25 S:61 03:30:42.779 : echo: #:8 >:6 s:14; #:10 >:8 s:18; #:8 >:6 s:14; #:8 >:6 s:14; S#:34 S>:26 S:60 03:30:43.778 : echo: #:9 >:6 s:15; #:10 >:7 s:17; #:8 >:7 s:15; #:9 >:6 s:15; S#:36 S>:26 S:62 #: draw a stripe >: transfer a stripe s: sum of of draw and transfer for one stripe S#: sum of draws for a complete screen S>: sum of transfers for a complete screen S: time to draw and transfer a complete screen |
8 years ago | |
---|---|---|
.. | ||
example_configurations | 8 years ago | |
Conditionals.h | 9 years ago | |
Conditionals_LCD.h | 8 years ago | |
Conditionals_post.h | 8 years ago | |
Configuration.h | 8 years ago | |
Configuration_adv.h | 8 years ago | |
M100_Free_Mem_Chk.cpp | 9 years ago | |
Makefile | 8 years ago | |
Marlin.h | 8 years ago | |
Marlin.ino | 8 years ago | |
MarlinConfig.h | 9 years ago | |
MarlinSerial.cpp | 8 years ago | |
MarlinSerial.h | 8 years ago | |
Marlin_main.cpp | 8 years ago | |
SanityCheck.h | 8 years ago | |
Sd2Card.cpp | 8 years ago | |
Sd2Card.h | 9 years ago | |
SdBaseFile.cpp | 8 years ago | |
SdBaseFile.h | ||
SdFatConfig.h | 9 years ago | |
SdFatStructs.h | ||
SdFatUtil.cpp | ||
SdFatUtil.h | 8 years ago | |
SdFile.cpp | 9 years ago | |
SdFile.h | ||
SdInfo.h | 9 years ago | |
SdVolume.cpp | 9 years ago | |
SdVolume.h | ||
Version.h | 9 years ago | |
blinkm.cpp | ||
blinkm.h | ||
boards.h | 8 years ago | |
buzzer.h | 8 years ago | |
cardreader.cpp | 8 years ago | |
cardreader.h | 8 years ago | |
circularqueue.h | 9 years ago | |
configuration_store.cpp | 8 years ago | |
configuration_store.h | 8 years ago | |
dac_mcp4728.cpp | 8 years ago | |
dac_mcp4728.h | 8 years ago | |
digipot_mcp4451.cpp | 9 years ago | |
dogm_bitmaps.h | 9 years ago | |
dogm_font_data_6x9_marlin.h | ||
dogm_font_data_HD44780_C.h | ||
dogm_font_data_HD44780_J.h | ||
dogm_font_data_HD44780_W.h | ||
dogm_font_data_ISO10646_1.h | ||
dogm_font_data_ISO10646_1_tr.h | 8 years ago | |
dogm_font_data_ISO10646_5_Cyrillic.h | ||
dogm_font_data_ISO10646_CN.h | ||
dogm_font_data_ISO10646_Greek.h | 8 years ago | |
dogm_font_data_ISO10646_Kana.h | ||
dogm_font_data_Marlin_symbols.h | ||
duration_t.h | 8 years ago | |
endstop_interrupts.h | 8 years ago | |
endstops.cpp | 8 years ago | |
endstops.h | 8 years ago | |
enum.h | 8 years ago | |
fastio.h | 8 years ago | |
language.h | 8 years ago | |
language_an.h | 8 years ago | |
language_bg.h | 8 years ago | |
language_ca.h | 8 years ago | |
language_cn.h | 8 years ago | |
language_cz.h | 8 years ago | |
language_da.h | 8 years ago | |
language_de.h | 8 years ago | |
language_el-gr.h | 8 years ago | |
language_el.h | 8 years ago | |
language_en.h | 8 years ago | |
language_es.h | 8 years ago | |
language_eu.h | 8 years ago | |
language_fi.h | 8 years ago | |
language_fr.h | 8 years ago | |
language_gl.h | 8 years ago | |
language_hr.h | 8 years ago | |
language_it.h | 8 years ago | |
language_kana.h | 8 years ago | |
language_kana_utf8.h | 8 years ago | |
language_nl.h | 8 years ago | |
language_pl.h | 8 years ago | |
language_pt-br.h | 8 years ago | |
language_pt-br_utf8.h | 8 years ago | |
language_pt.h | 8 years ago | |
language_pt_utf8.h | 8 years ago | |
language_ru.h | 8 years ago | |
language_test.h | 8 years ago | |
language_tr.h | 8 years ago | |
language_tr_utf8.h | 8 years ago | |
language_uk.h | 8 years ago | |
macros.h | 8 years ago | |
mesh_bed_leveling.cpp | 8 years ago | |
mesh_bed_leveling.h | 8 years ago | |
nozzle.h | 9 years ago | |
pins.h | 8 years ago | |
pinsDebug.h | 8 years ago | |
pins_3DRAG.h | 8 years ago | |
pins_5DPRINT.h | 8 years ago | |
pins_99.h | 8 years ago | |
pins_A4JP.h | 8 years ago | |
pins_AZTEEG_X1.h | 9 years ago | |
pins_AZTEEG_X3.h | 8 years ago | |
pins_AZTEEG_X3_PRO.h | 8 years ago | |
pins_BAM_DICE_DUE.h | 8 years ago | |
pins_BQ_ZUM_MEGA_3D.h | 8 years ago | |
pins_BRAINWAVE.h | 8 years ago | |
pins_BRAINWAVE_PRO.h | 8 years ago | |
pins_CHEAPTRONIC.h | 8 years ago | |
pins_CNCONTROLS_11.h | 8 years ago | |
pins_CNCONTROLS_12.h | 8 years ago | |
pins_ELEFU_3.h | 8 years ago | |
pins_FELIX2.h | 8 years ago | |
pins_GEN3_MONOLITHIC.h | 8 years ago | |
pins_GEN3_PLUS.h | 8 years ago | |
pins_GEN6.h | 8 years ago | |
pins_GEN6_DELUXE.h | 9 years ago | |
pins_GEN7_12.h | 8 years ago | |
pins_GEN7_13.h | 9 years ago | |
pins_GEN7_14.h | 8 years ago | |
pins_GEN7_CUSTOM.h | 8 years ago | |
pins_K8200.h | 9 years ago | |
pins_K8400.h | 8 years ago | |
pins_LEAPFROG.h | 8 years ago | |
pins_MEGACONTROLLER.h | 8 years ago | |
pins_MEGATRONICS.h | 8 years ago | |
pins_MEGATRONICS_2.h | 8 years ago | |
pins_MEGATRONICS_3.h | 8 years ago | |
pins_MELZI.h | 9 years ago | |
pins_MELZI_MAKR3D.h | 9 years ago | |
pins_MIGHTYBOARD_REVE.h | 8 years ago | |
pins_MINIRAMBO.h | 8 years ago | |
pins_MINITRONICS.h | 8 years ago | |
pins_MKS_13.h | 8 years ago | |
pins_MKS_BASE.h | 8 years ago | |
pins_OMCA.h | 8 years ago | |
pins_OMCA_A.h | 8 years ago | |
pins_PRINTRBOARD.h | 8 years ago | |
pins_PRINTRBOARD_REVF.h | 8 years ago | |
pins_RAMBO.h | 8 years ago | |
pins_RAMPS.h | 8 years ago | |
pins_RAMPS_13.h | 9 years ago | |
pins_RAMPS_OLD.h | 8 years ago | |
pins_RIGIDBOARD.h | 8 years ago | |
pins_RIGIDBOARD_V2.h | 8 years ago | |
pins_RUMBA.h | 8 years ago | |
pins_SAINSMART_2IN1.h | 8 years ago | |
pins_SANGUINOLOLU_11.h | 8 years ago | |
pins_SANGUINOLOLU_12.h | 9 years ago | |
pins_SAV_MKI.h | 8 years ago | |
pins_SETHI.h | 8 years ago | |
pins_STB_11.h | 9 years ago | |
pins_TEENSY2.h | 8 years ago | |
pins_TEENSYLU.h | 8 years ago | |
pins_ULTIMAIN_2.h | 8 years ago | |
pins_ULTIMAKER.h | 8 years ago | |
pins_ULTIMAKER_OLD.h | 8 years ago | |
planner.cpp | 8 years ago | |
planner.h | 8 years ago | |
planner_bezier.cpp | 8 years ago | |
planner_bezier.h | 9 years ago | |
platformio.ini | 8 years ago | |
point_t.h | 9 years ago | |
printcounter.cpp | 9 years ago | |
printcounter.h | 9 years ago | |
qr_solve.cpp | 8 years ago | |
qr_solve.h | 8 years ago | |
servo.cpp | 9 years ago | |
servo.h | 9 years ago | |
speed_lookuptable.h | ||
stepper.cpp | 8 years ago | |
stepper.h | 8 years ago | |
stepper_dac.cpp | 8 years ago | |
stepper_dac.h | 8 years ago | |
stepper_indirection.cpp | 8 years ago | |
stepper_indirection.h | 8 years ago | |
stopwatch.cpp | 9 years ago | |
stopwatch.h | 9 years ago | |
temperature.cpp | 8 years ago | |
temperature.h | 8 years ago | |
thermistornames.h | 9 years ago | |
thermistortables.h | 9 years ago | |
twibus.cpp | 8 years ago | |
twibus.h | 8 years ago | |
types.h | 9 years ago | |
ultralcd.cpp | 8 years ago | |
ultralcd.h | 8 years ago | |
ultralcd_impl_DOGM.h | 8 years ago | |
ultralcd_impl_HD44780.h | 8 years ago | |
ultralcd_st7920_u8glib_rrd.h | 8 years ago | |
utf_mapper.h | 8 years ago | |
utility.cpp | 8 years ago | |
utility.h | 8 years ago | |
vector_3.cpp | 8 years ago | |
vector_3.h | 8 years ago | |
watchdog.cpp | ||
watchdog.h |