MantisBT - Open CASCADE
View Issue Details
0028098Open CASCADE[OCCT] OCCT:Visualizationpublic2016-11-13 19:052020-05-22 22:47
[OCCT] 7.5.0* 
0028098: Visualization - errors in tests when using OpenGL ES (ANGLE)
When building OCCT in GLES mode (HAVE_GLES2=true) using ANGLE libraries, about 80 tests fail. Here is a list of different problems observed:

1. Export to vector formats (PDF, SVG etc.) GL2PS does not work (as expected?)

test 3rdparty export *
test bugs vis bug21091_*
test bugs vis bug22796_3

2. Command vboundings does not draw a box [0029823 should fix the issue]

teat bugs demo bug24873_1

3. Exception Aspect_GraphicDeviceDefinitionError: OpenGl_Window, EGL is unable to create surface for window!

test bugs vis bug280_2
test bugs vis bug280_3
test bugs vis bug349
test bugs vis bug349_1

4. Error: Mipmap NPOT Textures (500x205) are not supported by OpenGL ES 2.0

test bugs vis bug1188
test bugs vis bug24376
test bugs vis bug24622
test bugs vis bug25544_graytexture

5. Line styles (width, dashing) are not applied

test bugs vis bug10781
test bugs vis bug22016
test bugs vis bug23407_2
test bugs vis bug23709_* (note that tests _3 and _4 are insensitive)
test bugs vis bug26945

6. Problems with text rendering (subtitle and blend modes)

test bugs vis bug22879

7. Userdraw objects do not work (apparently this is expected)

test bugs vis bug23067

8. Division by zero in vsetbg -tiled

test bugs vis bug23102
test bugs vis bug25475

9. vfeedback command is unsupported on current platform.

test bugs vis bug23227

10. vdump or vreadpixel failure: warning on usage of on-screen buffer + Unhandled GL error: GL_INVALID_OPERATION

test bugs vis bug23747_2
test bugs vis bug24728
test bugs vis bug25611_1
test bugs vis bug25611_2
test demo samples dimensions
test demo samples penrose
test v3d glsl distinguish_off
test v3d glsl stipple_line
test v3d glsl texture_trsf

11. Markers do not work

test bugs vis bug24131_markers_bitmap
test bugs vis bug24131_markers_sprites

12. Ray tracing is not supported

test bugs vis bug26404
test bugs vis bug26676
test bugs vis bug26975
test bugs vis bug27083
test bugs vis bug27337
test demo samples raytrace
test v3d glsl msaa
test v3d glsl tiles
test v3d materials bug24855
test v3d materials bug24872_2
test v3d raytrace *
No tags attached.
related to 0024838closed bugmaster Visualization, TKOpenGl - make general rendering path compatible with OpenGL 3.1+ core profiles 
related to 0029823closed bugmaster Visualization, TKOpenGl - highlighting by Bounding Box mistreats Local Transformation 
related to 0031478verified bugmaster Visualization, TKOpenGl - allow uploading Cubemap in compressed DDS format when supported by GPU 
related to 0028095closed apn Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel 
related to 0028099closed apn Visualization, OpenGl_Text - handle DIMENSION and SUBTITLE styles within Core Profile 
related to 0029514closed bugmaster Configuration, CMake - OpenGL ES should be available for Linux 
related to 0030745closed bugmaster Visualization, TKOpenGl - fix initialization of GLES3 context 
related to 0030746assigned bugmaster Jenkins - USE_GLES2 has no effect on Windows builds 
Issue History
2016-11-13 19:05abvNew Issue
2016-11-13 19:05abvAssigned To => kgv
2016-11-13 22:31abvNote Added: 0060267
2016-11-13 23:28kgvRelationship addedrelated to 0024838
2016-11-14 10:17kgvRelationship addedrelated to 0028095
2016-11-14 13:46kgvRelationship addedrelated to 0028099
2017-07-20 10:58kgvTarget Version7.2.0 => 7.4.0
2018-02-15 12:00gitNote Added: 0074000
2018-02-16 16:53kgvRelationship addedrelated to 0029514
2018-10-01 07:34kgvRelationship addedrelated to 0029823
2018-10-01 07:35kgvDescription Updatedbug_revision_view_page.php?rev_id=20010#r20010
2019-05-25 19:02kgvRelationship addedrelated to 0030745
2019-05-27 13:54kgvRelationship addedrelated to 0030746
2019-07-08 15:47gitNote Added: 0085495
2019-07-09 18:01gitNote Added: 0085528
2019-07-09 18:34gitNote Added: 0085530
2019-07-09 18:39gitNote Added: 0085531
2019-07-09 19:45gitNote Added: 0085536
2019-07-10 11:14gitNote Added: 0085547
2019-07-10 13:03gitNote Added: 0085552
2019-07-10 13:05gitNote Added: 0085553
2019-07-10 14:19gitNote Added: 0085558
2019-07-10 14:20apnNote Deleted: 0085495
2019-07-10 14:20apnNote Deleted: 0085528
2019-07-10 14:20apnNote Deleted: 0085530
2019-07-10 14:21apnNote Deleted: 0085531
2019-07-10 14:21apnNote Deleted: 0085536
2019-07-10 14:21apnNote Deleted: 0085547
2019-07-10 14:21apnNote Deleted: 0085552
2019-07-10 14:21apnNote Deleted: 0085553
2019-07-10 15:54gitNote Added: 0085559
2019-07-10 15:55gitNote Added: 0085560
2019-07-15 20:56gitNote Added: 0085652
2019-07-15 20:58gitNote Added: 0085654
2019-07-15 22:41apnNote Deleted: 0085652
2019-07-15 22:41apnNote Deleted: 0085654
2019-09-04 15:54abvTarget Version7.4.0 => 7.5.0*
2020-05-22 22:47kgvRelationship addedrelated to 0031478

2016-11-13 22:31   
In addition, there are diffs in images on tests:

test bugs vis buc60738,bug6897_1 (with ANGLE, shape is shown with constant green color)

test bugs vis bug23226 (left 8 ">"s are not shown)

test bugs vis bug23363 (cylinder is shown shaded)

test bugs vis bug23747_1,bug26434 (no environment mapping)

test bugs vis bug23804,bug23813,bug24224,bug24725,bug24930,bug25369,bug26434,bug5988,bug9517 (no textures)

test bugs vis bug24131_markers_core (no markers in master version - !!!)

test bugs vis bug27624 (no background of text)

test demo samples dimensionsglsl (no dashing on capping)
2018-02-15 12:00   
Branch CR28098 has been created by kgv.

SHA-1: f0cf6ecca4da61af3005baaa2cc5a334cc0b3348

Detailed log of new commits:

Author: kgv
Date: Thu Feb 15 12:00:46 2018 +0300

    0028098: Visualization - errors in tests when using OpenGL ES (ANGLE)
    force GLES on Linux platform
2019-07-10 14:19   
Branch CR28098 has been updated forcibly by oan.

SHA-1: f0cf6ecca4da61af3005baaa2cc5a334cc0b3348
2019-07-10 15:54   
Branch CR28098_2 has been deleted by kgv.

SHA-1: 057d4b15e3c539cc52e6381f2b61e0d23985e4a0
2019-07-10 15:55   
Branch CR28098_1 has been deleted by kgv.

SHA-1: 76fe19d805a951ab93f0e2e81a17ece9ba02b5ed