glsurfaceview
GameLoop checking for input (Android/GlSurfaceView)
If I have some basic game loop in a thread, lik开发者_如何学Pythone this: public void run(){ getInput(); //onTouchEvent method is only available in view class.[详细]
2023-03-17 05:43 分类:问答How to get an EGL display/context to a specific GLSurfaceView
This is a follow up to my original Question, which was probably too broad (whereas this one is probab开发者_JAVA技巧ly too specific but maybe I can apply Newton\'s Method).[详细]
2023-03-16 04:04 分类:问答GLSurfaceView.Renderer possible to swap buffers multiple times in onDrawFrame()?
In my openGL game, I draw my scene normally using a GLSurfaceView.Renderer class in the onDrawFrame(). However, when I am displaying a loading scr开发者_C百科een I would like to force the screen to dr[详细]
2023-03-14 19:17 分类:问答Android: apply OpenGL effects to camera
Is there any way in Android to use a GLSurfaceView to display the camera preview, while using 开发者_StackOverflow中文版OpenGL effects on that surface? Specifically additive blending effects. I know O[详细]
2023-03-08 14:50 分类:问答Creating a gl texture outside of GLSurfaceView.Renderer?
Is there a way to create gl textures outside of my implementation of GLSurfaceView.Renderer? I\'ve only been able to create textures in the onSurfaceCreated method, since that\'s where I have access o[详细]
2023-03-05 15:56 分类:问答Keeping a reference to gl in GLSurfaceView::onSurfaceCreated?
Is it safe to keep a reference to the GL10 gl parameter when GLSurfaceView开发者_运维技巧::onSurfaceCreated is called?[详细]
2023-03-04 19:00 分类:问答Renderer over Camera View both on same GLSurfaceView?
I am trying to use the same glsurfaceview object to show camera view & render custom openGl drawings over this camera view.[详细]
2023-03-03 07:45 分类:问答How to properly use setZOrderMediaOverlay on Android?
Like many others, I am trying to draw 3D objects (using GLSurfaceView) on camera preview (using SurfaceView), along with some buttons placed on top. I actually got a prototype working, but I could not[详细]
2023-02-28 07:47 分类:问答Sharing the GLES20 context and textures between different GLSurfaceViews?
Is it possible to share the GLES20 context between different GLSurfaceViews (within one Activity)? Alternatively, how would one share a set of texture between different GLSurfaceViews?[详细]
2023-02-25 05:46 分类:问答Is it possible to have two or more GLSurfaceView in the same layout?
Is it possible to have two or more GLSurfaceView in the same activity (and layout) ? I\'ve tried it and I just one of them doub开发者_JS百科led... how can I do it right?[详细]
2023-02-23 13:24 分类:问答