server.h revision 3a45119099f0df5230e8304145168aa5e2a3f1a1
/* Copyright (c) 2001, Stanford University
* All rights reserved.
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#ifndef CR_SERVER_H
#define CR_SERVER_H
#include "cr_protocol.h"
#include "cr_glstate.h"
#include "spu_dispatch_table.h"
#include "state/cr_currentpointers.h"
#include "cr_server.h"
#ifdef VBOX_WITH_CRHGSMI
# include <VBox/VBoxVideo.h>
extern uint8_t* g_pvVRamBase;
{
}
DECLINLINE(void) crServerCrHgsmiCmdComplete(struct VBOXVDMACMD_CHROMIUM_CMD *pCmd, int cmdProcessingRc)
{
}
} while (0)
if (CRVBOXHGSMI_CMDDATA_IS_SET(_pData)) { \
} \
} while (0)
#endif
/*
* This is the base number for window and context IDs
*/
#define MAGIC_OFFSET 5000
/* Semaphore wait queue node */
typedef struct _wqnode {
RunQueue *q;
} wqnode;
typedef struct {
typedef struct {
typedef struct {
/* glProgramLocalParameterARB, glProgramParameterNV */
void crServerSetVBoxConfiguration();
void crServerSetVBoxConfigurationHGCM();
void crServerInitDispatch(void);
void crServerWriteback(void);
void crServerSerializeRemoteStreams(void);
int crServerGetCurrentEye(void);
GLint crServerDispatchCreateContextEx(const char *dpyName, GLint visualBits, GLint shareCtx, GLint preloadCtxID, int32_t internalID);
GLint crServerMuralInit(CRMuralInfo *mural, const char *dpyName, GLint visBits, GLint preloadWinID);
#define CR_SERVER_REDIR_NONE 0
#define CR_SERVER_REDIR_FBO_BLT 1
#define CR_SERVER_REDIR_FBO_RAM 2
{
}
#endif /* CR_SERVER_H */