VirtualBox

Ignore:
Timestamp:
Mar 12, 2012 3:41:16 PM (13 years ago)
Author:
vboxsync
Message:

crOpenGL: more TLS data handling fixes

Location:
trunk/src/VBox/Additions/common/crOpenGL/pack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c

    r39507 r40431  
    479479}
    480480
    481 void PACKSPU_APIENTRY packspu_VBoxPackAttachThread()
     481void PACKSPU_APIENTRY packspu_VBoxAttachThread()
    482482{
    483483#if 0
     
    495495
    496496    crSetTSD(&_PackTSD, NULL);
    497 }
    498 
    499 void PACKSPU_APIENTRY packspu_VBoxPackDetachThread()
     497
     498    crStateVBoxAttachThread();
     499}
     500
     501void PACKSPU_APIENTRY packspu_VBoxDetachThread()
    500502{
    501503    int i;
     
    558560        crUnlockMutex(&_PackMutex);
    559561    }
     562
     563    crStateVBoxDetachThread();
    560564}
    561565
     
    583587
    584588        case DLL_THREAD_ATTACH:
    585         {
    586             packspu_VBoxPackAttachThread();
    587             crStateOnThreadAttachDetach(GL_TRUE);
    588             break;
    589         }
    590 
    591589        case DLL_THREAD_DETACH:
    592         {
    593             packspu_VBoxPackDetachThread();
    594             crStateOnThreadAttachDetach(GL_FALSE);
    595             break;
    596         }
    597 
    598590        default:
    599591            break;
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_special

    r38772 r40431  
    105105VBoxPackGetInjectID
    106106VBoxPackSetInjectID
    107 VBoxPackAttachThread
    108 VBoxPackDetachThread
     107VBoxAttachThread
     108VBoxDetachThread
    109109ChromiumParameteriCR
    110110CompressedTexImage1DARB
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette