add the adaptation code for high-reso, 1st try, not tested
Merge branch 'high_testing' into high
it can display normally now, but cannot utilized high-resolution yet