File: glinfo

package info (click to toggle)
opencascade 7.8.1%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 293,924 kB
  • sloc: cpp: 1,249,635; tcl: 15,974; cs: 5,173; java: 1,554; sh: 1,354; ansic: 821; xml: 737; makefile: 30; javascript: 22
file content (46 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
puts "============"
puts "Print OpenGL info"
puts "============"
puts ""

set to_dump_screen 0
pload VISUALIZATION
vclose ALL 0

puts "=== Create compatible profile ==="
vgldebug 0
vcaps -core 0 -maxVersion -1 -1 -softMode 0
vinit g1/v/info
vglinfo -complete -lineWidth 80
vclose ALL 0

puts "=== Create core profile ==="
vgldebug 0
vcaps -core 1 -maxVersion -1 -1 -softMode 0
vinit g1/v/info
vglinfo -complete -lineWidth 80
vclose ALL 0

puts "=== Create version-restricted profile ==="
vgldebug 0
vcaps -core 0 -maxVersion 2 1 -softMode 0
vinit g1/v/info
vglinfo -complete -lineWidth 80
vclose ALL 0

puts "=== Create software emulated profile ==="
vgldebug 0
vcaps -core 0 -maxVersion -1 -1 -softMode 1
vinit g1/v/info
vglinfo -complete -lineWidth 80
vclose ALL 0

puts "=== Create debug profile ==="
vgldebug 1
vcaps -core 0 -maxVersion -1 -1 -softMode 0
vinit g1/v/info
vglinfo -complete -lineWidth 80
vclose ALL 0

vgldebug 0
vcaps -core 0 -maxVersion -1 -1 -softMode 0