0

I'm trying to understand Android rendering code a little better. So I add some logging in Layer::drawWithOpenGL() function, which is part of SurfaceFlinger. But it seems, it never gets called. Can someone shed light on why this is the case?

Thanks.

mr49
  • 1,053
  • 1
  • 8
  • 26

1 Answers1

0

It's probably performing composition with overlays instead. See the architecture overview for more info.

You can disable overlays (on a rooted device) with adb shell service call SurfaceFlinger 1008 i32 1.

fadden
  • 51,356
  • 5
  • 116
  • 166