¡@

Home 

2014/10/16 ¤W¤È 08:14:16

android Programming Glossary: gl

Samsung Galaxy S II AVD (Android Virtual Device) Basic Settings?

http://stackoverflow.com/questions/10641744/samsung-galaxy-s-ii-avd-android-virtual-device-basic-settings

there are changes needed to the process. Rather than a single file there's now both a device definition and a virtual device.. HSP HFP A2DP AVRCP OPP PBAP HID d bluetooth profiles d gl version 2.0 d gl version d gl extensions No clue why the tool.. AVRCP OPP PBAP HID d bluetooth profiles d gl version 2.0 d gl version d gl extensions No clue why the tool is unhappy declaring..

Android OpenGL ES 2.0 screen coordinates to world coordinates

http://stackoverflow.com/questions/10985487/android-opengl-es-2-0-screen-coordinates-to-world-coordinates

I've tried reading and playing around with GLU.gluUnProject but I'm either doing it wrong or just don't understand.. 16 Matrix.multiplyMM mv 0 mViewMatrix 0 mModelMatrix 0 GLU.gluUnProject x startY 0 mv 0 mProjectionMatrix 0 viewport 0 near.. x startY 0 mv 0 mProjectionMatrix 0 viewport 0 near 0 GLU.gluUnProject x startY 1 mv 0 mProjectionMatrix 0 viewport 0 far..

Taking screenshot of Android OpenGL

http://stackoverflow.com/questions/3310990/taking-screenshot-of-android-opengl

size 4 buf.order ByteOrder.nativeOrder glContext.glReadPixels 0 0 width height GL10.GL_RGBA GL10.GL_UNSIGNED_BYTE.. size 4 buf.order ByteOrder.nativeOrder glContext.glReadPixels 0 0 width height GL10.GL_RGBA GL10.GL_UNSIGNED_BYTE.. is completely black. I found there is some problem with glReadPixels method but I don't know how to bypass it. Any guidance..

Developing cross platform mobile application [closed]

http://stackoverflow.com/questions/3369413/developing-cross-platform-mobile-application

what are the diff screen resolutions input methods open gl support etc. please share details that you know for the any.. web apps that look and feel native on Apple iOS and Google Android touchscreen devices. http www.sencha.com products touch..

Overlay images onto Camera preview SurfaceView

http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview

public boolean onTrackballEvent MotionEvent e cr.mAngleX e.getX TRACKBALL_SCALE_FACTOR cr.mAngleY e.getY TRACKBALL_SCALE_FACTOR.. e cr.mAngleX e.getX TRACKBALL_SCALE_FACTOR cr.mAngleY e.getY TRACKBALL_SCALE_FACTOR requestRender return true @Override.. float dx x mPreviousX float dy y mPreviousY cr.mAngleX dx TOUCH_SCALE_FACTOR cr.mAngleY dy TOUCH_SCALE_FACTOR requestRender..

Android: GLES20: Called unimplemented OpenGL ES API

http://stackoverflow.com/questions/5926316/android-gles20-called-unimplemented-opengl-es-api

@Override public EGLConfig chooseConfig EGL10 egl EGLDisplay display EGLConfig configs new EGLConfig 1 int num_config.. configSpec EGL10.EGL_DEPTH_SIZE 16 EGL10.EGL_NONE check egl.eglInitialize display new int 2 0 if check return null check.. EGL10.EGL_DEPTH_SIZE 16 EGL10.EGL_NONE check egl.eglInitialize display new int 2 0 if check return null check false..

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND.. mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND.. new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND gl.glDisable..

Android OpenGL Texture Compression

http://stackoverflow.com/questions/9148795/android-opengl-texture-compression

examples as I cannot find anything Thanks android opengl es textures share improve this question There are mainly.. if you're not using ETC1 public void onSurfaceCreated GL10 gl EGLConfig config String s gl.glGetString GL10.GL_EXTENSIONS.. void onSurfaceCreated GL10 gl EGLConfig config String s gl.glGetString GL10.GL_EXTENSIONS if s.contains GL_IMG_texture_compression_pvrtc..

Modifying camera output using SurfaceTexture and OpenGL

http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl

camera output using SurfaceTexture and OpenGL I am trying to filter the stream coming from the camera hardware.. from the camera hardware by running it through an openGL filter then displaying it in a GLSurfaceView. When openGL goes.. it through an openGL filter then displaying it in a GLSurfaceView. When openGL goes to render the frame the LogCat..

