DiscussionsIssue archiveOCCT:Visualization

Archived issue #0028099

Visualization, OpenGl_Text - handle DIMENSION and SUBTITLE styles within Core Profile

Open CASCADEOCCT:Visualizationclosed7 public notes

Search issues

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:
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.

01Commenter 3
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.
02Author
Patch is ready for review.
03Commenter 3
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 4
Branch CR28099 reviewed without remarks, ready for testing.
05Commenter 5
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.
06Commenter 6
Dear Commenter 2,
Branch CR28099 is TESTED.
07Commenter 3
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records