Correct signature of getRenderDrawBlendMode

CC @Polarina
Merge branch 'master' into new-api
Explore an API using StateVar
Move window gamma ramp/minimum/maximum size to StateVar
Move renderer properties over to StateVar