VirtualBox

儲存庫 vbox 的更動 62782


忽略:
時間撮記:
2016-7-31 下午10:50:29 (8 年 以前)
作者:
vboxsync
訊息:

HostServices,GuestHost: warnings

位置:
trunk/src/VBox
檔案:
修改 7 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/include/chromium.h

    r55628 r62782  
    3939# define WIN32_LEAN_AND_MEAN
    4040# define WGL_APIENTRY __stdcall
    41 # include <windows.h>
     41# ifdef VBOX
     42#  include <iprt/win/windows.h>
     43# else
     44#  include <windows.h>
     45# endif
    4246#elif defined(DARWIN)
    4347/* nothing */
     
    434438#endif
    435439
    436 typedef void (*CR_GLXFuncPtr)();
     440typedef void (*CR_GLXFuncPtr)(void);
    437441#ifndef GLX_ARB_get_proc_address
    438442#define GLX_ARB_get_proc_address 1
     
    796800extern void APIENTRY crVBoxTexPresent(GLuint texture, GLuint cfg, GLint xPos, GLint yPos, GLint cRects, const GLint *pRects);
    797801
    798 typedef int (CR_APIENTRY *CR_PROC)();
     802typedef int (CR_APIENTRY *CR_PROC)(void);
    799803CR_PROC APIENTRY crGetProcAddress( const char *name );
    800804
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_dll.h

    r15532 r62782  
    1010#if defined(WINDOWS)
    1111#define WIN32_LEAN_AND_MEAN
     12# ifdef VBOX
     13#  include <iprt/win/windows.h>
     14# else
    1215#include <windows.h>
     16# endif
    1317#endif
    1418
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_glstate.h

    r55798 r62782  
    208208DECLEXPORT(void) crStateInit(void);
    209209DECLEXPORT(void) crStateDestroy(void);
    210 DECLEXPORT(void) crStateVBoxDetachThread();
    211 DECLEXPORT(void) crStateVBoxAttachThread();
     210DECLEXPORT(void) crStateVBoxDetachThread(void);
     211DECLEXPORT(void) crStateVBoxAttachThread(void);
    212212DECLEXPORT(CRContext *) crStateCreateContext(const CRLimitsState *limits, GLint visBits, CRContext *share);
    213213DECLEXPORT(CRContext *) crStateCreateContextEx(const CRLimitsState *limits, GLint visBits, CRContext *share, GLint presetID);
    214214DECLEXPORT(void) crStateMakeCurrent(CRContext *ctx);
    215215DECLEXPORT(void) crStateSetCurrent(CRContext *ctx);
    216 DECLEXPORT(void) crStateCleanupCurrent();
     216DECLEXPORT(void) crStateCleanupCurrent(void);
    217217DECLEXPORT(CRContext *) crStateGetCurrent(void);
    218218DECLEXPORT(void) crStateDestroyContext(CRContext *ctx);
     
    223223
    224224void crStateSyncHWErrorState(CRContext *ctx);
    225 GLenum crStateCleanHWErrorState();
     225GLenum crStateCleanHWErrorState(void);
    226226
    227227#define CR_STATE_CLEAN_HW_ERR_WARN(_s) do {\
     
    296296DECLEXPORT(int32_t) crStateSaveGlobals(PSSMHANDLE pSSM);
    297297
    298 DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire();
    299 DECLEXPORT(void) crStateGlobalSharedRelease();
     298DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire(void);
     299DECLEXPORT(void) crStateGlobalSharedRelease(void);
    300300#endif
    301301
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h

    r55832 r62782  
    4444#define CR_MAX_CLIENTS 64
    4545
    46 /*@todo must match MaxGuestMonitors from SchemaDefs.h*/
     46/** @todo must match MaxGuestMonitors from SchemaDefs.h*/
    4747#define CR_MAX_GUEST_MONITORS VBOX_VIDEO_MAX_SCREENS
    4848
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r62679 r62782  
    11/* $Id$ */
    2 
    32/** @file
    4  * VBox crOpenGL: Host service entry points.
     3 * VBox crOpenGL - Host service entry points.
    54 */
    65
     
    3332#include <VBox/log.h>
    3433#include <VBox/com/array.h>
     34#if 0
    3535#include <VBox/com/ErrorInfo.h>
    3636#include <VBox/com/VirtualBox.h>
     
    15951595}
    15961596#endif
     1597#endif
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_clip.c

    r33540 r62782  
    1111
    1212#include <math.h>
     13
    1314#include "cr_server.h"
    1415#include "cr_mem.h"
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r56970 r62782  
    25682568    int i;
    25692569
    2570     if (sCount>CR_MAX_GUEST_MONITORS)
     2570    if (sCount > CR_MAX_GUEST_MONITORS)
    25712571        return VERR_INVALID_PARAMETER;
    25722572
    25732573    /*Shouldn't happen yet, but to be safe in future*/
    2574     for (i=0; i<cr_server.screenCount; ++i)
     2574    for (i = 0; i < cr_server.screenCount; /*++i - unreachable code*/)
    25752575    {
    25762576        if (MAPPED(SCREEN(i)))
     
    35733573            return -1;
    35743574    }
    3575 
    3576     WARN(("internal error"));
    3577     return -1;
     3575    /* not reached */
    35783576}
    35793577
     
    39163914
    39173915
    3918 static DECLCALLBACK(bool) crVBoxServerHasData()
     3916static DECLCALLBACK(bool) crVBoxServerHasData(void)
    39193917{
    39203918    HCR_FRAMEBUFFER hFb = CrPMgrFbGetFirstEnabled();
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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