Archived issue #0028099
Visualization, OpenGl_Text - handle DIMENSION and SUBTITLE styles within Core Profile
Description
Current implementation of OpenGl_Text ignores text styles Aspect_TODT_SUBTITLE and Aspect_TODT_DIMENSION within OpenGL Core Profile and OpenGL ES producing unexpected results. This should be fixed.
Steps to reproduce
Original test cases, text styles:
Dimension style (for cutting dimension line under text by stencil test):
pload VISUALIZATION vcaps -core test 3rdparty fonts A7 1
Dimension style (for cutting dimension line under text by stencil test):
pload VISUALIZATION vcaps -core test bugs vis bug24133_1 1
Public activity
7 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Nov 14 13:14:04 2016 +0300
0028099: Visualization, OpenGl_Text - handle DIMENSION and SUBTITLE styles within Core Profile
OpenGl_Text now creates VBO for drawing background rectangle.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Nov 14 13:14:04 2016 +0300
0028099: Visualization, OpenGl_Text - handle DIMENSION and SUBTITLE styles within Core Profile
OpenGl_Text now creates VBO for drawing background rectangle.
Patch is ready for review.
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch CR28099 reviewed without remarks, ready for testing.
Dear Commenter 2,
Branch CR28099 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
products component :
Linux: 63 (63 on master)
Windows: 0 (0 on master)
MacOS : 1121
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
http://occt-tests/CR28099-master-OCCT/Debian70-64/bugs/vis/bug28099_text_core.html
http://occt-tests/CR28099-master-OCCT/Windows-64-VC10/bugs/vis/bug28099_text_core.html
bugs vis bug28099_text_core: OK
Testing on Linux:
occt component :
Total MEMORY difference: 91028943 / 91871153 [-0.92%]
Total CPU difference: 21738.00000000024 / 21600.84000000031 [+0.63%]
products component :
Total MEMORY difference: 29976317 / 29934528 [+0.14%]
Total CPU difference: 5310.009999999964 / 5309.129999999963 [+0.02%]
Testing on Windows:
occt component :
Total MEMORY difference: 56589009 / 56597852 [-0.02%]
Total CPU difference: 20232.456094398414 / 19669.510885798518 [+2.86%]
products component :
Total MEMORY difference: 20822564 / 20790286 [+0.16%]
Total CPU difference: 5271.944594299979 / 5153.477434899959 [+2.30%]
There are no differences in images found by testdiff.
Branch CR28099 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
products component :
Linux: 63 (63 on master)
Windows: 0 (0 on master)
MacOS : 1121
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
http://occt-tests/CR28099-master-OCCT/Debian70-64/bugs/vis/bug28099_text_core.html
http://occt-tests/CR28099-master-OCCT/Windows-64-VC10/bugs/vis/bug28099_text_core.html
bugs vis bug28099_text_core: OK
Testing on Linux:
occt component :
Total MEMORY difference: 91028943 / 91871153 [-0.92%]
Total CPU difference: 21738.00000000024 / 21600.84000000031 [+0.63%]
products component :
Total MEMORY difference: 29976317 / 29934528 [+0.14%]
Total CPU difference: 5310.009999999964 / 5309.129999999963 [+0.02%]
Testing on Windows:
occt component :
Total MEMORY difference: 56589009 / 56597852 [-0.02%]
Total CPU difference: 20232.456094398414 / 19669.510885798518 [+2.86%]
products component :
Total MEMORY difference: 20822564 / 20790286 [+0.16%]
Total CPU difference: 5271.944594299979 / 5153.477434899959 [+2.30%]
There are no differences in images found by testdiff.
Dear Commenter 2,
Branch CR28099 is TESTED.
Branch CR28099 is TESTED.
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records
- #0028098 · related to · closedVisualization - errors in tests when using OpenGL ES (ANGLE)
- #0029125 · parent of · closedVisualization, OpenGl_Text - fix access violation within OpenGL1.1 context
- #0024838 · child of · closedVisualization, TKOpenGl - make general rendering path compatible with OpenGL 3.1+ core profiles