~/talk

How Android Rendering Works ...

Talkat DroidKaigi 2018 · 2018-02-08..02-09· [android, web-performance]
slides:none on file

Explains the full Android rendering pipeline from VSYNC (60Hz, 16.66ms) through display lists to the render thread and GPU, showing how property-only updates use displaylist properties to avoid redraws, and how reordering and batching collapses thousands of GL calls — one real case drops ~3,000 calls to a few hundred and saves about 1 ms — before issuing GL commands into a buffer queue and handing buffers to SurfaceFlinger and the hardware composer using overlays (typically 4, sometimes 7–8).

AI-written summary · about

  1. 0:00Start
  2. 0:08How Android Renders
  3. 2:53Phases of Rendering
  4. 3:38Input
  5. 5:13Sync Phase
  6. 7:16Hierarchy Viewer
  7. 13:26Rendering Command
  8. 14:03Sink Phase
  9. 14:55The Opengl Renderer
  10. 15:17Font Management
  11. 17:12Reordering and Batching
  12. 21:28Rejecting Drawing Ups That Are outside of the Clip Rect
  13. 23:12Swap Buffer
  14. 23:49Surface Flinger
  15. 26:34Invalidate View Property
  16. 30:58Measure Specs
  17. 31:48Relative Layout
  18. 37:27Window Manager
  19. 38:06Create the Producer Endpoint of the Buffer Queue
  20. 38:30Surface View
  21. 39:51Surface Texture
  22. 44:55Hardware Composer
  23. 45:43Overlays
  24. 46:13Limitations
  25. 48:01Frame Buffer Layer
  26. 49:51Recyclerview
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.