Home > other >  During the qt window when written to memory, when writing framebuffer?
During the qt window when written to memory, when writing framebuffer?

Time:10-26

I am writing your own refresh interface, target is: button press, implement the corresponding switch interface, call refresh interface, painting the current window interface to the LCD screen, refresh interface is the essence of the contents of fb0 equipment by writing the LCD panel bing mouth; The question now is: button press, cat/dev/fb0 found no change, the contents of the fb0 button again, update the content of the fb0, update all the content on the screen, is the contents of the screen display slower than my keys a beat; Preliminary analysis: qt interface switching related show function did not write to the framebuffer timely, so I refresh the wrong time, when the next button, the last update has been written into the interface fb0, interface, and the content of the brush as last time here, consult ace to give directions, qt when the current window update into memory, write to the framebuffer, what function calls, or what qt design patterns to achieve this effect will be anxiously waiting for the master, thank you very much!

CodePudding user response:

to solve, meet the same problem
  • Related