[RFE] OpenGL ES 2.0 sgx-omap4 Driver: 1.7.9.0.1.5-1 No LWJGL support for ext...

Started by xranby, October 14, 2011, 12:58:29

Previous topic - Next topic

xranby

Hi, todays niceness LWJGL do work on the Ti Pandaboard running Ubuntu Oneiric 11.10  :D
http://openjdk.gudinna.com/lwjgl-es/pandaboard-LWJGL.png

Attached output when running the org.lwjgl.test.opengles.* tests in debug mode on the pandabord.

sgx-omap4: Driver version : 1.7.9.0.1.5-1

java -Dorg.lwjgl.util.Debug=true -cp libs/lwjgles_test.jar:libs/lwjgles.jar:libs/lwjgl_util.jar -Djava.library.path=bin/lwjgles org.lwjgl.test.opengles.FullScreenWindowedTest
Change between fullscreen and windowed mode, by pressing F and W respectively
Move quad using arrowkeys, and change rotation using +/-
PVR:(Warning): InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER [778, /eglglue.c]


java -Dorg.lwjgl.util.Debug=true -cp libs/lwjgles_test.jar:libs/lwjgles.jar:libs/lwjgl_util.jar -Djava.library.path=bin/lwjgles org.lwjgl.test.opengles.MappedIndexedVBOTest
Setting display mode to 640 x 480 x 24 @60Hz
Created display.
PVR:(Warning): InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER [778, /eglglue.c]
Created OpenGL.
Timer resolution: 1000
Mouse moved 0 4 0
Mouse moved 0 0 0
Button 0 down
Button 0 down
Button 0 down
Mouse moved 0 24 0
Mouse moved 0 44 0
Mouse moved 0 155 0
Mouse moved 0 2 0
Mouse moved 0 0 0
Mouse moved 0 38 0
Mouse moved 0 40 0
Mouse moved 0 0 0
Mouse moved 0 35 0
Mouse moved 0 0 0


java -Dorg.lwjgl.util.Debug=true -cp libs/lwjgles_test.jar:libs/lwjgles.jar:libs/lwjgl_util.jar -Djava.library.path=bin/lwjgles org.lwjgl.test.opengles.Gears
PVR:(Warning): InitContext: ignoring buffer type CBUF_TYPE_PDS_VERT_SECONDARY_PREGEN_BUFFER [778, /eglglue.c]

GL RENDERER: PowerVR SGX 540
GL VENDOR: Imagination Technologies
GL VERSION: OpenGL ES 2.0 build 1.7@276259
GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 1.00 build 1.7@276259
GL_EXTENSIONS = 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_OES_vertex_array_object GL_OES_egl_sync GL_EXT_multi_draw_arrays GL_EXT_texture_format_BGRA8888 GL_EXT_discard_framebuffer GL_EXT_shader_texture_lod 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_multisampled_render_to_texture

GL_AMD_compressed_3DC_texture - false
GL_AMD_compressed_ATC_texture - false
GL_AMD_performance_monitor - false
GL_AMD_program_binary_Z400 - false
GL_ANGLE_framebuffer_blit - false
GL_ANGLE_framebuffer_multisample - false
GL_APPLE_framebuffer_multisample - false
GL_APPLE_rgb_422 - false
GL_APPLE_texture_format_BGRA8888 - false
GL_APPLE_texture_max_level - false
GL_ARB_draw_buffers - false
GL_ARB_half_float_pixel - false
GL_ARB_texture_rectangle - false
GL_ARM_mali_shader_binary - false
GL_ARM_rgba8 - false
GL_DMP_shader_binary - false
GL_EXT_Cg_shader - false
GL_EXT_bgra - false
GL_EXT_blend_minmax - false
GL_EXT_discard_framebuffer - true
GL_EXT_frag_depth - false
GL_EXT_multi_draw_arrays - true
GL_EXT_packed_float - false
GL_EXT_read_format_bgra - false
GL_EXT_shader_texture_lod - true
GL_EXT_texture_array - false
GL_EXT_texture_compression_dxt1 - false
GL_EXT_texture_compression_latc - false
GL_EXT_texture_compression_s3tc - false
GL_EXT_texture_filter_anisotropic - false
GL_EXT_texture_format_BGRA8888 - true
GL_EXT_texture_lod_bias - false
GL_EXT_texture_type_2_10_10_10_REV - false
GL_EXT_unpack_subimage - false
GL_IMG_multisamples_render_to_texture - false
GL_IMG_program_binary - true
GL_IMG_shader_binary - true
GL_IMG_texture_compression_pvrtc - true
GL_NV_coverage_sample - false
GL_NV_depth_nonlinear - false
GL_NV_draw_buffers - false
GL_NV_draw_path - false
GL_NV_fbo_color_attachments - false
GL_NV_fence - false
GL_NV_framebuffer_vertex_attrib_array - false
GL_NV_get_tex_image - false
GL_NV_platform_binary - false
GL_NV_read_buffer - false
GL_NV_read_depth_stencil - false
GL_NV_shader_framebuffer_fetch - false
GL_NV_system_time - false
GL_NV_texture_compression_s3tc_update - false
GL_NV_texture_npot_2D_mipmap - false
GL_OES_EGL_image - true
GL_OES_EGL_image_external - false
GL_OES_EGL_sync - false
GL_OES_blend_equation_separate - false
GL_OES_blend_func_separate - false
GL_OES_blend_subtract - false
GL_OES_compressed_ETC1_RGB8_texture - true
GL_OES_compressed_paletted_texture - false
GL_OES_depth24 - true
GL_OES_depth32 - false
GL_OES_depth_texture - true
GL_OES_element_index_uint - true
GL_OES_fbo_render_mipmap - false
GL_OES_framebuffer_object - false
GL_OES_get_program_binary - true
GL_OES_mapbuffer - true
GL_OES_packed_depth_stencil - true
GL_OES_rgb8_rgba8 - true
GL_OES_standard_derivatives - true
GL_OES_stencil1 - false
GL_OES_stencil4 - false
GL_OES_stencil8 - false
GL_OES_texture_3D - false
GL_OES_texture_float - true
GL_OES_texture_float_linear - false
GL_OES_texture_half_float - true
GL_OES_texture_half_float_linear - false
GL_OES_texture_npot - false
GL_OES_vertex_array_object - true
GL_OES_vertex_half_float - true
GL_OES_vertex_type_10_10_10_2 - false
GL_QCOM_driver_control - false
GL_QCOM_extended_get - false
GL_QCOM_extended_get2 - false
GL_QCOM_performance_monitor_global_mode - false
GL_QCOM_tiled_rendering - false
GL_QCOM_writeonly_rendering - false
GL_VIV_shader_binary - false

