Commit Graph

4 Commits

Author SHA1 Message Date
Doug Sherk
80e28bdd61 Bug 660070: catch EGL_CONTEXT_LOST and send WebGL an event for it r=bjacob
Catches the EGL_CONTEXT_LOST error which occurs after driver resets, and sends a
WebGL context the canvas event webglcontextlost when this occurs.
2011-12-02 23:52:35 -08:00
Doug Sherk
7069825fbc Bug 656824: fix trailing comma in GLContext::ContextResetARB enum 2011-11-29 06:10:44 -08:00
Doug Sherk
0ab0a2084f Bug 656824: changed WebGL robustness timer to not get reset after each draw operation r=bjacob
This patch should improve performance of the robustness timer by not resetting
it each time a draw operation happens. It still checks if there's any activity
and, if not, it will stop firing it. It includes a single extra timer firing
after activity dies to make sure we don't miss anything. Also includes a fix for
robustness being marked as existing when it really isn't.
2011-11-18 22:57:29 -05:00
Matt Woodrow
ab5bd501f5 Bug 703516 - Move GLContext code into a separate folder. r=jrmuizel 2011-11-18 22:07:49 +13:00