VirtualBox

Ignore:
Timestamp:
May 6, 2019 9:31:01 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130405
Message:

Additions,GuestHost/OpenGL,HostServices/SharedOpenGL: Get rid of the individual SPU shared libraries and merge them into the VBoxSharedCrOpenGL shared libraries on the host and VBoxOGL{,-x86} shared libraries for the guest additions, bugref:9435

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.cpp

    r78190 r78408  
    9999{
    100100    CRMuralInfo *defaultMural;
    101 
    102     int spu_ids[1]     = {0};
    103     char *spu_names[1] = {"render"};
    104     char *spu_dir = NULL;
    105101    int i;
    106102    GLint dims[4];
     
    114110    setDefaults();
    115111   
    116     /* Load the SPUs */   
    117     cr_server.head_spu = crSPULoadChain(1, spu_ids, spu_names, spu_dir, &cr_server);
    118 
     112    /* Load the SPUs */
     113    PCSPUREG aSpuRegs[] = { &g_RenderSpuReg, &g_ErrorSpuReg, NULL};
     114    cr_server.head_spu = crSPUInitFromReg(NULL, 0, "render", &cr_server, &aSpuRegs[0]);
    119115    if (!cr_server.head_spu)
    120116        return;
Note: See TracChangeset for help on using the changeset viewer.

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