Is Opengl Development GPU Dependant?

http://stackoverflow.com/questions/17229066/is-opengl-development-gpu-dependant

used to draw multiple lines and circles by touch event in GL surfaceView. As opengl depends on GPU Currently it works fine.. supportsEs2 supportsEs2 Request an OpenGL ES 2.0 compatible context. myGlsurfaceView.setEGLContextClientVersion.. an OpenGL ES 2.0 compatible context. myGlsurfaceView.setEGLContextClientVersion 2 final DisplayMetrics displayMetrics new..

Prevent onPause from trashing OpenGL Context

http://stackoverflow.com/questions/2112768/prevent-onpause-from-trashing-opengl-context

onPause from trashing OpenGL Context I'm writing an Android application that uses OpenGL.. Context I'm writing an Android application that uses OpenGL ES GLSurfaceView and GLSurfaceView.Renderer . The problem is.. I'm writing an Android application that uses OpenGL ES GLSurfaceView and GLSurfaceView.Renderer . The problem is that..

Emulator's camera built-in app buggy in Froyo / 2.2?

http://stackoverflow.com/questions/2948809/emulators-camera-built-in-app-buggy-in-froyo-2-2

it crashes. The output is 06 01 09 57 15.593 DEBUG libEGL 5212 egl.cfg not found using default config 06 01 09 57 15.593.. found using default config 06 01 09 57 15.593 DEBUG libEGL 5212 loaded system lib egl libGLES_android.so 06 01 09 57 15.733.. 01 09 57 15.593 DEBUG libEGL 5212 loaded system lib egl libGLES_android.so 06 01 09 57 15.733 ERROR AndroidRuntime 5212 FATAL..

Android OpenGL .OBJ file loader

http://stackoverflow.com/questions/3162667/android-opengl-obj-file-loader

OpenGL .OBJ file loader There seem to be quite a number of OBJ mesh.. my coding to know if I need a library to do this or if OpenGL ES will be able to do all that work I need here and Can be used.. Android Random objloader found on anddev.org forum Android GL LibGDX I'm also open to hearing about others not included on..

Android Can't create handler inside thread that has not called Looper.prepare()

http://stackoverflow.com/questions/5009816/android-cant-create-handler-inside-thread-that-has-not-called-looper-prepare

22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.initfonts OpenGLRenderer.java 168 02 15 22 52 43.483.. 5370 at com.l.start.OpenGLRenderer.initfonts OpenGLRenderer.java 168 02 15 22 52 43.483 ERROR AndroidRuntime 5370.. 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.init OpenGLRenderer.java 119 02 15 22 52 43.483 ERROR..

Getting telephone country code with Android

http://stackoverflow.com/questions/5402253/getting-telephone-country-code-with-android

GM 220 GM GE 995 GE DE 49 DE GH 233 GH GI 350 GI GR 30 GR GL 299 GL GT 502 GT GN 224 GN GW 245 GW GY 592 GY HT 509 HT HN.. GM GE 995 GE DE 49 DE GH 233 GH GI 350 GI GR 30 GR GL 299 GL GT 502 GT GN 224 GN GW 245 GW GY 592 GY HT 509 HT HN 504 HN..

How to create a custom ListView with “extends Activity”?

http://stackoverflow.com/questions/5632666/how-to-create-a-custom-listview-with-extends-activity

GQ ER EE ET FK FO FJ FI FR GF PF TF GA GM GE DE GH GI GR GL GD GP GU GT GN GW GY HT HM VA HN HK HU IS IN ID IR IQ IE IL..

Threading textures load process for android opengl game

http://stackoverflow.com/questions/6318311/threading-textures-load-process-for-android-opengl-game

The problem is I'm not quite sure how to do this. OpenGL handler needed to execute glTexImage2D is only available in.. needed to execute glTexImage2D is only available in GLSurfaceView.Renderer's onSurfaceCreated and OnDrawFrame methods... thread with the uploading routine that has access to OpenGL and calls glTexImage2D. The other thread loads and decodes the..

Problem with getFloatv function in GL11 (Android)

http://stackoverflow.com/questions/7125557/problem-with-getfloatv-function-in-gl11-android

