> Keep in mind that the
> emulator doesn't have the OpenGL hardware of an HTC handset, so it's
> not going to behave the same.
Hmmm, it shouldnt be like that. OpenGL hardware should improve
performace, but the sematics should be the same on all devices/
emulators with og without different kinds o
> Do you need that pixel format so that you can draw translucently onto
> an existing background or is it for some other purpose?
The pixelformat is exactly for drawing translucently onto and existing
background.
Regards, Steff
--~--~-~--~~~---~--~~
You received
Steff,
If you want to ensure device compatibility going forward, I'd
recommend using the new GLSurfaceView class which was introduced in
Android 1.5. It cleared up issues for me and I have to imagine that
sticking to it will bring you the best results with new devices.
Do you need that pixel fo
I have tried to install the application on my HTC magic with
"mGLSurfaceView.getHolder().setFormat(PixelFormat.RGBA_);". I
works perfectly. When I comment out the line the graphics looks very
strange on my HTC magic, but that is where it looks fine in the
emulator. If the emulator cannot be tr
Hi
Well I use my own GLSurfaceView:
public class GLSurfaceView extends SurfaceView implements
SurfaceHolder.Callback
I did not know that a GLSurfaceView was added to the SDK. I will
consider starting to use that, but I am pretty sure that it is not the
problem right now. Or do you think it is? R
The biggest thing for me that was added in 1.5 was the GLSurfaceView.
I had issues but after switching to that everything worked everywhere
like magic. Are you using that?
On Oct 23, 12:01 pm, Steff wrote:
> Hi
>
> I tried to remove all usage of texture in the app. That did not help.
>
> Now I
Hi
I tried to remove all usage of texture in the app. That did not help.
Now I have narrowed it down:
My application contains this line "mGLSurfaceView.getHolder().setFormat
(PixelFormat.RGBA_);". If I comment out that line, then the OpenGL
rendering works again. But I need that line, becaus
My app used to work in the emulation of the SDK I used to use. It was
downloaded almost a year ago. I believe it was 1.2 or something. So
the app works in 1.2 emulator AND on my 1.5 firmware HTC magic. But it
does not work on the 1.5 emulator of the 1.6 SDK downloaded today.
I dont know if my tex
Did it used to work on the 1.5 emulator? Keep in mind that the
emulator doesn't have the OpenGL hardware of an HTC handset, so it's
not going to behave the same.
Having said that, my OpenGL stuff runs better on the 1.6 emulator than
it did on 1.5.
String
On Oct 23, 3:43 pm, Steff wrote:
> Hi
>
I am assuming your textures are not power of 2 and square.
On Oct 23, 7:43 am, Steff wrote:
> Hi
>
> I've just dusted off an application I did for Android half a year ago.
> I upgraded to the latest SDK and Eclipse ADT. After some struggeling I
> get the application to run again. When I debug it
10 matches
Mail list logo