- Timestamp:
- Sep 2, 2014 2:46:41 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95838
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack.py
r52451 r52570 30 30 static void crUnpackExtendDbg(void); 31 31 32 /*#define CR_UNPACK_DEBUG_OPCODES*/ 33 /*#define CR_UNPACK_DEBUG_LAST_OPCODES*/ 32 #if 0 //def DEBUG_misha 33 //# define CR_UNPACK_DEBUG_OPCODES 34 # define CR_UNPACK_DEBUG_LAST_OPCODES 35 # define CR_UNPACK_DEBUG_PREV_OPCODES 36 #endif 37 38 #ifdef CR_UNPACK_DEBUG_PREV_OPCODES 39 static GLenum g_VBoxDbgCrPrevOpcode = 0; 40 static GLenum g_VBoxDbgCrPrevExtendOpcode = 0; 41 #endif 34 42 """ 35 43 … … 256 264 257 265 /*crDebug(\"Unpacking opcode \%d\", *unpack_opcodes);*/ 266 #ifdef CR_UNPACK_DEBUG_PREV_OPCODES 267 g_VBoxDbgCrPrevOpcode = *unpack_opcodes; 268 #endif 258 269 switch( *unpack_opcodes ) 259 270 {""" … … 323 334 print '\tGLenum extend_opcode = %s;' % ReadData( 4, 'GLenum' ); 324 335 print '' 336 print '#ifdef CR_UNPACK_DEBUG_PREV_OPCODES' 337 print '\tg_VBoxDbgCrPrevExtendOpcode = extend_opcode;' 338 print '#endif' 339 print '' 325 340 print '\t/*crDebug(\"Unpacking extended opcode \%d", extend_opcode);*/' 326 341 print '\tswitch( extend_opcode )' … … 348 363 print '{' 349 364 print '\tGLenum extend_opcode = %s;' % ReadData( 4, 'GLenum' ); 365 print '' 366 print '#ifdef CR_UNPACK_DEBUG_PREV_OPCODES' 367 print '\tg_VBoxDbgCrPrevExtendOpcode = extend_opcode;' 368 print '#endif' 350 369 print '' 351 370 print '\t/*crDebug(\"Unpacking extended opcode \%d", extend_opcode);*/'
Note:
See TracChangeset
for help on using the changeset viewer.