with getFloatv function in GL11 Android I'm learning Open GL ES and would like to get a more.. with getFloatv function in GL11 Android I'm learning Open GL ES and would like to get a more intuitive interface with 3D.. new Cube previous new float 16 public void onDrawFrame GL10 gl GL11 gl11 GL11 gl gl11.glClear GL11.GL_COLOR_BUFFER_BIT..

Android: how to display camera preview with callback?

http://stackoverflow.com/questions/8350230/android-how-to-display-camera-preview-with-callback

bmp 0 0 paint 2. Display camera preview on a GLSurfaceView as a texture. Here I was displaying only luminance.. the preview and it seems that it can't be done fast in OpenGL ES 1. So I can't use this solution. Some details of this in.. this in another question . 3. Display camera preview on a GL SurfaceView using NDK to process the YUV data. I find a solution..

Limitation on texture size? Android Open GL ES 2.0

http://stackoverflow.com/questions/8573178/limitation-on-texture-size-android-open-gl-es-2-0

on texture size Android Open GL ES 2.0 I would like to know if there is any kind of limitation.. can use something like int max new int 1 gl.glGetIntegerv GL10.GL_MAX_TEXTURE_SIZE max 0 put the maximum texture size in.. use something like int max new int 1 gl.glGetIntegerv GL10.GL_MAX_TEXTURE_SIZE max 0 put the maximum texture size in the array...

Samsung Galaxy S II AVD (Android Virtual Device) Basic Settings?

http://stackoverflow.com/questions/10641744/samsung-galaxy-s-ii-avd-android-virtual-device-basic-settings

question The interface to the AVD manager has changed. So there are changes needed to the process. Rather than a single file there's now both a device definition and a virtual device definition. Unfortunately the UI doesn't give full control.. support true d live wallpaper support d bluetooth profiles HSP HFP A2DP AVRCP OPP PBAP HID d bluetooth profiles d gl version 2.0 d gl version d gl extensions No clue why the tool is unhappy declaring these but it is. Doesn't complain about.. d live wallpaper support d bluetooth profiles HSP HFP A2DP AVRCP OPP PBAP HID d bluetooth profiles d gl version 2.0 d gl version d gl extensions No clue why the tool is unhappy declaring these but it is. Doesn't complain about their presence..

Android OpenGL ES 2.0 screen coordinates to world coordinates

http://stackoverflow.com/questions/10985487/android-opengl-es-2-0-screen-coordinates-to-world-coordinates

convert screen coordinates where the user touches to world coordinates. I've tried reading and playing around with GLU.gluUnProject but I'm either doing it wrong or just don't understand it. This is my attempt.... public void getWorldFromScreen.. 0.0f 0.0f float far 0.0f 0.0f 0.0f 0.0f float mv new float 16 Matrix.multiplyMM mv 0 mViewMatrix 0 mModelMatrix 0 GLU.gluUnProject x startY 0 mv 0 mProjectionMatrix 0 viewport 0 near 0 GLU.gluUnProject x startY 1 mv 0 mProjectionMatrix 0 viewport.. mv 0 mViewMatrix 0 mModelMatrix 0 GLU.gluUnProject x startY 0 mv 0 mProjectionMatrix 0 viewport 0 near 0 GLU.gluUnProject x startY 1 mv 0 mProjectionMatrix 0 viewport 0 far 0 float nearX near 0 near 3 float nearY near 1 near 3 float..

Taking screenshot of Android OpenGL

http://stackoverflow.com/questions/3310990/taking-screenshot-of-android-opengl

is as follows nt size width height ByteBuffer buf ByteBuffer.allocateDirect size 4 buf.order ByteOrder.nativeOrder glContext.glReadPixels 0 0 width height GL10.GL_RGBA GL10.GL_UNSIGNED_BYTE buf int data new int size buf.asIntBuffer .get data.. follows nt size width height ByteBuffer buf ByteBuffer.allocateDirect size 4 buf.order ByteOrder.nativeOrder glContext.glReadPixels 0 0 width height GL10.GL_RGBA GL10.GL_UNSIGNED_BYTE buf int data new int size buf.asIntBuffer .get data buf null.. site link text In each case the result is a png file which is completely black. I found there is some problem with glReadPixels method but I don't know how to bypass it. Any guidance will very helpfull. Thank You in advance Gordon android..

Developing cross platform mobile application [closed]

