Changeset 62782 in vbox for trunk/src/VBox
- Timestamp:
- Jul 31, 2016 10:50:29 PM (8 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/chromium.h
r55628 r62782 39 39 # define WIN32_LEAN_AND_MEAN 40 40 # 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 42 46 #elif defined(DARWIN) 43 47 /* nothing */ … … 434 438 #endif 435 439 436 typedef void (*CR_GLXFuncPtr)( );440 typedef void (*CR_GLXFuncPtr)(void); 437 441 #ifndef GLX_ARB_get_proc_address 438 442 #define GLX_ARB_get_proc_address 1 … … 796 800 extern void APIENTRY crVBoxTexPresent(GLuint texture, GLuint cfg, GLint xPos, GLint yPos, GLint cRects, const GLint *pRects); 797 801 798 typedef int (CR_APIENTRY *CR_PROC)( );802 typedef int (CR_APIENTRY *CR_PROC)(void); 799 803 CR_PROC APIENTRY crGetProcAddress( const char *name ); 800 804 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_dll.h
r15532 r62782 10 10 #if defined(WINDOWS) 11 11 #define WIN32_LEAN_AND_MEAN 12 # ifdef VBOX 13 # include <iprt/win/windows.h> 14 # else 12 15 #include <windows.h> 16 # endif 13 17 #endif 14 18 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_glstate.h
r55798 r62782 208 208 DECLEXPORT(void) crStateInit(void); 209 209 DECLEXPORT(void) crStateDestroy(void); 210 DECLEXPORT(void) crStateVBoxDetachThread( );211 DECLEXPORT(void) crStateVBoxAttachThread( );210 DECLEXPORT(void) crStateVBoxDetachThread(void); 211 DECLEXPORT(void) crStateVBoxAttachThread(void); 212 212 DECLEXPORT(CRContext *) crStateCreateContext(const CRLimitsState *limits, GLint visBits, CRContext *share); 213 213 DECLEXPORT(CRContext *) crStateCreateContextEx(const CRLimitsState *limits, GLint visBits, CRContext *share, GLint presetID); 214 214 DECLEXPORT(void) crStateMakeCurrent(CRContext *ctx); 215 215 DECLEXPORT(void) crStateSetCurrent(CRContext *ctx); 216 DECLEXPORT(void) crStateCleanupCurrent( );216 DECLEXPORT(void) crStateCleanupCurrent(void); 217 217 DECLEXPORT(CRContext *) crStateGetCurrent(void); 218 218 DECLEXPORT(void) crStateDestroyContext(CRContext *ctx); … … 223 223 224 224 void crStateSyncHWErrorState(CRContext *ctx); 225 GLenum crStateCleanHWErrorState( );225 GLenum crStateCleanHWErrorState(void); 226 226 227 227 #define CR_STATE_CLEAN_HW_ERR_WARN(_s) do {\ … … 296 296 DECLEXPORT(int32_t) crStateSaveGlobals(PSSMHANDLE pSSM); 297 297 298 DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire( );299 DECLEXPORT(void) crStateGlobalSharedRelease( );298 DECLEXPORT(CRSharedState *) crStateGlobalSharedAcquire(void); 299 DECLEXPORT(void) crStateGlobalSharedRelease(void); 300 300 #endif 301 301 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_server.h
r55832 r62782 44 44 #define CR_MAX_CLIENTS 64 45 45 46 /* @todo must match MaxGuestMonitors from SchemaDefs.h*/46 /** @todo must match MaxGuestMonitors from SchemaDefs.h*/ 47 47 #define CR_MAX_GUEST_MONITORS VBOX_VIDEO_MAX_SCREENS 48 48 -
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r62679 r62782 1 1 /* $Id$ */ 2 3 2 /** @file 4 * VBox crOpenGL :Host service entry points.3 * VBox crOpenGL - Host service entry points. 5 4 */ 6 5 … … 33 32 #include <VBox/log.h> 34 33 #include <VBox/com/array.h> 34 #if 0 35 35 #include <VBox/com/ErrorInfo.h> 36 36 #include <VBox/com/VirtualBox.h> … … 1595 1595 } 1596 1596 #endif 1597 #endif -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_clip.c
r33540 r62782 11 11 12 12 #include <math.h> 13 13 14 #include "cr_server.h" 14 15 #include "cr_mem.h" -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r56970 r62782 2568 2568 int i; 2569 2569 2570 if (sCount >CR_MAX_GUEST_MONITORS)2570 if (sCount > CR_MAX_GUEST_MONITORS) 2571 2571 return VERR_INVALID_PARAMETER; 2572 2572 2573 2573 /*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*/) 2575 2575 { 2576 2576 if (MAPPED(SCREEN(i))) … … 3573 3573 return -1; 3574 3574 } 3575 3576 WARN(("internal error")); 3577 return -1; 3575 /* not reached */ 3578 3576 } 3579 3577 … … 3916 3914 3917 3915 3918 static DECLCALLBACK(bool) crVBoxServerHasData( )3916 static DECLCALLBACK(bool) crVBoxServerHasData(void) 3919 3917 { 3920 3918 HCR_FRAMEBUFFER hFb = CrPMgrFbGetFirstEnabled();
Note:
See TracChangeset
for help on using the changeset viewer.