-- No LWJGL support for extension: GL_OES_fragment_precision_high
-- No LWJGL support for extension: GL_OES_required_internalformat
-- No LWJGL support for extension: GL_OES_egl_sync
-- No LWJGL support for extension: GL_IMG_texture_stream2
-- No LWJGL support for extension: GL_IMG_texture_npot
-- No LWJGL support for extension: GL_IMG_texture_format_BGRA8888
-- No LWJGL support for extension: GL_IMG_read_format
-- No LWJGL support for extension: GL_IMG_multisampled_render_to_texture
654 frames in 4.995 seconds = 130.93094
659 frames in 5.0 seconds = 131.8
664 frames in 4.996 seconds = 132.90633
652 frames in 4.994 seconds = 130.55667

spasi

GL_OES_fragment_precision_high: Has been withdrawn.
GL_OES_egl_sync: The official extension name is OES_EGL_sync, added an alias.
GL_IMG_read_format: Added.
GL_IMG_multisampled_render_to_texture: There was a typo in the extension name, fixed.

The following do not exist in the official GLES registry, let me know if you find any specs:

GL_OES_required_internalformat
GL_IMG_texture_stream2
GL_IMG_texture_npot
GL_IMG_texture_format_BGRA8888

xranby

Quote from: spasi on October 14, 2011, 15:00:21
The following do not exist in the official GLES registry, let me know if you find any specs:

GL_OES_required_internalformat
GL_IMG_texture_stream2
GL_IMG_texture_npot
GL_IMG_texture_format_BGRA8888


I have asked around, and the documentation for these extensions are unfortunately not available:
(15.36.27) robclark: xranby, this is the answer I got re: GL extensions:
(15.36.28) robclark: As a rule of thumb if they are not listed in the registry at the Khronos
(15.36.29) robclark: site then IMG is not making then publically available anywhere else.
(15.36.29) robclark: http://www.khronos.org/registry/gles/

I have found some examples for the GL_IMG_* extensions:

You can find an example for GL_IMG_texture_stream2 use in the file bc-cat-0.2.0/test/common.c
(15.42.36) robclark: fyi xranby, http://software-dl.ti.com/dsps/dsps_public_sw/apps_processors/OMAP35x_AM35x_Video_Texture_Streaming/1_0/index_FDS.html
(15.42.44) robclark: some example of one of those extensions

"It’s possible to use GL_IMG_TEXTURE_NPOT extension as a fall-back for the functionally equivalent GL_OES_TEXTURE_NPOT one."
http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?cntsId=9992&platformId=1

"GL_IMG_texture_format_BGRA8888 defines a new token, GL_BGRA, as 0x80E1. (That's the same value as in GL_EXT_bgra, btw). This token can be used as <internalformat> and <format> argument to glTexImage2D/glTexSubImage2D in combination with GL_UNSIGNED_BYTE. "
http://www.khronos.org/message_boards/viewtopic.php?t=847