http://stackoverflow.com/questions/3369413/developing-cross-platform-mobile-application

developers who want to port application to all platforms. Like what are the diff screen resolutions input methods open gl support etc. please share details that you know for the any of platform. Or are there possibilities by writing code in html.. is a HTML5 mobile app framework that allows you to develop web apps that look and feel native on Apple iOS and Google Android touchscreen devices. http www.sencha.com products touch Corona Iphone Ipad Android application cross platform library..

Overlay images onto Camera preview SurfaceView

http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview

this.getHolder .setFormat PixelFormat.TRANSPARENT public boolean onTrackballEvent MotionEvent e cr.mAngleX e.getX TRACKBALL_SCALE_FACTOR cr.mAngleY e.getY TRACKBALL_SCALE_FACTOR requestRender return true @Override public boolean.. public boolean onTrackballEvent MotionEvent e cr.mAngleX e.getX TRACKBALL_SCALE_FACTOR cr.mAngleY e.getY TRACKBALL_SCALE_FACTOR requestRender return true @Override public boolean onTouchEvent MotionEvent e float x e.getX.. float y e.getY switch e.getAction case MotionEvent.ACTION_MOVE float dx x mPreviousX float dy y mPreviousY cr.mAngleX dx TOUCH_SCALE_FACTOR cr.mAngleY dy TOUCH_SCALE_FACTOR requestRender mPreviousX x mPreviousY y return true private..

Android: GLES20: Called unimplemented OpenGL ES API

http://stackoverflow.com/questions/5926316/android-gles20-called-unimplemented-opengl-es-api

this mGLSurfaceView.setEGLConfigChooser new EGLConfigChooser @Override public EGLConfig chooseConfig EGL10 egl EGLDisplay display EGLConfig configs new EGLConfig 1 int num_config new int 1 boolean check false int configSpec EGL10.EGL_DEPTH_SIZE.. EGLConfig 1 int num_config new int 1 boolean check false int configSpec EGL10.EGL_DEPTH_SIZE 16 EGL10.EGL_NONE check egl.eglInitialize display new int 2 0 if check return null check false check egl.eglChooseConfig display configSpec configs.. 1 int num_config new int 1 boolean check false int configSpec EGL10.EGL_DEPTH_SIZE 16 EGL10.EGL_NONE check egl.eglInitialize display new int 2 0 if check return null check false check egl.eglChooseConfig display configSpec configs 1..

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

GLSurfaceView.Renderer public PointCloud ptCloud MatrixGrabber mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND gl.glDisable GL10.GL_LIGHTING Background drawing if customBackground.. public PointCloud ptCloud MatrixGrabber mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND gl.glDisable GL10.GL_LIGHTING Background drawing if customBackground.. public PointCloud ptCloud MatrixGrabber mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND gl.glDisable GL10.GL_LIGHTING Background drawing if customBackground..

Android OpenGL Texture Compression

http://stackoverflow.com/questions/9148795/android-opengl-texture-compression

OpenGL Could some point me in the right direction or offer some examples as I cannot find anything Thanks android opengl es textures share improve this question There are mainly four textures compression types supported on Android ETC1 Ericcson.. Determine which extensions are available in the device if you're not using ETC1 public void onSurfaceCreated GL10 gl EGLConfig config String s gl.glGetString GL10.GL_EXTENSIONS if s.contains GL_IMG_texture_compression_pvrtc Use PVR compressed.. are available in the device if you're not using ETC1 public void onSurfaceCreated GL10 gl EGLConfig config String s gl.glGetString GL10.GL_EXTENSIONS if s.contains GL_IMG_texture_compression_pvrtc Use PVR compressed textures else if s.contains..

Modifying camera output using SurfaceTexture and OpenGL

http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl

camera output using SurfaceTexture and OpenGL I am trying to filter the stream coming from the camera hardware by running it through an openGL filter then displaying.. and OpenGL I am trying to filter the stream coming from the camera hardware by running it through an openGL filter then displaying it in a GLSurfaceView. When openGL goes to render the frame the LogCat repeatedly spits out an error.. to filter the stream coming from the camera hardware by running it through an openGL filter then displaying it in a GLSurfaceView. When openGL goes to render the frame the LogCat repeatedly spits out an error unnamed 3314 0 updateTexImage..

Is Opengl Development GPU Dependant?

