Handling Lost Context in WebGL WebGL makes the amazing power of your GPU available to JavaScript to do all kinds of fancy and wonderful things. Unfortunately the GPU is a shared resource and as such there are times when it might be taken away from your program. Examples: Another page does something that takes the GPU too long and the browser or the OS decides to reset the GPU to get control back.