There were errors, because my class myglsurface had nested in activity class and the layout.xml could not seen that class.
Now I have divided all the classes : activity, and the classes myglsurface and myglrenderer.
Sorry for my incomplete first post, but my english is not very good and there were much errors