[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Public WebGL] Changing context attributes
How difficult would it be for WebGL implementations to allow changing context attributes on the fly?
Well-written applications already have to deal with context loss, so changing the attributes could just trigger a context loss.
Without this, it seems that an app has no recourse but to tear down the whole Canvas and restart everything, which may be difficult given that many parts of the app may have access to the Canvas. (At the very least they have access to it via the .canvas property of the webgl context).