A Texas man has been sentenced to life in prison without parole after pleading guilty to killing both of his parents.