comment
S to assert
if format
drawTexture params, surfaceWidth, surfaceHeight, viewportWidth, viewportHeight