~/talk

view to pixel

Talkat droidcon San Francisco 2017 · 2017-11-05..11-06· [web-performance, android]

Explains exactly how a View becomes pixels: input → animation → measure → layout → draw runs on the main thread choreographed by Choreographer and Looper, with a hard budget of 16 ms per frame at 60 Hz and Android using triple buffering. Shows the actual plumbing: WindowManager requests a surface from SurfaceFlinger / BufferQueue, GPU via OpenGL and the Hardware Composer composes buffers, Canvas calls become GLES commands, and recommends using the GPU overdraw and GPU profiling tools plus FrameMetrics (Android N+) to find and fix jank.

AI-written summary · about

  1. 0:00Introduction
  2. 1:01Yoga and smooth apps
  3. 3:33CPU GPU and display
  4. 6:02VSYNC and frame timing
  5. 10:20Frame rendering process
  6. 13:55Window manager and surfaces
  7. 20:43Creating a frame
  8. 22:06Choreographer and UI thread
  9. 26:21View traversal and drawing
  10. 28:11Canvas layers and overdraw
  11. 33:13Canvas primitives and shaders
  12. 37:53Rendering paths and OpenGL
  13. 38:37Profiling tools overview
~/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.