Changeset 390 for branches/thune/thread_safe/gl/gx_dt.c
- Timestamp:
- 05/17/07 18:27:45 (18 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/gl/gx_dt.c (modified) (19 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/gl/gx_dt.c
r360 r390 38 38 39 39 40 static void toStr_dlist( const UCell* cell, UString* out, int depth ) 41 { 40 static void toStr_dlist( UThread* ut, const UCell* cell, UString* out, 41 int depth ) 42 { 43 (void) ut; 42 44 (void) cell; 43 45 (void) depth; … … 73 75 \return Binary index and initialied res. If binp is non-zero, it is set. 74 76 */ 75 UIndex ur_makeRaster( UCell* res, int format, int w, int h, UBinary** binp ) 77 UIndex ur_makeRaster( UThread* ut, UCell* res, 78 int format, int w, int h, UBinary** binp ) 76 79 { 77 80 UIndex binN; … … 122 125 } 123 126 124 ur_makeRaster( res, format,127 ur_makeRaster( ut, res, format, 125 128 tos->coord.elem[0], tos->coord.elem[1], 0 ); 126 129 … … 148 151 149 152 150 static void toStr_raster( const UCell* cell, UString* out, int depth ) 153 static void toStr_raster( UThread* ut, const UCell* cell, UString* out, 154 int depth ) 151 155 { 152 156 int uformat; … … 178 182 179 183 180 static int select_raster( UThread* u r_thread, UCell* val, const UCell* sel,184 static int select_raster( UThread* ut, UCell* val, const UCell* sel, 181 185 UCell* res ) 182 186 { … … 350 354 { 351 355 case UT_WORD: 352 val = ur_wordCell( u r_thread, it );356 val = ur_wordCell( ut, it ); 353 357 if( ! val ) 354 358 return; … … 461 465 462 466 463 static void toStr_texture( const UCell* cell, UString* out, int depth ) 464 { 467 static void toStr_texture( UThread* ut, const UCell* cell, UString* out, 468 int depth ) 469 { 470 (void) ut; 465 471 (void) cell; 466 472 (void) depth; … … 469 475 470 476 471 static int select_texture( UThread* u r_thread, UCell* val, const UCell* sel,477 static int select_texture( UThread* ut, UCell* val, const UCell* sel, 472 478 UCell* res ) 473 479 { … … 488 494 } 489 495 if( ri ) 490 return select_raster( u r_thread, val, sel, res );496 return select_raster( ut, val, sel, res ); 491 497 return 0; 492 498 } … … 549 555 case UT_SLICE: 550 556 if( cfg.fontFile ) 551 cfg.glyphs = ur_cstring( it );557 cfg.glyphs = ur_cstring( ut, it ); 552 558 else 553 cfg.fontFile = ur_cstring( it );559 cfg.fontFile = ur_cstring( ut, it ); 554 560 break; 555 561 … … 572 578 } 573 579 574 if( ! ur_makeRFont( u r_thread, res, &cfg ) )580 if( ! ur_makeRFont( ut, res, &cfg ) ) 575 581 return; 576 582 … … 583 589 584 590 585 static void toStr_rfont( const UCell* cell, UString* out, int depth ) 586 { 591 static void toStr_rfont( UThread* ut, const UCell* cell, UString* out, 592 int depth ) 593 { 594 (void) ut; 587 595 (void) cell; 588 596 (void) depth; … … 591 599 592 600 593 static int select_rfont( UThread* u r_thread, UCell* val, const UCell* sel,601 static int select_rfont( UThread* ut, UCell* val, const UCell* sel, 594 602 UCell* res ) 595 603 { … … 667 675 case UT_SLICE: 668 676 if( cmd == UR_ATOM_VERTEX ) 669 vprog = ur_cstring( it );677 vprog = ur_cstring( ut, it ); 670 678 else if( cmd == UR_ATOM_FRAGMENT ) 671 fprog = ur_cstring( it );679 fprog = ur_cstring( ut, it ); 672 680 break; 673 681 … … 682 690 if( vprog && fprog ) 683 691 { 684 if( ! makeShader( u r_thread, res, vprog, fprog ) )692 if( ! makeShader( ut, res, vprog, fprog ) ) 685 693 return; 686 694 … … 711 719 712 720 713 static void toStr_shader( const UCell* cell, UString* out, int depth ) 714 { 721 static void toStr_shader( UThread* ut, const UCell* cell, UString* out, 722 int depth ) 723 { 724 (void) ut; 715 725 (void) cell; 716 726 (void) depth; … … 856 866 857 867 858 static void toStr_fbo( const UCell* cell, UString* out, int depth ) 859 { 868 static void toStr_fbo( UThread* ut, const UCell* cell, UString* out, int depth ) 869 { 870 (void) ut; 860 871 (void) cell; 861 872 (void) depth; … … 864 875 865 876 866 static int select_fbo( UThread* u r_thread, UCell* val, const UCell* sel,877 static int select_fbo( UThread* ut, UCell* val, const UCell* sel, 867 878 UCell* res ) 868 879 { … … 910 921 911 922 912 static int select_nop( UThread* u r_thread, UCell* val, const UCell* sel,923 static int select_nop( UThread* ut, UCell* val, const UCell* sel, 913 924 UCell* res ) 914 925 {