http://stackoverflow.com/questions/17229066/is-opengl-development-gpu-dependant

an android application in opengl ES2.0.In this Application I used to draw multiple lines and circles by touch event in GL surfaceView. As opengl depends on GPU Currently it works fine in Google Nexus 7 ULP GeForce . In Samsung Galaxy Note 2 MALI.. Log.i JO configurationInfo.reqGlEsVersion configurationInfo.reqGlEsVersion supportsEs2 supportsEs2 Request an OpenGL ES 2.0 compatible context. myGlsurfaceView.setEGLContextClientVersion 2 final DisplayMetrics displayMetrics new DisplayMetrics.. supportsEs2 supportsEs2 Request an OpenGL ES 2.0 compatible context. myGlsurfaceView.setEGLContextClientVersion 2 final DisplayMetrics displayMetrics new DisplayMetrics getWindowManager .getDefaultDisplay .getMetrics..

Prevent onPause from trashing OpenGL Context

http://stackoverflow.com/questions/2112768/prevent-onpause-from-trashing-opengl-context

onPause from trashing OpenGL Context I'm writing an Android application that uses OpenGL ES GLSurfaceView and GLSurfaceView.Renderer . The problem is.. onPause from trashing OpenGL Context I'm writing an Android application that uses OpenGL ES GLSurfaceView and GLSurfaceView.Renderer . The problem is that when the user switches applications and then switches.. onPause from trashing OpenGL Context I'm writing an Android application that uses OpenGL ES GLSurfaceView and GLSurfaceView.Renderer . The problem is that when the user switches applications and then switches back to..

Emulator's camera built-in app buggy in Froyo / 2.2?

http://stackoverflow.com/questions/2948809/emulators-camera-built-in-app-buggy-in-froyo-2-2

This starts the camera app but after a few seconds it crashes. The output is 06 01 09 57 15.593 DEBUG libEGL 5212 egl.cfg not found using default config 06 01 09 57 15.593 DEBUG libEGL 5212 loaded system lib egl libGLES_android.so.. The output is 06 01 09 57 15.593 DEBUG libEGL 5212 egl.cfg not found using default config 06 01 09 57 15.593 DEBUG libEGL 5212 loaded system lib egl libGLES_android.so 06 01 09 57 15.733 ERROR AndroidRuntime 5212 FATAL EXCEPTION GLThread 11 06.. DEBUG libEGL 5212 egl.cfg not found using default config 06 01 09 57 15.593 DEBUG libEGL 5212 loaded system lib egl libGLES_android.so 06 01 09 57 15.733 ERROR AndroidRuntime 5212 FATAL EXCEPTION GLThread 11 06 01 09 57 15.733 ERROR AndroidRuntime..

Android OpenGL .OBJ file loader

http://stackoverflow.com/questions/3162667/android-opengl-obj-file-loader

OpenGL .OBJ file loader There seem to be quite a number of OBJ mesh file loaders out there that people have developed for use.. not sure if I need this haven't gotten far enough in my coding to know if I need a library to do this or if OpenGL ES will be able to do all that work I need here and Can be used in Android apps that are being sold commercially. Here are.. a few of the libraries I've found. Min3D .obj Loader for Android Random objloader found on anddev.org forum Android GL LibGDX I'm also open to hearing about others not included on this list. Thanks android 3d opengl es mesh share improve..

Android Can't create handler inside thread that has not called Looper.prepare()

http://stackoverflow.com/questions/5009816/android-cant-create-handler-inside-thread-that-has-not-called-looper-prepare

com.l.start.DynamicText.setText DynamicText.java 125 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.initfonts OpenGLRenderer.java 168 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.init.. DynamicText.java 125 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.initfonts OpenGLRenderer.java 168 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.init OpenGLRenderer.java 119.. OpenGLRenderer.java 168 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.init OpenGLRenderer.java 119 02 15 22 52 43.483 ERROR AndroidRuntime 5370 at com.l.start.OpenGLRenderer.onSurfaceChanged..

Getting telephone country code with Android

http://stackoverflow.com/questions/5402253/getting-telephone-country-code-with-android

