nh1402
nh1402

Reputation: 75

Draw the contents of fb1 to the screen with SDL

I'm working on an Android app compatibility project which involves having two compositors draw to 2 different framebuffers, the main compositor (Lipstick, a wayland compositor) draws to fb0. Surfaceflinger after an fb swap with /dev/graphics/fb0 pointing to fb1, draws to fb1. I would like to create an application which gets the contents of fb1 and draws it to the screen, possibly with SDL. But I don't know how this can be done.

Upvotes: 1

Views: 615

Answers (0)

Related Questions