On 2011-12-21, at 11:18 AM, Glenn Maynard wrote:
Desktop GL with the ARB_robustness extension and reset notifications enabled can result in a lost context. Unfortunately that extension doesn't specify what happens if you make GL calls when the extension is lost.
We've implemented an ES version of this extension in ANGLE (EXT_robustness) and we generate GL_OUT_OF_MEMORY on all GL calls that happen after a lost context. We'd considered making all the calls NOPs as suggested above, but any GL call that has a return parameter will have un-defined contents and that is only allowable by the spec if you have an OOM error.