Changeset 53750 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jan 6, 2015 3:52:37 AM (10 years ago)
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r53749 r53750 604 604 uint32_t idTestContext; 605 605 #endif 606 #ifdef VBOX_VMSVGA3D_USE_OPENGL_CORE607 606 /** Legacy OpenGL profile GL_EXTENSIONS result (RTStrDup). 608 607 * This is used to detect shader model version since some implementations … … 610 609 * bunch of others when using a OpenGL core profile instead of a legacy one */ 611 610 R3PTRTYPE(char *) pszLegacyExtensions; 612 #endif613 611 } VMSVGA3DSTATE; 614 612 /** Pointer to the VMSVGA3d state. */ … … 981 979 VMSVGA3D_SET_CURRENT_CONTEXT(pState, pContext); 982 980 #else 983 pState->pszLegacyExtensions = "";981 pState->pszLegacyExtensions = (char *)""; 984 982 #endif 985 983 -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d.h
r53749 r53750 1 1 /** @file 2 * DevVMWare - VMWare SVGA device - 3D part 2 * DevVMWare - VMWare SVGA device - 3D part. 3 3 */ 4 4 5 /* 5 * Copyright (C) 2013 Oracle Corporation6 * Copyright (C) 2013-2015 Oracle Corporation 6 7 * 7 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 14 15 */ 15 16 16 #ifndef __ DEVVMWARE3D_H__17 #define __ DEVVMWARE3D_H__17 #ifndef ___DEVVMWARE3D_H___ 18 #define ___DEVVMWARE3D_H___ 18 19 19 20 #include "vmsvga/svga_reg.h" … … 23 24 24 25 #if defined(RT_OS_WINDOWS) && defined(IN_RING3) 25 # include <windows.h>26 # include <Windows.h> 26 27 27 # define WM_VMSVGA3D_WAKEUP(WM_APP+1)28 # define WM_VMSVGA3D_CREATEWINDOW(WM_APP+2)29 # define WM_VMSVGA3D_DESTROYWINDOW(WM_APP+3)30 # define WM_VMSVGA3D_RESIZEWINDOW(WM_APP+4)31 # define WM_VMSVGA3D_EXIT(WM_APP+5)28 # define WM_VMSVGA3D_WAKEUP (WM_APP+1) 29 # define WM_VMSVGA3D_CREATEWINDOW (WM_APP+2) 30 # define WM_VMSVGA3D_DESTROYWINDOW (WM_APP+3) 31 # define WM_VMSVGA3D_RESIZEWINDOW (WM_APP+4) 32 # define WM_VMSVGA3D_EXIT (WM_APP+5) 32 33 33 34 DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD ThreadSelf, void *pvUser); … … 36 37 #endif 37 38 38 /* Arbitrary limit */39 /** Arbitrary limit */ 39 40 #define SVGA3D_MAX_SHADER_IDS 0x100 40 /* D3D allows up to 8 texture stages. */41 /** D3D allows up to 8 texture stages. */ 41 42 #define SVGA3D_MAX_TEXTURE_STAGE 8 42 /* Arbitrary upper limit; seen 8 so far. */43 /** Arbitrary upper limit; seen 8 so far. */ 43 44 #define SVGA3D_MAX_LIGHTS 32 44 45 … … 107 108 #endif 108 109 109 #endif /* __DEVVMWARE3D_H__ */ 110 #endif /* !___DEVVMWARE3D_H___ */ 111
Note:
See TracChangeset
for help on using the changeset viewer.