max texture size check
update dir headers
GLLayer