Ok I figured it out. Here are the GL extensions that were returned by the 1.5 emulator and 1.5 G1.
Emu: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap G1: GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_vertex_buffer_object GL_ATI_extended_texture_coordinate_data_formats GL_ATI_imageon_misc GL_ATI_texture_compression_atitc GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_stencil_wrap GL_OES_byte_coordinates GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_fixed_point GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_single_precision GL_OES_vertex_buffer_object GL_QUALCOMM_vertex_buffer_object GL_QUALCOMM_direct_texture The G1 doesn't report that it can generate mipmaps. I'll just test against the extensions list to see if I need to do them manually or can use the GL11 tex param. On Sep 10, 1:53 pm, Robert Green <[email protected]> wrote: > I'd like to add that both the emulator and the G1's GL instances are > GL11, but the automatic generation works correctly in the emulator but > not on the G1... > > What can I do to test a GL context to see if it will do this > correctly? I'm a little surprised by this partial GL11 > implementation, if it's got any GL11 at all. Why isn't it just an > instance of GL10? > > On Sep 10, 1:46 pm, Robert Green <[email protected]> wrote: > > > I've finally got around to mipmapping a bunch of my textures and > > decided to make a fail-safe for GL10/GL11. My code manually generates > > mipmaps if the GL instance is only GL10, but if it's GL11, it sets > > gl.glTexParameterf(GL11.GL_TEXTURE_2D, GL11.GL_GENERATE_MIPMAP, > > GL11.GL_TRUE); > > > The next line I use is: > > > GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); > > > but I only get white textures. Isn't that all I need to do for the > > generate mipmaps call? Also, if a GL is an instance of GL11, doesn't > > that mean that it should fully support OpenGL ES 1.1? > > > I've written everything for OGLES 1.0, but I'm just getting confused > > because the GL context I get on my G1 is an instance of GL11, yet this > > doesn't appear to work correctly. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

