VirtualBox

Changeset 42101 in vbox for trunk/src


Ignore:
Timestamp:
Jul 11, 2012 10:25:42 AM (13 years ago)
Author:
vboxsync
Message:

wddm: bugfix

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Video
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3DCmn.h

    r38112 r42101  
    2020#define ___VBoxDispD3DCmn_h___
    2121
     22#       define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
     23#       define _InterlockedExchangeAdd        _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
     24#       define _InterlockedCompareExchange    _InterlockedCompareExchange_StupidDDKVsCompilerCrap
     25#       define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
     26#       define _interlockedbittestandset      _interlockedbittestandset_StupidDDKVsCompilerCrap
     27#       define _interlockedbittestandreset    _interlockedbittestandreset_StupidDDKVsCompilerCrap
     28#       define _interlockedbittestandset64    _interlockedbittestandset64_StupidDDKVsCompilerCrap
     29#       define _interlockedbittestandreset64  _interlockedbittestandreset64_StupidDDKVsCompilerCrap
     30#       pragma warning(disable : 4163)
    2231#include <windows.h>
     32#       pragma warning(default : 4163)
     33#       undef  _InterlockedExchange
     34#       undef  _InterlockedExchangeAdd
     35#       undef  _InterlockedCompareExchange
     36#       undef  _InterlockedAddLargeStatistic
     37#       undef  _interlockedbittestandset
     38#       undef  _interlockedbittestandreset
     39#       undef  _interlockedbittestandset64
     40#       undef  _interlockedbittestandreset64
     41
    2342#include <d3d9types.h>
    2443//#include <d3dtypes.h>
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispMpTst.cpp

    r39981 r42101  
    1717 */
    1818
     19#include "VBoxDispD3DCmn.h"
    1920#include "VBoxDispMp.h"
    2021
    2122#include <iprt/thread.h>
    2223#include <iprt/err.h>
    23 
    24 #include "VBoxDispD3DCmn.h"
    2524
    2625#ifdef VBOXWDDM_TEST_UHGSMI
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/Makefile.kmk

    r42091 r42101  
    169169     $(VBOX_LIB_VBGL_R0) \
    170170     $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
    171      $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
     171     $(VBOX_PATH_ADDITIONS_LIB)/HGSMIGuestR0Lib$(VBOX_SUFF_LIB)
     172  VBoxVideoW8_LIBS.amd64  = $(PATH_SDK_WINDDKW8_LIB)/BufferOverflowK.lib
    172173 endif # VBOX_WDDM_WIN8
    173174 
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r42098 r42101  
    66006600        }
    66016601
    6602 #ifdef DEBUG_misha
     6602#if defined(DEBUG_misha) && defined(VBOX_WDDM_WIN8)
    66036603        /* force g_VBoxDisplayOnly for debugging purposes */
    66046604        LOGREL(("Current win8 video driver only supports display-only mode no matter whether or not host 3D is enabled!"));
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.h

    r42083 r42101  
    3535#define VBOXWDDM_CFG_STR_LOG_UM L"VBoxLogUm"
    3636extern DWORD g_VBoxLogUm;
     37#ifdef VBOX_WDDM_WIN8
    3738extern DWORD g_VBoxDisplayOnly;
     39#endif
    3840
    3941RT_C_DECLS_BEGIN
Note: See TracChangeset for help on using the changeset viewer.

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