setViewPort update from trunk
Grab BGRA support from trunk