~/talk

Drawing Maps with OpenGL

Talkat JS.Geo 2015 · on Thursday, 2015-10-08· [web-platform, web-performance]
github:lbud
slides:none on file

Mapbox moves map rendering from CPU to GPU using mapbox-gl-native (C++) and mapbox-gl-js; OpenGL only draws lines and triangles so lines become six-triangle strips with two outer quads for anti-aliasing, polygons get deterministic triangulation via a custom tessellator (mapbox/cidal), text uses Valve-style signed distance fields in a glyph atlas with stepped thresholds (0–191 / 192–255) to produce scalable halos, blurs use offscreen renderbuffers and Gaussian passes, and an experimental Node headless renderer produces tiles for non‑WebGL clients.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22What is OpenGL
  3. 1:50Primitives
  4. 2:07Geo Lines
  5. 2:37Triangles
  6. 3:58Text
  7. 4:23FreeType
  8. 4:33FreeType Overview
  9. 5:20Scientists and Fields
  10. 6:04TwoStep Interpolation
  11. 6:57Text in OpenGL
  12. 7:32Polygons
  13. 8:35Vitals
  14. 9:05Blurs
  15. 10:54Hardware Compatibility
  16. 19:00Editor
  17. 19:26Digital Globe
~/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.