可在不同 Android 设备上使用的 OpenGL 扩展[关闭]

IT小君   2021-10-08T05:10:17

我正在为我的下一个 Android 游戏编写一个 OpenGL ES 驱动的框架。目前我支持三种不同的绘制精灵的技术:

  • 基本方法:使用顶点数组(慢)
  • 使用顶点缓冲区对象(VBO)(更快)
  • 使用draw_texture扩展(最快,但仅适用于基本精灵,即没有转换)

OpenGL ES 1.0 支持顶点数组,因此每个 Android 设备都支持。我猜大多数(如果不是全部)当前设备也支持 VBO 和 draw_texture。

与其猜测,我想知道不同设备支持的扩展。如果大多数设备支持 VBO,我可以简化我的代码并只关注 VBO + draw_texture。

了解支持哪些不同设备会很有帮助,因此如果您有 Android 设备,请务必报告扩展列表。:)

String extensions = gl.glGetString(GL10.GL_EXTENSIONS);

我有一个HTC Hero,所以接下来我可以分享这些扩展。

评论(23)
IT小君

HTC G1 (Android 1.6) 上的 OpenGL ES 扩展:

  • 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_pa​​letted_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

HTC G1 (Android 1.6) 上的 OpenGL ES 版本:

  • OpenGL ES 1.0-CM

我包括通过以下方式检索的版本:
gl.glGetString(GL10.GL_VERSION)

这很有趣,因为它不遵循规范。配置文件应该在数字之前。还需要确定能力。例如,Droid 不会在其扩展列表中报告 VBO 支持。但是,它确实报告了 OpenGL ES 版本 1.1。这意味着它确实支持 VBO,因为 VBO 在 1.1 版本中是强制性的。

2021-10-08T05:10:17   回复
IT小君

这是运行 Android 2.1-update1HTC Evo 4G(感谢 Google IO):

GL_VERSION:

  • OpenGL ES-CM 1.1

GL_EXTENSIONS:

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap
  • GL_OES_EGL_image
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat

GL_渲染器:

  • 肾上腺素

GL_供应商:

  • 高通

GL_ALIASED_POINT_SIZE_RANGE:

  • 1, 128

GL_SMOOTH_POINT_SIZE_RANGE:

  • 1, 128

我认为性能会复制 Nexus 的。毕竟它具有相同的渲染器/处理器。屏幕是TFT而不是OLED,但分辨率相同。然而,我的一款在 N1 上每帧需要 16-18 毫秒的游戏需要 33-34 毫秒。我还没有研究为什么。如果屏幕仅以 30Hz 而不是 60Hz 运行,这个数字看起来很可疑。不过我还没有确认。

2021-10-08T05:10:18   回复
IT小君

Nexus One (Android 2.1)上的 OpenGL ES 扩展

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap
  • GL_OES_EGL_image
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat
2021-10-08T05:10:18   回复
IT小君

HTC Desire (AU) 的 OpenGL ES 信息

GL_EXTENSIONS:

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap GL_OES_EGL_image
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat

GL_VERSION:

  • OpenGL ES-CM 1.1

GL_渲染器:

  • 肾上腺素

GL_供应商:

  • 高通
2021-10-08T05:10:18   回复
IT小君

您应该尝试访问 www.glbenchmark.com。他们有一个不错的数据库。他们在每个设备的 GL 环境部分列出了所有扩展。

2021-10-08T05:10:18   回复
IT小君

刚刚得到一个运行 Android 2.0.1 的 Droid。

GL_EXTENSIONS:

  • GL_OES_byte_coordinates
  • GL_OES_fixed_point
  • GL_OES_single_precision
  • GL_OES_matrix_get
  • GL_OES_read_format
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_point_sprite
  • GL_OES_point_size_array
  • GL_OES_matrix_palette
  • GL_OES_draw_texture
  • GL_OES_query_matrix
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat
  • GL_OES_texture_cube_map
  • GL_OES_blend_subtract
  • GL_OES_blend_func_separate
  • GL_OES_blend_equation_separate
  • GL_OES_stencil_wrap
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_rgb8_rgba8
  • GL_OES_depth24
  • GL_OES_stencil8
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_mapbuffer
  • GL_OES_EGL_image
  • GL_EXT_multi_draw_arrays
  • GL_OES_required_internalformat
  • GL_IMG_read_format
  • GL_IMG_texture_compression_pvrtc
  • GL_IMG_texture_format_BGRA8888
  • GL_EXT_texture_format_BGRA8888
  • GL_IMG_texture_stream
  • GL_IMG_vertex_program

