mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 13:48:57 +08:00
Added TKOpenGlTest and TKD3DHostTest Draw Harness plugins. TKOpenGlTest is automatically loaded by ViewerTest::ViewerInit(). Commands vgldebug, vvbo, vcaps and vuserdraw have been moved to TKOpenGlTest. New command vglshaders lists GLSL programs defined by OpenGl_GraphicDriver, previously implemented by "vshaderprog -list". Added new command vdriver for graphic driver selection. Removed erroneous code from command vstereo.
24 lines
433 B
Plaintext
24 lines
433 B
Plaintext
puts "========"
|
|
puts "OCC79"
|
|
puts "========"
|
|
|
|
pload VISUALIZATION
|
|
|
|
# disable VBO to avoid false memory leaks reported on NVIDIA graphics, see issue #29996
|
|
pload OPENGL
|
|
vcaps -vbo 0
|
|
|
|
vinit View1
|
|
restore [locate_data_file OCC162.brep] s
|
|
vdisplay s
|
|
|
|
set listmem {}
|
|
set i_max 10
|
|
for {set i 1} {${i} <= ${i_max}} {incr i} {
|
|
verase s
|
|
vdisplay s
|
|
|
|
lappend listmem [meminfo h]
|
|
checktrend $listmem 0 1 "Memory leak detected"
|
|
}
|