Thanks! This function is indeed standard GL 1.1.
Maybe there's something else that I don't do right that happens to work on all other phones, but not on the Nexus: Here is the code that draw my background texture: beginBGDrawing(gl); gl.glBindTexture(GL10.GL_TEXTURE_2D, mBackgroundTextureID); ((GL11) gl).glTexParameteriv(GL10.GL_TEXTURE_2D, GL11Ext.GL_TEXTURE_CROP_RECT_OES, smBackgroundCrop,0); ((GL11Ext)gl).glDrawTexiOES(0, 0, 1, (int)mViewWidth, (int) mViewHeight); endBGDrawing(gl); private void beginBGDrawing(GL10 gl) { gl.glShadeModel(GL10.GL_FLAT); gl.glEnable(GL10.GL_BLEND); gl.glBlendFunc(GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA); gl.glColor4x(0x10000, 0x10000, 0x10000, 0x10000); gl.glMatrixMode(GL10.GL_PROJECTION); gl.glPushMatrix(); gl.glLoadIdentity(); gl.glOrthof(0.0f, mViewWidth, 0.0f, mViewHeight, 0.0f, 1.0f); gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glPushMatrix(); } private void endBGDrawing(GL10 gl) { gl.glDisable(GL10.GL_BLEND); gl.glMatrixMode(GL10.GL_PROJECTION); gl.glPopMatrix(); gl.glMatrixMode(GL10.GL_MODELVIEW); gl.glPopMatrix(); } mBackgroundTextureID is valid (if i use this texture-id for other objects, the texture is properly shown) smBackgroundCrop is [0,0,512,512], the size, in pixels, of the texture- bitmap. mViewWidth and mViewHeight are 480 and 762 respectively. On Jan 7, 11:33 pm, Robert Green <rbgrn....@gmail.com> wrote: > Here's what my GL setup code detected: > > I/WorldRenderer( 4454): Determining OpenGL Capabilities > I/WorldRenderer( 4454): OpenGL Vendor [Qualcomm] > I/WorldRenderer( 4454): OpenGL Renderer [Adreno] > I/WorldRenderer( 4454): OpenGL Version [OpenGL ES-CM 1.1] [CM] [1.1] > I/WorldRenderer( 4454): GL Extensions [GL_AMD_compressed_3DC_texture > GL_AMD_compressed_ATC_texture GL_ARB_texture_env_co > mbine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat > GL_ARB_vertex_buffer_object GL_ATI_compressed_texture_atitc > GL_ATI_texture_compression_atitc GL_EXT_blend_equation_separate > GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_b > lend_subtract GL_EXT_stencil_wrap GL_OES_EGL_image > GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blen > d_subtract GL_OES_compressed_ETC1_RGB8_texture > GL_OES_compressed_paletted_texture GL_OES_draw_texture > GL_OES_extended_ma > trix_palette GL_OES_framebuffer_object GL_OES_matrix_palette > GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_for > mat GL_OES_stencil_wrap GL_OES_texture_cube_map > GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat ] > I/WorldRenderer( 4454): VBOs Supported > I/WorldRenderer( 4454): HW Mipmap generation supported > I/WorldRenderer( 4454): Finished determining OpenGL capabilities. > I/WorldRenderer( 4454): EGL_DEPTH_SIZE = 16 > I/WorldRenderer( 4454): EGL_BUFFER_SIZE = 16 > I/WorldRenderer( 4454): EGL_RED_SIZE = 5 > I/WorldRenderer( 4454): EGL_BLUE_SIZE = 5 > I/WorldRenderer( 4454): EGL_GREEN_SIZE = 6 > I/WorldRenderer( 4454): EGL_ALPHA_SIZE = 0 > D/WorldRenderer( 4454): OpenGL Surface Changed to (800x480) > D/CameraMan( 4454): Aspect Ratio = 1.6666666 > > DrawTexiOES is a standard 1.1 function, right? It should be supported > then because this chip reports itself as 1.1-Common. Perhaps you > could send an email to the Adreno guys and ask them about it. > > I don't use that function but so far everything has worked 100% for > me. > > On Jan 7, 8:14 pm, Streets Of Boston <flyingdutc...@gmail.com> wrote: > > > > > I use this call (GL11.glDrawTexiOES), copied most of it from the Api > > Demos' "LabelMaker" class and it works on every Android phone, so far. > > > However, i tested it on the Nexus One and nothing is rendered when > > using glDrawTexiOES. > > > I tried the floating-point version of this call as well... nothing... > > > Is there a way around this issue? > > > Thanks!- Hide quoted text - > > - Show quoted text -
-- 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