Je suis en train d'écrire un framework basé sur OpenGL ES pour mes prochains jeux Android Android). Actuellement, je supporte trois techniques différentes de dessin de sprites:
Les tableaux de sommets sont pris en charge dans OpenGL ES 1.0 et donc dans tous les appareils Android. Je suppose que la plupart (sinon la totalité) des appareils actuels prennent également en charge les VBO et draw_texture.
Au lieu de deviner, j'aimerais connaître les extensions prises en charge par différents appareils. Si la majorité des appareils prennent en charge les VBO, je pourrais simplifier mon code et me concentrer uniquement sur les VBO + draw_texture.
Il serait utile de savoir quels sont les différents appareils pris en charge, donc si vous avez un appareil Android, signalez la liste des extensions s'il vous plaît. :)
String extensions = gl.glGetString(GL10.GL_EXTENSIONS);
J'ai un HTC Hero, donc je peux partager ces extensions ensuite.
Extensions OpenGL ES sur HTC G1 (Android 1.6):
Version OpenGL ES sur HTC G1 (Android 1.6):
J'inclus la version récupérée par:gl.glGetString(GL10.GL_VERSION)
C'est assez intéressant car il ne suit pas les spécifications. Le profil est censé être avant le numéro. Il est également nécessaire de déterminer les capacités. Par exemple, le Droid ne signale pas le support VBO dans sa liste d'extensions. Il rapporte cependant une version OpenGL ES de 1.1. Cela signifie qu'il prend en charge les VBO, car les VBO ont été rendus obligatoires dans la version 1.1.
Voici un HTC Evo 4G en cours d'exécution Android 2.1-update1 (Merci Google IO):
GL_VERSION:
GL_EXTENSIONS:
GL_RENDERER:
GL_VENDOR:
GL_ALIASED_POINT_SIZE_RANGE:
GL_SMOOTH_POINT_SIZE_RANGE:
Je pensais que les performances reproduiraient celles du Nexus. Il a le même rendu/processeur après tout. L'écran est TFT au lieu d'OLED, mais la même résolution. Cependant, l'un de mes jeux qui prend 16-18 ms par image sur le N1 prend 33-34 ms. Je n'ai pas encore cherché pourquoi. Le nombre ressemble étrangement à ce qu'il serait si l'écran ne fonctionnait qu'à 30 Hz au lieu de 60 Hz. Mais je ne l'ai pas encore confirmé.
Informations OpenGL ES pour HTC Desire (AU)
GL_EXTENSIONS:
GL_VERSION:
GL_RENDERER:
GL_VENDOR:
Vous devriez essayer d'aller sur www.glbenchmark.com. Ils ont une belle base de données. Et ils répertorient toutes les extensions dans leur section d'environnement GL pour chaque appareil.
Extensions OpenGL ES sur Nexus One (Android 2.1):
On dirait que Dave Webb a raison.
Voici ce que j'ai avec le Droid original en utilisant Android 2.1, qui diffère de ce qui avait été signalé ici pour le Droid avec Android 2.0.1.
Version GL
GL Vendor
GL Renderer
Extensions GL
Je viens de recevoir un Droid en cours d'exécution Android 2.0.1.
GL_EXTENSIONS:
GL_VERSION:
GL_RENDERER:
GL_VENDOR:
GL_ALIASED_POINT_SIZE_RANGE:
GL_SMOOTH_POINT_SIZE_RANGE:
Voici les informations pour Samsung GT-I5700 (Spica/Galaxy Spica) avec Android 1.5:
GL_VERSION:
GL_RENDERER:
GL_VENDOR:
GL_EXTENSIONS:
Extensions OpenGL ES sur HTC Hero (Android 1.5):
Tablette Internet Archos 5 exécutant Android 1.6:
GL_VERSION:
GL_EXTENSIONS:
GL_RENDERER:
GL_VENDOR:
GL_ALIASED_POINT_SIZE_RANGE:
GL_SMOOTH_POINT_SIZE_RANGE:
Je suppose que cela signifie qu'il n'y a pas d'accélération matérielle OpenGL.
Infos Gl pour Samsung Galaxy Tab
Android Device
samsung / GT-P1000 / GT-P1000
2.2 / armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1
OpenGL Vendor
Imagination Technologies
OpenGL Renderer
PowerVR SGX 540
OpenGL Extensions
EXT_multi_draw_arrays
EXT_texture_format_BGRA8888
IMG_read_format
IMG_texture_compression_pvrtc
IMG_texture_format_BGRA8888
IMG_texture_stream
IMG_vertex_program
OES_EGL_image
OES_blend_equation_separate
OES_blend_func_separate
OES_blend_subtract
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_depth24
OES_draw_texture
OES_extended_matrix_palette
OES_fixed_point
OES_framebuffer_object
OES_mapbuffer
OES_matrix_get
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_query_matrix
OES_read_format
OES_required_internalformat
OES_rgb8_rgba8
OES_single_precision
OES_stencil8
OES_stencil_wrap
OES_texture_cube_map
OES_texture_env_crossbar
OES_texture_mirrored_repeat
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,16
ALIASED_POINT_SIZE_RANGE = 1,32
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 2048
MAX_TEXTURE_STACK_DEPTH = 4
MAX_TEXTURE_UNITS = 4
MAX_VIEWPORT_DIMS = 2048,2048
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,1
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 6
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 2048
MAX_PALETTE_MATRICES_OES = 32
MAX_RENDERBUFFER_SIZE_OES = 2048
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 600 x 1024
DPIs = 168.89351 x 169.33333
Display Configurations
Standard
07: R5G6B5
06: R5G6B5 D24 S8
08: R5G6B5 D24 S8 MSAAx4
01: R8G8B8A8
04: R8G8B8A8
00: R8G8B8A8 D24 S8
03: R8G8B8A8 D24 S8
02: R8G8B8A8 D24 S8 MSAAx4
05: R8G8B8A8 D24 S8 MSAAx4
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
8c01: ???
8c03: ???
8c00: ???
8c02: ???
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Imagination Technologies
1.4 build 1.5.15.3152
EGL Extensions
Android_image_native_buffer
IMG_context_priority
KHR_gl_renderbuffer_image
KHR_gl_texture_2D_image
KHR_gl_texture_cubemap_image
KHR_image
KHR_image_base
KHR_vg_parent_image
Infos GL pour Samsung Nexus S
Android Device
samsung crespo Nexus S
2.3.4 armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1
OpenGL Vendor
Imagination Technologies
OpenGL Renderer
PowerVR SGX 540
OpenGL Extensions
EXT_multi_draw_arrays
EXT_texture_format_BGRA8888
IMG_read_format
IMG_texture_compression_pvrtc
IMG_texture_format_BGRA8888
IMG_texture_stream
IMG_vertex_array_object
OES_EGL_image
OES_blend_equation_separate
OES_blend_func_separate
OES_blend_subtract
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_depth24
OES_draw_texture
OES_egl_sync
OES_extended_matrix_palette
OES_fixed_point
OES_framebuffer_object
OES_mapbuffer
OES_matrix_get
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_query_matrix
OES_read_format
OES_required_internalformat
OES_rgb8_rgba8
OES_single_precision
OES_stencil8
OES_stencil_wrap
OES_texture_cube_map
OES_texture_env_crossbar
OES_texture_mirrored_repeat
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,16
ALIASED_POINT_SIZE_RANGE = 1,32
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 2048
MAX_TEXTURE_STACK_DEPTH = 4
MAX_TEXTURE_UNITS = 4
MAX_VIEWPORT_DIMS = 2048,2048
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,1
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 6
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 2048
MAX_PALETTE_MATRICES_OES = 32
MAX_RENDERBUFFER_SIZE_OES = 2048
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 480 x 800
DPIs = 234.46153 x 236.27907
Display Configurations
Standard
11 R5G6B5
10 R5G6B5 D24 S8
12 R5G6B5 D24 S8 MSAAx4
02 R8G8B8A8
05 R8G8B8A8
08 R8G8B8
01 R8G8B8A8 D24 S8
04 R8G8B8A8 D24 S8
07 R8G8B8 D24 S8
03 R8G8B8A8 D24 S8 MSAAx4
06 R8G8B8A8 D24 S8 MSAAx4
09 R8G8B8 D24 S8 MSAAx4
Slow
29 R5G6B5 Native
30 R5G6B5 D16 Native
31 R8G8B8 Native
32 R8G8B8 D16 Native
33 R8G8B8A8 Native
34 R8G8B8A8 D16 Native
35 A8 Native
36 A8 D16 Native
Compressed Texture Formats
Reported
8b90 PALETTE4_RGB8_OES
8b91 PALETTE4_RGBA8_OES
8b92 PALETTE4_R5_G6_B5_OES
8b93 PALETTE4_RGBA4_OES
8b94 PALETTE4_RGB5_A1_OES
8b95 PALETTE8_RGB8_OES
8b96 PALETTE8_RGBA8_OES
8b97 PALETTE8_R5_G6_B5_OES
8b98 PALETTE8_RGBA4_OES
8b99 PALETTE8_RGB5_A1_OES
8c01
8c03
8c00
8c02
8d64 ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
Infos GL pour le jalon
Android Device
Motorola / umts_sholes / Milestone
2.1-update1 / armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1
OpenGL Vendor
Imagination Technologies
OpenGL Renderer
PowerVR SGX 530
OpenGL Extensions
EXT_multi_draw_arrays
EXT_texture_format_BGRA8888
IMG_read_format
IMG_texture_compression_pvrtc
IMG_texture_format_BGRA8888
IMG_texture_stream
IMG_vertex_program
OES_EGL_image
OES_blend_equation_separate
OES_blend_func_separate
OES_blend_subtract
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_depth24
OES_draw_texture
OES_extended_matrix_palette
OES_fixed_point
OES_framebuffer_object
OES_mapbuffer
OES_matrix_get
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_query_matrix
OES_read_format
OES_required_internalformat
OES_rgb8_rgba8
OES_single_precision
OES_stencil8
OES_stencil_wrap
OES_texture_cube_map
OES_texture_env_crossbar
OES_texture_mirrored_repeat
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,16
ALIASED_POINT_SIZE_RANGE = 1,32
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 2048
MAX_TEXTURE_STACK_DEPTH = 4
MAX_TEXTURE_UNITS = 4
MAX_VIEWPORT_DIMS = 2048,2048
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,1
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 6
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 2048
MAX_PALETTE_MATRICES_OES = 32
MAX_RENDERBUFFER_SIZE_OES = 2048
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 480 x 854
DPIs = 96.0 x 96.0
Display Configurations
Standard
07: R5G6B5
06: R5G6B5 D24 S8
08: R5G6B5 D24 S8 MSAAx4
01: R8G8B8A8
04: R8G8B8A8
00: R8G8B8A8 D24 S8
03: R8G8B8A8 D24 S8
02: R8G8B8A8 D24 S8 MSAAx4
05: R8G8B8A8 D24 S8 MSAAx4
Slow
22: R5G6B5 Native
23: R5G6B5 D16 Native
24: R8G8B8 Native
25: R8G8B8 D16 Native
26: R8G8B8A8 Native
27: R8G8B8A8 D16 Native
28: A8 Native
29: A8 D16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
8c01: ???
8c03: ???
8c00: ???
8c02: ???
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_get_render_buffer
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
Et pour htc wildfire
Android Device
HTC / buzz / HTC Wildfire
2.2.1 / armeabi
OpenGL Version
OpenGL ES-CM 1.0
OpenGL Vendor
Android
OpenGL Renderer
Android PixelFlinger 1.3
OpenGL Extensions
Android_generate_mipmap
Android_user_clip_plane
Android_vertex_buffer_object
ARB_texture_compression
ARB_texture_non_power_of_two
OES_EGL_image
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_draw_texture
OES_fixed_point
OES_matrix_get
OES_query_matrix
OES_read_format
OES_single_precision
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 0,134217727
ALIASED_POINT_SIZE_RANGE = 0,134217727
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 4096
MAX_TEXTURE_STACK_DEPTH = 2
MAX_TEXTURE_UNITS = 2
MAX_VIEWPORT_DIMS = 4096,4096
SMOOTH_LINE_WIDTH_RANGE = 0,2048
SMOOTH_POINT_SIZE_RANGE = 0,2048
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 6
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 0
MAX_PALETTE_MATRICES_OES = 0
MAX_RENDERBUFFER_SIZE_OES = 0
MAX_VERTEX_UNITS_OES = 0
Display Resolution
Pixels = 240 x 320
DPIs = 124.408165 x 125.04615
Display Configurations
Slow
00: R5G6B5 Native
01: R5G6B5 D16 Native
02: R8G8B8 Native
03: R8G8B8 D16 Native
04: R8G8B8A8 Native
05: R8G8B8A8 D16 Native
06: A8 Native
07: A8 D16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_get_render_buffer
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
C'est la sortie pour mon Sony Ericsson Xperia X10 avec la mise à jour 2.1. J'ajouterai les spécifications du même téléphone exécutant 1.6 plus tard.
Voici les extensions pour Sony Ericsson Xperia Pro exécutant la mise à jour 2.34:
GL_AMD_compressed_3DC_texture
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_Apple_texture_2D_limited_npot
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_type_2_10_10_10_REV
GL_OES_blend_equation_separate
GL_OES_blend_func_separate
GL_OES_blend_subtract
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture
GL_OES_depth_texture
GL_OES_draw_texture
GL_OES_framebuffer_object
GL_OES_matrix_palette
GL_OES_packed_depth_stencil
GL_OES_point_size_array
GL_OES_point_Sprite
GL_OES_read_format
GL_OES_rgb8_rgba8
GL_OES_stencil_wrap
GL_OES_EGL_image
GL_OES_texture_cube_map
GL_OES_texture_env_crossbar
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_texture_mirrored_repeat
GL_QCOM_binning_control
GL_QCOM_extended_get
GL_QCOM_tiled_rendering
HTC Sensation
GL_VENDOR: Qualcomm
GL_RENDERER: Adreno (TM) 220
GL_VERSION: OpenGL ES 2.0 1566933
GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00
GL_EXTENSIONS:
Appareil Android
Version OpenGL
Fournisseur OpenGL
OpenGL Renderer
Extensions GL
GL_OES_EGL_image est nouveau dans la mise à jour 2.1 (non présent dans 1.6)
Il s'agit d'une sortie de Sony Erocsson Xperia X10 avec Android 1.6 (sans la mise à jour 2.1):
Informations GL pour Samsung Galaxy Nexus:
Android Device
samsung / maguro / Galaxy Nexus
4.0.1 / armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1 build 1.8@300406
OpenGL Vendor
Imagination Technologies
OpenGL Renderer
PowerVR SGX 540
OpenGL Extensions
EXT_multi_draw_arrays
EXT_texture_format_BGRA8888
IMG_read_format
IMG_texture_compression_pvrtc
IMG_texture_format_BGRA8888
IMG_vertex_array_object
OES_EGL_image
OES_EGL_image_external
OES_blend_equation_separate
OES_blend_func_separate
OES_blend_subtract
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_depth24
OES_draw_texture
OES_egl_sync
OES_extended_matrix_palette
OES_fixed_point
OES_framebuffer_object
OES_mapbuffer
OES_matrix_get
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_query_matrix
OES_read_format
OES_required_internalformat
OES_rgb8_rgba8
OES_single_precision
OES_stencil8
OES_stencil_wrap
OES_texture_cube_map
OES_texture_env_crossbar
OES_texture_mirrored_repeat
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,16
ALIASED_POINT_SIZE_RANGE = 1,32
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 2048
MAX_TEXTURE_STACK_DEPTH = 4
MAX_TEXTURE_UNITS = 4
MAX_VIEWPORT_DIMS = 2048,2048
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,1
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 6
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 2048
MAX_PALETTE_MATRICES_OES = 32
MAX_RENDERBUFFER_SIZE_OES = 2048
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 720 x 1184
DPIs = 315.31033 x 318.7451
Display Configurations
Standard
08: R5G6B5
07: R5G6B5 D24 S8
09: R5G6B5 D24 S8 MSAAx4
02: R8G8B8A8
05: R8G8B8
01: R8G8B8A8 D24 S8
04: R8G8B8 D24 S8
03: R8G8B8A8 D24 S8 MSAAx4
06: R8G8B8 D24 S8 MSAAx4
Slow
23: R5G6B5 Native
24: R5G6B5 D16 Native
25: R8G8B8 Native
26: R8G8B8 D16 Native
27: R8G8B8A8 Native
28: R8G8B8A8 D16 Native
29: A8 Native
30: A8 D16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
8c01: ???
8c03: ???
8c00: ???
8c02: ???
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_image_native_buffer
Android_swap_rectangle
KHR_fence_sync
KHR_gl_renderbuffer_image
KHR_gl_texture_2D_image
KHR_gl_texture_cubemap_image
KHR_image
KHR_image_base
KHR_image_pixmap
NV_system_time
Voici la sortie de glInfo pour mon HTC Desire (de marque T-mobile)
Android Device
HTC / bravo / HTC Desire
2.2 / armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1
OpenGL Vendor
Qualcomm
OpenGL Renderer
Adreno
OpenGL Extensions
AMD_compressed_3DC_texture
AMD_compressed_ATC_texture
ARB_texture_env_combine
ARB_texture_env_dot3
ARB_texture_mirrored_repeat
ARB_vertex_buffer_object
ATI_compressed_texture_atitc
ATI_texture_compression_atitc
EXT_blend_equation_separate
EXT_blend_func_separate
EXT_blend_minmax
EXT_blend_subtract
EXT_stencil_wrap
OES_EGL_image
OES_blend_equation_separate
OES_blend_func_separate
OES_blend_subtract
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_draw_texture
OES_extended_matrix_palette
OES_framebuffer_object
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_read_format
OES_stencil_wrap
OES_texture_cube_map
OES_texture_env_crossbar
OES_texture_mirrored_repeat
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,8
ALIASED_POINT_SIZE_RANGE = 1,128
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 4
MAX_TEXTURE_SIZE = 2048
MAX_TEXTURE_STACK_DEPTH = 2
MAX_TEXTURE_UNITS = 2
MAX_VIEWPORT_DIMS = 2048,2048
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,128
SUBPIXEL_BITS = 2
Limits OpenGL 1.1
MAX_CLIP_PLANES = 1
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 2048
MAX_PALETTE_MATRICES_OES = 20
MAX_RENDERBUFFER_SIZE_OES = 2048
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 480 x 800
DPIs = 254.0 x 254.0
Display Configurations
Standard
06: R5G6B5
07: R5G6B5 D16
08: R5G6B5 D24 S8
09: R8G8B8A8
10: R8G8B8A8 D16
11: R8G8B8A8 D24 S8
12: R8G8B8
13: R8G8B8 D16
14: R8G8B8 D24 S8
36: R5G6B5 MSAAx4
37: R5G6B5 D16 MSAAx4
38: R5G6B5 D24 S8 MSAAx4
39: R8G8B8A8 MSAAx4
40: R8G8B8A8 D16 MSAAx4
41: R8G8B8A8 D24 S8 MSAAx4
42: R8G8B8 MSAAx4
43: R8G8B8 D16 MSAAx4
44: R8G8B8 D24 S8 MSAAx4
Non Conformant
21: R5G6B5 MSAAx2
22: R5G6B5 D16 MSAAx2
23: R5G6B5 D24 S8 MSAAx2
24: R8G8B8A8 MSAAx2
25: R8G8B8A8 D16 MSAAx2
26: R8G8B8A8 D24 S8 MSAAx2
27: R8G8B8 MSAAx2
28: R8G8B8 D16 MSAAx2
29: R8G8B8 D24 S8 MSAAx2
Slow
45: R5G6B5 Native
46: R5G6B5 D16 Native
47: R8G8B8 Native
48: R8G8B8 D16 Native
49: R8G8B8A8 Native
50: R8G8B8A8 D16 Native
51: A8 Native
52: A8 D16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
Implicit
87f9: 3DC_X_AMD
87fa: 3DC_XY_AMD
8c92: ATC_RGB_AMD
8c93: ATC_RGBA_EXPLICIT_ALPHA_AMD
87ee: ATC_RGBA_INTERPOLATED_ALPHA_AMD
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_get_render_buffer
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
Voici les informations GL pour Samsung Galaxy SII:
Android Device
samsung / GT-I9100 / GT-I9100
2.3.3 / armeabi-v7a
OpenGL Version
OpenGL ES-CM 1.1
OpenGL Vendor
ARM
OpenGL Renderer
Mali-400 MP
OpenGL Extensions
ARM_rgba8
OES_EGL_image
OES_byte_coordinates
OES_compressed_ETC1_RGB8_texture
OES_compressed_paletted_texture
OES_depth24
OES_depth_texture
OES_draw_texture
OES_extended_matrix_palette
OES_fixed_point
OES_framebuffer_object
OES_matrix_get
OES_matrix_palette
OES_packed_depth_stencil
OES_point_size_array
OES_point_Sprite
OES_query_matrix
OES_read_format
OES_single_precision
OES_stencil8
OES_texture_npot
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 0,100
ALIASED_POINT_SIZE_RANGE = 1,100
MAX_ELEMENTS_INDICES = 0
MAX_ELEMENTS_VERTICES = 0
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 32
MAX_PROJECTION_STACK_DEPTH = 32
MAX_TEXTURE_SIZE = 4096
MAX_TEXTURE_STACK_DEPTH = 32
MAX_TEXTURE_UNITS = 8
MAX_VIEWPORT_DIMS = 4096,4096
SMOOTH_LINE_WIDTH_RANGE = 0,100
SMOOTH_POINT_SIZE_RANGE = 1,100
SUBPIXEL_BITS = 4
Limits OpenGL 1.1
MAX_CLIP_PLANES = 1
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 0
MAX_PALETTE_MATRICES_OES = 32
MAX_RENDERBUFFER_SIZE_OES = 4096
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 480 x 800
DPIs = 217.71428 x 218.49463
Display Configurations
Standard
01: R5G6B5 Native
06: R5G6B5 D24 S8 Native
09: R5G5B5A1 D24 S8 Native
12: R4G4B4A4 D24 S8 Native
07: R5G6B5 D24 S8 MSAAx4 Native
10: R5G5B5A1 D24 S8 MSAAx4 Native
13: R4G4B4A4 D24 S8 MSAAx4 Native
02: R8G8B8A8 Native
03: R8G8B8 Native
15: R8G8B8A8 D24 S8 Native
04: R8G8B8 D24 S8 Native
05: R8G8B8A8 D24 S8 Native
16: R8G8B8A8 D24 S8 MSAAx4 Native
Non Conformant
08: R5G6B5 D24 S8 MSAAx16 Native
11: R5G5B5A1 D24 S8 MSAAx16 Native
14: R4G4B4A4 D24 S8 MSAAx16 Native
17: R8G8B8A8 D24 S8 MSAAx16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
8d64: ETC1_RGB8_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
Voici le Motorola Cliq, exécutant un hack 1.1 trouvé ici :
Android Device
Motorola / morr / MB200
2.1-update1 / armeabi
OpenGL Version
OpenGL ES 1.1-CM
OpenGL Vendor
QUALCOMM, Inc.
OpenGL Renderer
Q3Dimension MSM7230 01.02.08 0 4.0.0
OpenGL Extensions
ARB_texture_env_combine
ARB_texture_env_crossbar
ARB_texture_env_dot3
ARB_texture_mirrored_repeat
ARB_vertex_buffer_object
ATI_extended_texture_coordinate_data_formats
ATI_imageon_misc
ATI_texture_compression_atitc
EXT_blend_equation_separate
EXT_blend_func_separate
EXT_blend_minmax
EXT_blend_subtract
EXT_stencil_wrap
OES_byte_coordinates
OES_compressed_paletted_texture
OES_draw_texture
OES_fixed_point
OES_matrix_palette
OES_point_size_array
OES_point_Sprite
OES_read_format
OES_single_precision
OES_vertex_buffer_object
QUALCOMM_direct_texture
QUALCOMM_vertex_buffer_object
Limits OpenGL 1.0
ALIASED_LINE_WIDTH_RANGE = 1,1
ALIASED_POINT_SIZE_RANGE = 1,32
MAX_ELEMENTS_INDICES = 65536
MAX_ELEMENTS_VERTICES = 65536
MAX_LIGHTS = 8
MAX_MODELVIEW_STACK_DEPTH = 16
MAX_PROJECTION_STACK_DEPTH = 2
MAX_TEXTURE_SIZE = 1024
MAX_TEXTURE_STACK_DEPTH = 2
MAX_TEXTURE_UNITS = 2
MAX_VIEWPORT_DIMS = 320,455
SMOOTH_LINE_WIDTH_RANGE = 1,1
SMOOTH_POINT_SIZE_RANGE = 1,32
SUBPIXEL_BITS = 2
Limits OpenGL 1.1
MAX_CLIP_PLANES = 0
Limits OpenGL 1.1 Ext
MAX_COLOR_ATTACHMENTS_OES = 0
MAX_CUBE_MAP_TEXTURE_SIZE = 0
MAX_PALETTE_MATRICES_OES = 48
MAX_RENDERBUFFER_SIZE_OES = 0
MAX_VERTEX_UNITS_OES = 4
Display Resolution
Pixels = 320 x 480
DPIs = 159.37254 x 160.42105
Display Configurations
Standard
00: R5G6B5
05: R5G5B5A1
14: R5G6B5 S4
06: R5G5B5A1 S4
15: R5G6B5 D16
07: R5G5B5A1 D16
04: R5G6B5 D16 S4
08: R5G5B5A1 D16 S4
Non Conformant
09: R4G4B4A4
10: R4G4B4A4 S4
11: R4G4B4A4 D16
12: R4G4B4A4 D16 S4
13: R8G8B8A8
01: R8G8B8A8 S4
02: R8G8B8A8 D16
03: R8G8B8A8 D16 S4
Slow
16: R5G6B5 Native
17: R5G6B5 D16 Native
18: R8G8B8 Native
19: R8G8B8 D16 Native
20: R8G8B8A8 Native
21: R8G8B8A8 D16 Native
22: A8 Native
23: A8 D16 Native
Compressed Texture Formats
Reported
8b90: PALETTE4_RGB8_OES
8b91: PALETTE4_RGBA8_OES
8b92: PALETTE4_R5_G6_B5_OES
8b93: PALETTE4_RGBA4_OES
8b94: PALETTE4_RGB5_A1_OES
8b95: PALETTE8_RGB8_OES
8b96: PALETTE8_RGBA8_OES
8b97: PALETTE8_R5_G6_B5_OES
8b98: PALETTE8_RGBA4_OES
8b99: PALETTE8_RGB5_A1_OES
EGL Vendor & Version
Android
1.4 Android META-EGL
EGL Extensions
Android_get_render_buffer
Android_image_native_buffer
Android_swap_rectangle
KHR_image
KHR_image_base
KHR_image_pixmap
Samsung Galaxy S, Android 2.1
Appareil Android
Version OpenGL
Fournisseur OpenGL
OpenGL Renderer
Extensions OpenGL
Asus Eee PAD Transformer Prime TF201
extensions:
GL_NV_platform_binary
GL_OES_rgb8_rgba8
GL_OES_EGL_sync
GL_OES_fbo_render_mipmap
GL_NV_depth_nonlinear
GL_NV_draw_path
GL_NV_texture_npot_2D_mipmap
GL_OES_EGL_image
GL_OES_EGL_image_external
GL_OES_vertex_half_float
GL_OES_mapbuffer
GL_NV_draw_buffers
GL_NV_multiview_draw_buffers
GL_EXT_Cg_shader
GL_EXT_packed_float
GL_OES_texture_half_float
GL_OES_texture_float
GL_EXT_texture_array
GL_OES_compressed_ETC1_RGB8_texture
GL_EXT_texture_compression_latc
GL_NV_texture_compression_latc
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_s3tc
GL_NV_texture_compression_s3tc
GL_EXT_texture_filter_anisotropic
GL_NV_get_tex_image
GL_NV_read_buffer
GL_NV_shader_framebuffer_fetch
GL_NV_fbo_color_attachments
GL_EXT_bgra
GL_EXT_texture_format_BGRA8888
GL_EXT_unpack_subimage
GL_NV_pack_subimage
GL_NV_texture_compression_s3tc_update
GL_NV_read_depth
GL_NV_read_stencil
GL_EXT_robustness
GL_OES_standard_derivatives
GL_NV_EGL_stream_consumer_external
GL_NV_coverage_sample
GL_EXT_occlusion_query_boolean
GL_NV_timer_query
Je viens de saisir l'appareil du bureau du collègue et de lire rapidement la chaîne d'extension, je n'ai pas eu la chance d'obtenir la version OpenGL (devrait être "OpenGL ES 2.0") et le rendu (devrait être "NVIDIA Tegra 3").
Grand mec d'initiative! Je pensais que ce serait bien de mettre également les spécifications de l'émulateur. Cela fonctionne Android 2.1