- 時間撮記:
- 2016-8-6 下午09:19:19 (8 年 以前)
- 位置:
- trunk/src/VBox/GuestHost/OpenGL
- 檔案:
-
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/GuestHost/OpenGL/include/chromium.h
r63038 r63118 22 22 23 23 #ifdef IN_RING0 24 25 # ifndef VBOXVIDEOLOG_H 26 # undef WARN /* VBoxMpUtils.h includes common/VBoxVideoLog.h which */ 27 # undef LOG /* uncondtionally redefines these three macros. */ 28 # undef LOGREL 29 # endif 24 30 # include <common/VBoxMPUtils.h> 31 25 32 # define WINGDIAPI /* gl/gl.h is using this (wingdi.h defines it a __declspec(dllimport) normaly). */ 33 26 34 #endif 27 35 … … 36 44 #if defined(WINDOWS) 37 45 # ifdef IN_RING0 38 # error "should not happen!" 46 # error "should not happen!" /* bird: This is certifiably insane, in my opinion. */ 39 47 # endif 40 48 # define WIN32_LEAN_AND_MEAN … … 56 64 57 65 #ifndef WINDOWS 66 # ifndef RT_OS_WINDOWS /* If we don't need it in ring-3, we probably not need it in ring-0 either (triggers warnings). */ 58 67 #include <GL/glu.h> 68 # endif /* !RT_OS_WINDOWS */ 59 69 #endif 60 70 -
trunk/src/VBox/GuestHost/OpenGL/include/cr_pack.h
r62812 r63118 97 97 # define CR_PACKER_CONTEXT_ARGDECL 98 98 # define CR_PACKER_CONTEXT_ARG 99 # define CR_PACKER_CONTEXT_ARG_NOREF() do {} while (0) 99 100 # define CR_PACKER_CONTEXT_ARGCTX(C) 100 101 # ifdef CHROMIUM_THREADSAFE … … 114 115 # define CR_PACKER_CONTEXT_ARGDECL CR_PACKER_CONTEXT_ARGSINGLEDECL, 115 116 # define CR_PACKER_CONTEXT_ARG _pCtx, 117 # define CR_PACKER_CONTEXT_ARG_NOREF() RT_NOREF_PV(_pCtx) 116 118 # define CR_PACKER_CONTEXT_ARGCTX(C) C, 117 119 # define CR_GET_PACKER_CONTEXT(C) CRPackContext *C = _pCtx -
trunk/src/VBox/GuestHost/OpenGL/packer/pack_buffer.c
r46757 r63118 76 76 #ifndef IN_RING0 77 77 /* This is useful for debugging packer problems */ 78 void crPackSetBufferDEBUG( const char *file, int line, 79 CRPackContext *pc, CRPackBuffer *buffer) 78 void crPackSetBufferDEBUG( const char *file, int line, CRPackContext *pc, CRPackBuffer *buffer) 80 79 81 80 { -
trunk/src/VBox/GuestHost/OpenGL/packer/pack_visibleregion.c
r62814 r63118 53 53 void PACK_APIENTRY crPackWindowVisibleRegionSWAP( CR_PACKER_CONTEXT_ARGDECL GLint window, GLint cRects, const GLint * pRects ) 54 54 { 55 RT_NOREF3(window, cRects, pRects); 55 RT_NOREF3(window, cRects, pRects); CR_PACKER_CONTEXT_ARG_NOREF(); 56 56 crError( "crPackWindowVisibleRegionSWAP unimplemented and shouldn't be called" ); 57 57 } -
trunk/src/VBox/GuestHost/OpenGL/util/sortarray.cpp
r62492 r63118 151 151 return crSaInsAt(pArray, 0, element); 152 152 153 el = element; /* Shup up MSC. */ 153 154 while (iMin < iMax) 154 155 { … … 336 337 static int crSaClone(const CR_SORTARRAY *pArray1, CR_SORTARRAY *pResult) 337 338 { 338 int rc = 0;339 339 CrSaClear(pResult); 340 340
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器