DiscussionsIssue archiveOCCT:Visualization

Archived issue #0025483

Visualization, TKOpenGl - fix memory leak due to unused stack in OpenGl_StateInterface

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

OpenGl_StateInterface::Revert() is no more called after matrices redesign #0024381 leading to infinite memory growth on each redraw call with GLSL programs in use.

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Fri Nov 14 17:24:56 2014 +0300

    0025483: Visualization, TKOpenGl - fix memory leak due to unused stack in OpenGl_StateInterface
02Author
Patch is ready for review in branch CR25483.
03Commenter 3
Dear Commenter 1,

Patch is ready for testing.
04Commenter 4
Dear Commenter 1,
Branch CR25483 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: 18 (18 on master)
Windows: 1 (1 on master)

products component :
Linux: 11 (11 on master)
Windows: 0 (0 on master)

Regressions/Differences:
No regressions/differences

Testing cases:
Not needed

Testing on Linux:
occt component :
Total MEMORY difference: 358894184 / 358093264
Total CPU difference: 47402.15999999988 / 47953.899999999994
products component :
Total MEMORY difference: 112287484 / 112086476
Total CPU difference: 16468.869999999977 / 17478.10999999997

Testing on Windows:
occt component :
Total MEMORY difference: 273033916 / 272544120
Total CPU difference: 37536.46875 / 36968.953125
products component :
Total MEMORY difference: 72218172 / 71070524
Total CPU difference: 11293.21875 / 11430.265625

There are no differences in images found by testdiff.
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records