Merge "Refactor blending and texture gl state"