Context and WebGL 2

Context Loss, Context Attributes and WebGL 2 Core Features

A WebGL context is borrowed, not owned: the browser fixes its drawing buffer when you create it and can take the GPU back at any moment. This section sets the options a context starts with, survives losing it, and finishes the tour of WebGL 2 core features that earlier sections did not need, ending with a checklist for porting WebGL 1 code.

Subsections