GL_VERSION:

  • OpenGL ES-CM 1.1

GL_渲染器:

  • PowerVR SGX 530

GL_供应商:

  • 想象科技

GL_ALIASED_POINT_SIZE_RANGE:

  • 1, 32

GL_SMOOTH_POINT_SIZE_RANGE:

  • 1, 1
2021-10-08T05:10:18   回复
IT小君

以下是搭载 Android 1.5 的三星 GT-I5700 (Spica / Galaxy Spica) 的信息:

GL_VERSION:

  • 1.1(库版本 11.02.72)

GL_渲染器:

  • FIMG

GL_供应商:

  • 三星电子

GL_EXTENSIONS:

  • GL_OES_matrix_palette
  • GL_OES_draw_texture
  • GL_OES_framebuffer_object
  • GL_OES_matrix_get
  • GL_ARB_texture_non_power_of_two
2021-10-08T05:10:19   回复
IT小君

看起来 Dave Webb 说的有道理。

这是我使用 Android 2.1 的原始 Droid 的情况,这与此处报告的使用 Android 2.0.1 的 Droid 不同。

GL版

  • OpenGL ES 2.0

GL供应商

  • 想象科技

GL渲染器

  • PowerVR SGX 530

GL 扩展

  • GL_OES_rgb8_rgba8
  • GL_OES_depth24
  • GL_OES_vertex_half_float
  • GL_OES_texture_float
  • GL_OES_texture_half_float
  • GL_OES_element_index_uint
  • GL_OES_mapbuffer
  • GL_OES_fragment_precision_high
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_EGL_image
  • GL_OES_required_internalformat
  • GL_OES_depth_texture
  • GL_OES_get_program_binary
  • GL_OES_packed_depth_stencil
  • GL_OES_standard_derivatives
  • GL_EXT_multi_draw_arrays
  • GL_EXT_texture_format_BGRA8888
  • GL_EXT_discard_framebuffer
  • GL_IMG_shader_binary
  • GL_IMG_texture_compression_pvrtc
  • GL_IMG_texture_stream2
  • GL_IMG_texture_npot
  • GL_IMG_texture_format_BGRA8888
  • GL_IMG_read_format
  • GL_IMG_program_binary
  • GL_IMG_vertex_array_object
2021-10-08T05:10:19   回复
IT小君

HTC Hero (Android 1.5)上的 OpenGL ES 扩展

  • 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_pa​​letted_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
2021-10-08T05:10:19   回复
IT小君

运行 Android 1.6 的 Archos 5 互联网平板电脑:

GL_VERSION:

  • OpenGL ES-CM 1.0

GL_EXTENSIONS:

  • GL_OES_byte_coordinates
  • GL_OES_fixed_point
  • GL_OES_single_precision
  • GL_OES_read_format
  • GL_OES_compressed_pa​​letted_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

GL_渲染器:

  • 安卓 PixelFlinger 1.0

GL_供应商:

  • 安卓

GL_ALIASED_POINT_SIZE_RANGE:

  • 0, 134217727

GL_SMOOTH_POINT_SIZE_RANGE:

  • 0, 2048

猜猜这意味着没有 OpenGL 硬件加速。

2021-10-08T05:10:19   回复
IT小君

三星 Galaxy Tab 的 Gl 信息

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

三星 Nexus S 的 GL 信息

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

里程碑的GL信息

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

而对于 HTC 野火

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
2021-10-08T05:10:19   回复
IT小君

伟大的主动伙计!我认为将模拟器的规格也放在一起会很好。这是运行Android 2.1

  • GL_OES_byte_coordinates
  • GL_OES_fixed_point
  • GL_OES_single_precision
  • GL_OES_read_format
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_matrix_get
  • GL_OES_query_matrix
  • GL_OES_EGL_image
  • GL_ARB_texture_compression
  • GL_ARB_texture_non_power_of_two
  • GL_ANDROID_user_clip_plane
  • GL_ANDROID_vertex_buffer_object
  • GL_ANDROID_generate_mipmap
2021-10-08T05:10:20   回复
IT小君

这是带有 2.1 更新的索尼爱立信 Xperia X10 的输出。稍后我将添加运行 1.6 的同一部手机的规格。

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap
  • GL_OES_E - GL_image
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat
2021-10-08T05:10:20   回复
IT小君

