add glview patch