VirtualBox

Changeset 52614 in vbox for trunk/src


Ignore:
Timestamp:
Sep 5, 2014 11:32:02 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95895
Message:

crOpenGL: debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m

    r52598 r52614  
    9292#endif
    9393
    94 #ifdef DEBUG_misha
    95 #define DEBUG_INFO(text) do { \
     94#ifdef DEBUG_VERBOSE
     95# error "should be disabled!"
     96# define DEBUG_INFO(text) do { \
    9697        crWarning text ; \
    9798        Assert(0); \
    9899    } while (0)
     100
    99101# define DEBUG_MSG(text) \
    100102    printf text
     103
    101104# define DEBUG_WARN(text) do { \
    102105        crWarning text ; \
    103106        Assert(0); \
    104107    } while (0)
     108
     109# define DEBUG_MSG_1(text) \
     110    DEBUG_MSG(text)
     111
    105112#else
    106 #define DEBUG_INFO(text) do { \
     113
     114# define DEBUG_INFO(text) do { \
    107115        crInfo text ; \
    108116    } while (0)
     117
    109118# define DEBUG_MSG(text) \
    110119    do {} while (0)
     120
    111121# define DEBUG_WARN(text) do { \
    112122        crWarning text ; \
    113123    } while (0)
    114 #endif
    115 
    116 #ifdef DEBUG_VERBOSE
    117 # define DEBUG_MSG_1(text) \
    118     DEBUG_MSG(text)
    119 #else
     124
    120125# define DEBUG_MSG_1(text) \
    121126    do {} while (0)
     127
    122128#endif
     129
    123130
    124131#define DEBUG_FUNC_ENTER() do { \
Note: See TracChangeset for help on using the changeset viewer.

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