How to access SurfaceFlinger from userspace program?

478 Views Asked by At

I would like to write a userspace program to talk to SurfaceFlinger and call its dump function. How can I access SurfaceFlinger and make such a call from my C++ program?

I know that SurfaceFlinger is instantiated in main_surfaceflinger.cpp and is published. I don't know how to use it in my C++ program.

0

There are 0 best solutions below