<P>Hello,</P><P>&#160;I'm trying to use OpenGL ES 1.x in my application.And I 
have read the com.example.android.apis.graphics.GLSurfaceViewActivity in 
ApiDemos.I found that the GLSurfaceView is used and it extends SurfaceView. But 
there are two problems when the GLSurfaceView is used.&#160;</P><P>1.The 
SurfaceView is always in front of other views no matter how many views cover 
it.</P><P>It is said that "The surface is Z ordered so that it is behind the 
window holding its SurfaceView; the SurfaceView punches a hole in its window to 
allow its surface to be displayed. " in the reference of sdk.I think that is 
the reason.</P><P>2.I can use only one GLSurfaceView in my application, or an 
exception will be thrown.<BR></P><P>So I try to use OpenGL with 
android.view.View and I found this code at 
http://www.anddev.org/download.php?id=107</P><P>The source code imports a class 
android.graphics.OpenGLContext that I can't find it in Android 1.6. It is said 
that the android.graphics.OpenGLContext is in m3-rc37a. </P><P>So how can I use 
OpenGL ES 1.x with android.view.View in Android 1.6?&#160;</P>&#160;

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to