186 posts
EN ES
From Code to Glass cover

From Code to Glass

Who Draws Your Screen, and What It Costs. Every Pixel Matters, Book 2.

225 pages · 16 chapters · PDF + web

Book 2 of Every Pixel Matters. Every screen your people trust is drawn by a chain of engines, processes and compositors that no single team owns. The book follows one frame from code to glass on Windows, macOS, iOS, Linux and Android: parse, style, layout, text, paint, raster, the engine and OS compositors, and the display. It shows who owns, pays for and patches each hop, and who can read the pixels, including AI agents. It tells the money story behind the engines, the dark pages of antitrust, exploits and tracking, the patch, memory and legacy bills, and where the screen is heading. Its tool is the Frame Ledger: one row per hop, ending in a decision to own, rent, pin or isolate, judged by security, cost, visibility and business value.

What's inside

  1. Reader's Brief: Security, Cost, Visibility, Value
  2. Prologue: One Tap, One Frame
  3. Sixteen Milliseconds: The Frame Budget and the Ledger
  4. From Markup to Geometry: Parse, Style and Layout
  5. Text: Shaping, Fonts and the Glyph
  6. Paint and Raster: From Display List to Pixels
  7. Two Compositors, One Vsync
  8. The Glass: Display, Color, HDR and Timing
  9. Processes, Sandboxes and the GPU as the New Kernel
  10. Input and Hit-Testing: Who Gets the Click
  11. Capture, Remote Display and the Trusted Pixel
  12. When the User Is an Agent
  13. The Browser Inside the App: Eight Runtimes on One Ledger
  14. The Native Path: Composition, Skia and the Rust Renderers
  15. Who Pays for the Engine: The Money Story
  16. The Dark Pages: Antitrust, Exploits and Tracking
  17. Cost and Debt: The Patch Bill, the Memory Bill, the Legacy Bill
  18. The Screen Ahead: The OS, AI and the Renderer
  19. Epilogue: From Reading the Frame to Owning It
  20. Appendix A: Glossary
  21. Appendix B: The Frame Ledger, Blank
  22. Appendix C: The Five-OS Reference Table
  23. Appendix D: Measurements from the Source
  24. Appendix E: Reading List and Sources