Question
Inverting colors
Hello, I have a 1bpp display and would like to invert the colors on all screens programatically. I've tried in
a) getColorFrom24BitRGB(uint8_t red, uint8_t green, uint8_t blue) by XORing with 1, which is ok except for bitmaps
b) TouchGFXHAL::flushFrameBuffer(const touchgfx::Rect& rect) by locking the framebuffer and XORing each word with 0xFFFFFFFF, which is ok on invalidated rect, but flickers on the remainder of the screen.