VirtualBox

Ignore:
Timestamp:
Jul 22, 2011 1:26:19 PM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: 1. fix invalid visible rectreporting on swapchain destruction 2. single context for wine (disabled so far), 3 wine & 3d driver bugfixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/debug.h

    r33656 r38112  
    3737#endif
    3838
     39#ifdef VBOX_WITH_WDDM
     40# ifdef VBOX_WINE_WITH_IPRT
     41#  include <iprt/assert.h>
     42# else
     43#  define AssertBreakpoint() do { } while (0)
     44#  define Assert(_expr) do { } while (0)
     45#  define RT_BREAKPOINT()
     46# endif
     47#endif
     48
    3949#ifdef __WINE_WINE_TEST_H
    4050#error This file should not be used in Wine tests
     
    7585#ifndef WINE_NO_DEBUG_MSGS
    7686# define __WINE_GET_DEBUGGING_WARN(dbch)  ((dbch)->flags & (1 << __WINE_DBCL_WARN))
    77 # define __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME))
     87# if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha)
     88#  define __WINE_GET_DEBUGGING_FIXME(dbch) (RT_BREAKPOINT(), ((dbch)->flags & (1 << __WINE_DBCL_FIXME)))
     89# else
     90#  define __WINE_GET_DEBUGGING_FIXME(dbch) ((dbch)->flags & (1 << __WINE_DBCL_FIXME))
     91# endif
    7892#else
    7993# define __WINE_GET_DEBUGGING_WARN(dbch)  0
    80 # define __WINE_GET_DEBUGGING_FIXME(dbch) 0
     94# if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha)
     95#  define __WINE_GET_DEBUGGING_FIXME(dbch) (RT_BREAKPOINT(), 0)
     96# else
     97#  define __WINE_GET_DEBUGGING_FIXME(dbch) 0
     98# endif
    8199#endif
    82100
    83101/* define error macro regardless of what is configured */
     102#if defined(VBOX_WITH_WDDM) && defined(DEBUG_misha)
     103#define __WINE_GET_DEBUGGING_ERR(dbch)  (RT_BREAKPOINT(), ((dbch)->flags & (1 << __WINE_DBCL_ERR)))
     104#else
    84105#define __WINE_GET_DEBUGGING_ERR(dbch)  ((dbch)->flags & (1 << __WINE_DBCL_ERR))
     106#endif
    85107
    86108#define __WINE_GET_DEBUGGING(dbcl,dbch)  __WINE_GET_DEBUGGING##dbcl(dbch)
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