Refactoring of graphics context code