Parametrized webgl context creation.