Looking further into this, I've found that there is considerable reference to RGBA_8888 type pixel formats in the source for the SurfaceFlinger, BlitHardware and even libagl/egl.cpp. And there are valid configs in egl.cpp that match what I'm seeing returned. All of this makes me think that it should work for me and I'm just missing something.
I'll continue to work my way through the code, but if there are any EGL developers on the list that can shed some light onto my situation, that would be awesome. :) Thanks, Anton On Mar 21, 4:11 pm, Anton <socialhac...@gmail.com> wrote: > Is it possible to generate an EGL Config with an alpha buffer on > the G1? When I request a non-zero number of bits for the alpha buffer > I can get a R5G5B5A1 or R8G8B8A8 visual, but neither of them renders > correctly to the screen. I assume that's because the G1 only supports > R5G6B5 visuals. It does surprise me that I can even get those visuals > though. It's fairly obvious looking at the 32bpp visual artifacts > that the frame buffer is indeed laid out with 32bpp, but display > hardware is treating it as 16bpp, resulting in the left and right > halves of my scene rendering in alternate scan lines, with distorted > colors. > > So does anyone know if there is any way to get an alpha buffer on > the G1? > > I've tried using FBO's but they don't seem to be implemented > either. Or I'm using them incorrectly. If I call > glGenFrameBuffersOES on a GL11ExtensionPack reference I get an > UnsupportedOperationException. I am getting my GL11ExtensionPack > reference by casting the return value from my EGLContext.getGL() call. > > Thanks, > Anton --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---