A Texas inmate was charged with capital murder after he attacked and killed a 28-year-old detention officer earlier this week, according to jail records.