update trace api
merge
add device orientation and stereo rendering