Changeset 436 for branches/thune
- Timestamp:
- 07/25/07 22:34:46 (16 months ago)
- Location:
- branches/thune/thread_safe/gl
- Files:
-
- 6 modified
- 1 moved
-
boot.c (modified) (1 diff)
-
gx.t (modified) (1 diff)
-
gx_atoms.h (modified) (1 diff)
-
scripts/fbo.t (modified) (1 diff)
-
scripts/shadow.t (modified) (1 diff)
-
scripts/view.t (modified) (3 diffs)
-
testfw.t (moved) (moved from branches/thune/thread_safe/gl/test_fw.t) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/gl/boot.c
r420 r436 29 29 "]\n" 30 30 "context :widget-proto\n" 31 "script-env/os [\n" 32 " linux [$100 :mouse-lb\n" 33 " $200 :mouse-mb\n" 34 " $400 :mouse-rb]\n" 35 " [1 :mouse-lb\n" 36 " 2 :mouse-rb\n" 37 " 3 :mouse-mb]\n" 38 "] case\n" 31 39 "[\n" 32 40 " copy\n" -
branches/thune/thread_safe/gl/gx.t
r420 r436 68 68 context :hit-input 69 69 */ 70 71 72 script-env/os [ 73 linux [$100 :mouse-lb 74 $200 :mouse-mb 75 $400 :mouse-rb] 76 [1 :mouse-lb 77 2 :mouse-rb 78 3 :mouse-mb] 79 ] case 80 70 81 71 82 [ -
branches/thune/thread_safe/gl/gx_atoms.h
r427 r436 1 1 // This file is automatically generated - do not edit. 2 2 3 #define UR_ATOM_DRAW_LIST_OPCODES 31 74 #define UR_ATOM_WIDTH 3 185 #define UR_ATOM_HEIGHT 3 196 #define UR_ATOM_AREA 32 07 #define UR_ATOM_RECT 32 18 #define UR_ATOM_RASTER 32 29 #define UR_ATOM_TEXTURE 32 310 #define UR_ATOM_ELEM 32 411 #define UR_ATOM_CLOSE 17 712 #define UR_ATOM_FOCUS 32 513 #define UR_ATOM_RESIZE 32 614 #define UR_ATOM_KEY_DOWN 32 715 #define UR_ATOM_KEY_UP 3 2816 #define UR_ATOM_MOUSE_MOVE 3 2917 #define UR_ATOM_MOUSE_UP 33 018 #define UR_ATOM_MOUSE_DOWN 33 119 #define UR_ATOM_MOUSE_WHEEL 33 220 #define UR_ATOM_AMBIENT 33 321 #define UR_ATOM_DIFFUSE 33 422 #define UR_ATOM_SPECULAR 33 523 #define UR_ATOM_POS 33 624 #define UR_ATOM_SHADER 33 725 #define UR_ATOM_VERTEX 3 3826 #define UR_ATOM_FRAGMENT 3 3927 #define UR_ATOM_DEFAULT 34 028 #define UR_ATOM_WAIT 34 129 #define UR_ATOM_RGB 34 230 #define UR_ATOM_RGBA 34 331 #define UR_ATOM_DEPTH 34 432 #define UR_ATOM_CLAMP 34 533 #define UR_ATOM_REPEAT 34 634 #define UR_ATOM_NEAREST 34 735 #define UR_ATOM_LINEAR 3 4836 #define UR_ATOM_MIN 3 4937 #define UR_ATOM_MAG 35 038 #define UR_ATOM_MIPMAP 35 139 #define UR_ATOM_ON 25 640 #define UR_ATOM_OFF 2 5841 #define UR_ATOM_ADD 19 642 #define UR_ATOM_BURN 35 243 #define UR_ATOM_COLOR 35 344 #define UR_ATOM_TRANS 35 445 #define UR_ATOM_SPRITE 35 53 #define UR_ATOM_DRAW_LIST_OPCODES 319 4 #define UR_ATOM_WIDTH 320 5 #define UR_ATOM_HEIGHT 321 6 #define UR_ATOM_AREA 322 7 #define UR_ATOM_RECT 323 8 #define UR_ATOM_RASTER 324 9 #define UR_ATOM_TEXTURE 325 10 #define UR_ATOM_ELEM 326 11 #define UR_ATOM_CLOSE 179 12 #define UR_ATOM_FOCUS 327 13 #define UR_ATOM_RESIZE 328 14 #define UR_ATOM_KEY_DOWN 329 15 #define UR_ATOM_KEY_UP 330 16 #define UR_ATOM_MOUSE_MOVE 331 17 #define UR_ATOM_MOUSE_UP 332 18 #define UR_ATOM_MOUSE_DOWN 333 19 #define UR_ATOM_MOUSE_WHEEL 334 20 #define UR_ATOM_AMBIENT 335 21 #define UR_ATOM_DIFFUSE 336 22 #define UR_ATOM_SPECULAR 337 23 #define UR_ATOM_POS 338 24 #define UR_ATOM_SHADER 339 25 #define UR_ATOM_VERTEX 340 26 #define UR_ATOM_FRAGMENT 341 27 #define UR_ATOM_DEFAULT 342 28 #define UR_ATOM_WAIT 343 29 #define UR_ATOM_RGB 344 30 #define UR_ATOM_RGBA 345 31 #define UR_ATOM_DEPTH 346 32 #define UR_ATOM_CLAMP 347 33 #define UR_ATOM_REPEAT 348 34 #define UR_ATOM_NEAREST 349 35 #define UR_ATOM_LINEAR 350 36 #define UR_ATOM_MIN 351 37 #define UR_ATOM_MAG 352 38 #define UR_ATOM_MIPMAP 353 39 #define UR_ATOM_ON 258 40 #define UR_ATOM_OFF 260 41 #define UR_ATOM_ADD 198 42 #define UR_ATOM_BURN 354 43 #define UR_ATOM_COLOR 355 44 #define UR_ATOM_TRANS 356 45 #define UR_ATOM_SPRITE 357 -
branches/thune/thread_safe/gl/scripts/fbo.t
r347 r436 1 1 ; Thune GL Framebuffer Object Test 2 2 3 4 "test_fw.t" load do5 3 6 4 128,128 :fb-size -
branches/thune/thread_safe/gl/scripts/shadow.t
r348 r436 1 1 ; Shadowmap Test 2 3 4 "test_fw.t" load do5 2 6 3 -
branches/thune/thread_safe/gl/scripts/view.t
r423 r436 1 1 ; Thune GL View 2 2 3 < 4 "test_fw.t" load do 5 "scripts/stars.t" load do 6 > 3 <"scripts/stars.t" load do> 7 4 8 5 0.6 :zoom 9 10,0,10 :bg-color6 10,0,10 'bg-color set 10 7 ;off key-repeat 11 8 0.0,0 :win-size … … 176 173 now start-time sub :flare-sh/time 177 174 ] 178 proc :sim-update175 proc 'sim-update set 179 176 180 177 … … 231 228 ] 232 229 f1 [help none help-dl either :help] 230 f9 ['reload throw] 233 231 f10 [display.snapshot "snapshot.png" save.png] 234 232 ] -
branches/thune/thread_safe/gl/testfw.t
r423 r436 1 1 ; Thune GL Test Harness 2 2 3 script-env/os [ 4 linux [$100 :mouse-lb 5 $200 :mouse-mb 6 $400 :mouse-rb] 7 [1 :mouse-lb 8 2 :mouse-rb 9 3 :mouse-mb] 10 ] case 3 4 args empty? ift ("Specify script to run" print) 5 args/1 full-path :script-file 11 6 12 7 … … 62 57 63 58 [] proc :sim-update 59 1.0 :zoom 60 0,0,155 :bg-color 64 61 65 0,0,155 :bg-color 62 63 [ 64 [ 65 recycle 66 script-file load context drop 67 ] 68 [dup 'reload if/eq (drop recurse)] try 69 ] 70 proc :run-script ; ( -- ) 71 66 72 67 73 [wid] 68 74 [ 69 recycle75 ;recycle 70 76 bg-color display.swap 71 77 [ … … 82 88 83 89 84 1.0 :zoom85 86 90 [dlist] 87 91 [ … … 89 93 key-down [ 90 94 esc [quit] 95 f9 ['reload throw] 91 96 f10 [display.snapshot "snapshot.png" save.png] 92 97 ] … … 118 123 119 124 125 run-script 126 127 120 128 ;eof