FO 298 FO FJ 679 FJ FI 358 FI FR 33 FR PF 689 PF GA 241 GA GM 220 GM GE 995 GE DE 49 DE GH 233 GH GI 350 GI GR 30 GR GL 299 GL GT 502 GT GN 224 GN GW 245 GW GY 592 GY HT 509 HT HN 504 HN HK 852 HK HU 36 HU IN 91 IN ID 62 ID IR 98 IR IQ 964.. FO FJ 679 FJ FI 358 FI FR 33 FR PF 689 PF GA 241 GA GM 220 GM GE 995 GE DE 49 DE GH 233 GH GI 350 GI GR 30 GR GL 299 GL GT 502 GT GN 224 GN GW 245 GW GY 592 GY HT 509 HT HN 504 HN HK 852 HK HU 36 HU IN 91 IN ID 62 ID IR 98 IR IQ 964 IQ IE 353..

How to create a custom ListView with “extends Activity”?

http://stackoverflow.com/questions/5632666/how-to-create-a-custom-listview-with-extends-activity

CX CC CO KM CG CD CK CR CI HR CU CY CZ DK DJ DM DO EC EG SV GQ ER EE ET FK FO FJ FI FR GF PF TF GA GM GE DE GH GI GR GL GD GP GU GT GN GW GY HT HM VA HN HK HU IS IN ID IR IQ IE IL IT JM JP JO KZ KE KI KP KR KW KG LA LV LB LS LR LY LI LT LU..

Threading textures load process for android opengl game

http://stackoverflow.com/questions/6318311/threading-textures-load-process-for-android-opengl-game

JPEG unpacking from glTexImage2D ... calls to another thread. The problem is I'm not quite sure how to do this. OpenGL handler needed to execute glTexImage2D is only available in GLSurfaceView.Renderer's onSurfaceCreated and OnDrawFrame methods... The problem is I'm not quite sure how to do this. OpenGL handler needed to execute glTexImage2D is only available in GLSurfaceView.Renderer's onSurfaceCreated and OnDrawFrame methods. I can't unpack all my textures and then in onSurfaceCreated.. share improve this question You just have your main thread with the uploading routine that has access to OpenGL and calls glTexImage2D. The other thread loads and decodes the image from file to memory. While the secondary thread loads..

Problem with getFloatv function in GL11 (Android)

http://stackoverflow.com/questions/7125557/problem-with-getfloatv-function-in-gl11-android

with getFloatv function in GL11 Android I'm learning Open GL ES and would like to get a more intuitive interface with 3D objects than the one suggested.. with getFloatv function in GL11 Android I'm learning Open GL ES and would like to get a more intuitive interface with 3D objects than the one suggested by google in the TouchRotateActivity.. in the code . private float previous public CubeRenderer mCube new Cube previous new float 16 public void onDrawFrame GL10 gl GL11 gl11 GL11 gl gl11.glClear GL11.GL_COLOR_BUFFER_BIT GL11.GL_DEPTH_BUFFER_BIT gl11.glMatrixMode GL11.GL_MODELVIEW..

Android: how to display camera preview with callback?

http://stackoverflow.com/questions/8350230/android-how-to-display-camera-preview-with-callback

to Bitmap this is the main issue it takes a lot of time canvas.drawBitmap bmp 0 0 paint 2. Display camera preview on a GLSurfaceView as a texture. Here I was displaying only luminance data greyscale image which is quite easy it requires only.. I can get about 12fps but I need to apply some filters to the preview and it seems that it can't be done fast in OpenGL ES 1. So I can't use this solution. Some details of this in another question . 3. Display camera preview on a GL SurfaceView.. OpenGL ES 1. So I can't use this solution. Some details of this in another question . 3. Display camera preview on a GL SurfaceView using NDK to process the YUV data. I find a solution here that uses some C function and NDK. But I didn't manage..

Limitation on texture size? Android Open GL ES 2.0

http://stackoverflow.com/questions/8573178/limitation-on-texture-size-android-open-gl-es-2-0

on texture size Android Open GL ES 2.0 I would like to know if there is any kind of limitation on the texture size that can be used in any Android Opengl.. . To automatically find the maximum size from your code you can use something like int max new int 1 gl.glGetIntegerv GL10.GL_MAX_TEXTURE_SIZE max 0 put the maximum texture size in the array. For GL10 but the same method exists for GLES20 When.. automatically find the maximum size from your code you can use something like int max new int 1 gl.glGetIntegerv GL10.GL_MAX_TEXTURE_SIZE max 0 put the maximum texture size in the array. For GL10 but the same method exists for GLES20 When it..