glsurfaceview Questions

2

Solved

I want to make use of the android xml layouts. I have put a glSurfaceView in a frame layout to use in conjunction with a linear layout like so... <FrameLayout android:layout_width="match_par...
Pressurize asked 26/10, 2011 at 16:46

1

I plan to write a 2D drawing app with a zoomable user interface. With the app the user should be able to transform (translate and scale) drawn paths (and of course the UI). I assume that there will...
Biotite asked 4/11, 2014 at 15:35

1

Solved

I am working on an Android app that performs OpenCL/OpenGL interops on the camera perview. I am using GLSurfaceView.Renderer. Naturally the code to create and initialize the OpenCL running environm...
Quackenbush asked 28/10, 2014 at 21:37

1

I was developing an application to apply effects/rotation/pinch to zoom in-out functionality on image. I have downloaded demo application from https://github.com/Grishu/ImageEffects. It works well...
Sarcasm asked 10/9, 2014 at 10:33

1

I have a complex application that creates multiple Bitmap objets and uses them to create BitmapDrawables. I know this might be a tough question to answer, but any help in pointing me in the right d...
Bream asked 29/4, 2014 at 16:59

5

I have a GLSurfaceView set up and rendering as expected using a GLSurfaceView.Renderer. My App uses fragments from the android support package. When I navigate to a new fragment surfaceDestroyed is...
Prologue asked 17/5, 2012 at 2:5

4

We've been fighting with some problems relating to SurfaceViews for more than a week, and find no proper solution to them. We read the other questions in the forum regarding to similar problems (an...
Swindle asked 13/4, 2011 at 11:12

2

Solved

I am getting confused with EGL. My GLSurfaceView creates an EGLContext. Now I create a shared context. Now I need to use a EGLExtension. The Method I have to use is called (>=API18): EGLExt.egl...
Shrub asked 23/1, 2014 at 10:36

1

Solved

Is there a detailed explanation of Surface, SurfaceHolder, EGLSurface, SurfaceView, GLSurfaceView, SurfaceTexture, and TextureView?  In particular: What’s the difference between SurfaceView and T...

2

Solved

I am newbie in android application development. I want to create an application that get stream from camera and show on SurfaceView or on FrameLayout. I need an option shows above on streaming "S...
Richardo asked 1/8, 2012 at 17:34

1

So, In my application, I am able to show effects(like blur filter, gaussian) to video that comes from Camera using GPUImage library. Basically, I (library) will take the input from the Camera, get...

1

Solved

I have an example application (full source) that encodes camera frames with MediaCodec while displaying them on a GLSurfaceView. Systrace confirms 30 drawing calls are made each second: However...
Babel asked 4/12, 2013 at 21:36

2

Solved

Is there any way in Android to use a GLSurfaceView to display the camera preview, while using OpenGL effects on that surface? Specifically additive blending effects. I know OpenGL can use the effec...
Knowhow asked 25/5, 2011 at 19:43

1

Solved

I've been assigned to create an open source Java port of this Objective C GPUImage Framework so that it can be used in an Android application. I am to recreate it as closely as I can, with all the ...
Urinate asked 11/7, 2012 at 22:24

1

Solved

I'm getting some STRANGE behavior on a Galaxy S3 (none of my other test devices (not S3s) bug out like the following). Scenario: I'm taking YUV data via JNI from an RTSP stream processed by lib...
Facilitation asked 14/8, 2013 at 23:22

2

Solved

When trying to press the back button quickly during launching some Activities with GLSurfaceView, eglCreateWindowSurface fails with java.lang.IllegalArgumentException. I got the following errors: ...
Telesthesia asked 12/10, 2012 at 8:30

0

I use a GLSurfaceView inside a CompoundView to implement a fancy navigation. Currently the GLSurfaceView is created when a subsection is selected, not right at the start. My problem is that the sc...
Petropavlovsk asked 26/6, 2013 at 14:31

1

Solved

I have an OpenGL ES2.0 app that is working on devices running various Android versions from 2.2 up to 4.1. However I have been told that when running it on a Nexus 7 with Android 4.2 the 3D graphic...

2

Hi I have been trying to overlay a GLSurfaceview onto an existing view.The code below shows how I overlay. The only thing that doesnt work is the transparency of the glsurfaceview on top. view = ...
Munt asked 6/4, 2011 at 10:57

2

Solved

For my game, I am thinking of drawing UI elements (TextView for displaying time elapsed, Buttons for pausing/restarting game) on top of my GLSurfaceView using RelativeLayout... Till now, I was dra...
Atavistic asked 10/1, 2013 at 9:15

1

Solved

I ran into different behaviors with the GLSurfaceView. AFAIK it is the responsibility of the program to clear the buffer (color and depth ) each frame. Which means that if I don't clear the buffer ...
Sleeper asked 29/1, 2013 at 11:33

1

I am trying to use GLSurfaceView on Android and experiencing problems. I am using the code from this OpenGL article. It works well but when I rotate the device, I notice that the allocated memory i...
Swetiana asked 29/1, 2012 at 5:1

4

Solved

I'm making a virtual reality application where the camera should detect faces, locate them and show their location on the camera preview. I know of 3 ways to do it, I'd like to use GLSurfaceView t...
Mcnally asked 3/9, 2012 at 18:22

1

Solved

I'm trying to profile my renderer, and I'm seeing some weird profiling behavior that I can't explain. I'm using a glSurfaceView, which I have set to render continuously. This is how my onDrawFram...
Liba asked 1/9, 2012 at 1:38

1

Solved

So I have a GLSurfaceView in my app being rendered by a GLSurfaceView.Renderer and using JPCt as library. The surface is in an invisible RelativeLayout (visibility: gone). When I change the visibi...
Alcaeus asked 26/8, 2012 at 20:35

© 2022 - 2024 — McMap. All rights reserved.