VirtualBox

Ignore:
Timestamp:
Apr 28, 2019 4:47:51 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,Additions/common/crOpenGL,VBox/GuestHost/OpenGL,HostServices/SharedOpenGL: Remove CHROMIUM_THREADSAFE define and apply the current default

Location:
trunk/src/VBox/Additions/common/crOpenGL/feedback
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedback_context.c

    r76553 r78341  
    3636    GLint ctx, slot;
    3737
    38 #ifdef CHROMIUM_THREADSAFE
    3938    crLockMutex(&feedback_spu.mutex);
    40 #endif
    41 
    4239    ctx = feedback_spu.child.VBoxCreateContext(con, dpyName, visual, shareCtx);
    4340
     
    5653    feedback_spu.context[slot].clientCtx = ctx;
    5754
    58 #ifdef CHROMIUM_THREADSAFE
    5955    crUnlockMutex(&feedback_spu.mutex);
    60 #endif
    61 
    6256    return ctx;
    6357}
     
    7266feedbackspu_MakeCurrent( GLint window, GLint nativeWindow, GLint ctx )
    7367{
    74 #ifdef CHROMIUM_THREADSAFE
    7568    crLockMutex(&feedback_spu.mutex);
    76 #endif
    7769    feedback_spu.child.MakeCurrent(window, nativeWindow, ctx);
    7870
     
    9991    }
    10092
    101 #ifdef CHROMIUM_THREADSAFE
    10293    crUnlockMutex(&feedback_spu.mutex);
    103 #endif
    10494}
    10595
     
    10797feedbackspu_DestroyContext( GLint ctx )
    10898{
    109 #ifdef CHROMIUM_THREADSAFE
    11099    crLockMutex(&feedback_spu.mutex);
    111 #endif
    112100    feedback_spu.child.DestroyContext(ctx);
    113101
     
    125113    }
    126114
    127 #ifdef CHROMIUM_THREADSAFE
    128115    crUnlockMutex(&feedback_spu.mutex);
    129 #endif
    130116}
    131117
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedbackspu.h

    r78190 r78341  
    4242    ContextInfo context[CR_MAX_CONTEXTS];
    4343
    44 #ifdef CHROMIUM_THREADSAFE
    4544    CRmutex mutex;
    46 #endif
    4745} feedbackSPU;
    4846
  • trunk/src/VBox/Additions/common/crOpenGL/feedback/feedbackspu_init.c

    r78190 r78341  
    3131        (void) num_contexts;
    3232
    33 #ifdef CHROMIUM_THREADSAFE
    3433    crInitMutex(&feedback_spu.mutex);
    35 #endif
    36 
    3734        feedback_spu.id = id;
    3835        feedback_spu.has_child = 0;
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