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

Location:
trunk/src/VBox/GuestHost/OpenGL/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_spu.h

    r78263 r78408  
    7676#define SPU_MAX_SERVERS_UNLIMITED 0x8
    7777
     78/**
     79 * SPU registration restructure.
     80 */
     81typedef struct SPUREG
     82{
     83    /** SPU name. */
     84    const char             *pszName;
     85    /** Name of the SPU super class. */
     86    const char             *pszSuperName;
     87    /** SPU flags. */
     88    uint32_t               fFlags;
     89    /** Init function. */
     90    SPUInitFuncPtr         pfnInit;
     91    /** Dispatch function. */
     92    SPUSelfDispatchFuncPtr pfnDispatch;
     93    /** Cleanup function. */
     94    SPUCleanupFuncPtr      pfnCleanup;
     95} SPUREG;
     96/** Pointer to a SPU registration structure. */
     97typedef SPUREG *PSPUREG;
     98/** Pointer to a const SPU registration structure. */
     99typedef const SPUREG *PCSPUREG;
    78100
    79101/**
     
    346368DECLEXPORT(void) crSPUUnloadChain(SPU *headSPU);
    347369
     370DECLEXPORT(SPU *) crSPUInitFromReg(SPU *pSpuChild, int iId, const char *pszName, void *pvServer, PCSPUREG *papSpuReg);
     371DECLEXPORT(SPU *) crSPUInitChainFromReg(int cSpus, int *paIds, const char * const *papszNames, void *server, PCSPUREG *papSpuReg);
     372
    348373DECLEXPORT(void) crSPUInitDispatchTable( SPUDispatchTable *table );
    349374DECLEXPORT(void) crSPUCopyDispatchTable( SPUDispatchTable *dst, SPUDispatchTable *src );
     
    378403#endif
    379404
     405extern DECLHIDDEN(const SPUREG) g_ErrorSpuReg;
     406#ifdef IN_GUEST
     407extern DECLHIDDEN(const SPUREG) g_FeedbackSpuReg;
     408extern DECLHIDDEN(const SPUREG) g_PassthroughSpuReg;
     409extern DECLHIDDEN(const SPUREG) g_PackSpuReg;
     410#else
     411extern DECLHIDDEN(const SPUREG) g_RenderSpuReg;
     412#endif
     413
    380414#ifdef __cplusplus
    381415}
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_threads.h

    r69474 r78408  
    110110#define VBoxTlsRefSetImpl(_tls, _val) (crSetTSD((CRtsd*)(_tls), (_val)))
    111111#define VBoxTlsRefAssertImpl CRASSERT
    112 #include <VBoxVideo3D.h>
     112#include <VBox/Graphics/VBoxVideo3D.h>
    113113
    114114#ifdef __cplusplus
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