这是来自 Sony Erocsson Xperia X10 和 Android 1.6(没有 2.1 更新)的输出:

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat
2021-10-08T05:10:20   回复
IT小君

三星 Galaxy S,安卓 2.1

安卓设备

  • 三星 / GT-I9000 / GT-I9000
  • 2.1-update1 / armeabi-v7a

OpenGL 版本

  • OpenGL ES-CM 1.1

OpenGL 供应商

  • 想象科技

OpenGL 渲染器

  • PowerVR SGX 540

OpenGL 扩展

  • 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_pa​​letted_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
2021-10-08T05:10:20   回复
IT小君

安卓设备

  • Xperia x10 / X10i
  • 2.1-update1 / armeabi-v7a

OpenGL 版本

  • OpenGL ES-CM 1.1

OpenGL 供应商

  • 高通

OpenGL 渲染器

  • 肾上腺素

GL 扩展

  • GL_AMD_compressed_3DC_texture
  • GL_AMD_compressed_ATC_texture
  • GL_ARB_texture_env_combine
  • 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_blend_subtract
  • GL_EXT_stencil_wrap
  • GL_OES_EGL_image
  • GL_OES_blend_equation_separate
  • GL_OES_blend_func_separate
  • GL_OES_blend_subtract
  • GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_compressed_pa​​letted_texture
  • GL_OES_draw_texture
  • GL_OES_extended_matrix_palette
  • GL_OES_framebuffer_object
  • GL_OES_matrix_palette
  • GL_OES_point_size_array
  • GL_OES_point_sprite
  • GL_OES_read_format
  • GL_OES_stencil_wrap
  • GL_OES_texture_cube_map
  • GL_OES_texture_env_crossbar
  • GL_OES_texture_mirrored_repeat

GL_OES_EGL_image 是更新 2.1 中的新内容(1.6 中不存在)

2021-10-08T05:10:20   回复
IT小君

这是我的 HTC Desire(T-mobile 品牌)的 glInfo 输出

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
2021-10-08T05:10:21   回复
IT小君

以下是三星 Galaxy SII的 GL 信息

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
2021-10-08T05:10:21   回复
IT小君

宏达动感

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: 
  • GL_AMD_compressed_ATC_texture
  • GL_AMD_performance_monitor
  • GL_AMD_program_binary_Z400
  • GL_EXT_texture_filter_anisotropic
  • GL_EXT_texture_format_BGRA8888
  • GL_EXT_texture_type_2_10_10_10_REV
  • GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture
  • GL_OES_depth_texture
  • GL_OES_depth24 GL_OES_EGL_image
  • GL_OES_EGL_image_external
  • GL_OES_element_index_uint
  • GL_OES_fbo_render_mipmap
  • GL_OES_fragment_precision_high
  • GL_OES_get_program_binary
  • GL_OES_packed_depth_stencil
  • GL_OES_rgb8_rgba8
  • GL_OES_standard_derivatives
  • GL_OES_texture_3D
  • GL_OES_texture_float
  • GL_OES_texture_half_float
  • GL_OES_texture_half_float_linear GL_OES_texture_npot
  • GL_OES_vertex_half_float
  • GL_OES_vertex_type_10_10_10_2
  • GL_QCOM_binning_control
  • GL_QCOM_driver_control
  • GL_QCOM_perfmon_global_mode
  • GL_QCOM_extended_get
  • GL_QCOM_extended_get2
  • GL_QCOM_tiled_rendering
  • GL_QCOM_writeonly_rendering
  • GL_QCOM_memory_monitor
  • GL_AMD_compressed_3DC_texture
2021-10-08T05:10:21   回复
IT小君

以下是运行更新 2.34 的索尼爱立信 Xperia Pro 的扩展:

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
2021-10-08T05:10:21   回复
IT小君

这是摩托罗拉 Cliq,运行 1.1 hack 在这里找到

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
2021-10-08T05:10:21   回复
IT小君

三星 Galaxy Nexus 的GL 信息

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
2021-10-08T05:10:22   回复
IT小君

华硕 Eee PAD Transformer Prime TF201

扩展:

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

刚从同事的桌子上拿起设备,快速读取扩展字符串,没有机会获得OpenGL版本(应该是“OpenGL ES 2.0”)和渲染器(应该是“NVIDIA Tegra 3”)。

2021-10-08T05:10:22   回复