mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
0029996: Porting to VC 2017: memory leak reported in visualisation
Tests for memory leaks on display / erase cycles are performed with VBO disabled to avoid false memory leaks reported on NVidia graphics
This commit is contained in:
parent
2a33274558
commit
3bb61eb0fe
@ -1,13 +1,13 @@
|
||||
puts "TODO OCC29996 Windows: Checking trend failed"
|
||||
puts "TODO OCC29996 Windows: Tcl Exception: Memory leak detected"
|
||||
puts "TODO OCC29996 Windows: TEST INCOMPLETE"
|
||||
|
||||
puts "========"
|
||||
puts "OCC172"
|
||||
puts "========"
|
||||
|
||||
pload XDE
|
||||
|
||||
# disable VBO to avoid false memory leaks reported
|
||||
# on NVidia graphics, see issue #29996
|
||||
vcaps -vbo 0
|
||||
|
||||
vinit
|
||||
restore [locate_data_file OCC162.brep] s
|
||||
vdisplay s
|
||||
@ -23,5 +23,3 @@ for {set i 1} {${i} <= ${i_max}} {incr i} {
|
||||
lappend listmem [meminfo h]
|
||||
checktrend $listmem 0 1 "Memory leak detected"
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,13 +2,14 @@ puts "========"
|
||||
puts "OCC79"
|
||||
puts "========"
|
||||
|
||||
# disable VBO to avoid false memory leaks reported
|
||||
# on NVidia graphics, see issue #29996
|
||||
vcaps -vbo 0
|
||||
|
||||
vinit
|
||||
restore [locate_data_file OCC162.brep] s
|
||||
vdisplay s
|
||||
|
||||
verase s
|
||||
vdisplay s
|
||||
|
||||
set listmem {}
|
||||
set i_max 10
|
||||
for {set i 1} {${i} <= ${i_max}} {incr i} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user