Changeset 52328 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack
- Timestamp:
- Aug 8, 2014 6:32:29 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.3 merged: 95367
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.3/src/VBox merged: 95367
- Property svn:mergeinfo changed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r52260 r52328 530 530 } 531 531 crPackChromiumParameteriCR(target, value); 532 } 533 534 GLenum PACKSPU_APIENTRY packspu_GetError( void ) 535 { 536 GET_THREAD(thread); 537 int writeback = 1; 538 GLenum return_val = (GLenum) 0; 539 CRContext *pCurState = crStateGetCurrent(); 540 541 if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network)) 542 { 543 crError( "packspu_GetError doesn't work when there's no actual network involved!\nTry using the simplequery SPU in your chain!" ); 544 } 545 if (pack_spu.swap) 546 { 547 crPackGetErrorSWAP( &return_val, &writeback ); 548 } 549 else 550 { 551 crPackGetError( &return_val, &writeback ); 552 } 553 554 #ifdef DEBUG_misha 555 if (pCurState->lists.currentIndex) 556 { 557 WARN(("GetError called in DisplayList")); 558 } 559 #endif 560 561 if (!pCurState->lists.currentIndex || !(g_u32VBoxHostCaps & CR_VBOX_CAP_CMDBLOCKS)) 562 { 563 packspuFlush( (void *) thread ); 564 CRPACKSPU_WRITEBACK_WAIT(thread, writeback); 565 if (pack_spu.swap) 566 { 567 return_val = (GLenum) SWAP32(return_val); 568 } 569 } 570 else 571 { 572 return_val = GL_NO_ERROR; 573 } 574 575 return return_val; 532 576 } 533 577 -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_special
r52260 r52328 136 136 NewList 137 137 EndList 138 GetError
Note:
See TracChangeset
for help on using the changeset viewer.