The Adafruit_SSD1306.h has a pair of commands: display.clearDisplay(); and display.display when declared: Adafruit_SSD1306 display(...); that works well in OLED. and seems to me the display.display meaning of active or "mandatory" display?
are there any corresponding commands to that two in TFT_eSPI.h? can I make the TFT be "mandatory display"?
I don't think there is an equivalent to display.display(). The Adafruit_SSD1306 library builds up the image in a buffer in ram, the display() function sends the contents of that buffer to the display. The TFT_eSPI library does not use a buffer, everything is written directly to the display.
The nearest equivalent to a buffer in the TFT_eSPI library is the use of a "sprite", which lets you build up an image in a ram buffer then write that to the display, but the ram needed for a buffer with full 16-bit color is very large, limiting the buffer size to a small portion of most displays.
I used same code in both OLED and T-DisplayS3'sTFT, with modified each display section.
the modification is OK, because OLED/TFT both work.
but the TFT only shown some content, not all.