Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // rsdbg.cpp
  4. //
  5. // Setup debugging support.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. #include "rgb_pch.h"
  11. #pragma hdrstop
  12. #if 0 && DBG
  13. static DebugModuleFlags g_RastSetupOutputFlags[] =
  14. {
  15. DBG_DECLARE_MODFLAG(RSM, TRIS),
  16. DBG_DECLARE_MODFLAG(RSM, LINES),
  17. DBG_DECLARE_MODFLAG(RSM, POINTS),
  18. DBG_DECLARE_MODFLAG(RSM, Z),
  19. DBG_DECLARE_MODFLAG(RSM, DIFF),
  20. DBG_DECLARE_MODFLAG(RSM, SPEC),
  21. DBG_DECLARE_MODFLAG(RSM, OOW),
  22. DBG_DECLARE_MODFLAG(RSM, LOD),
  23. DBG_DECLARE_MODFLAG(RSM, TEX1),
  24. DBG_DECLARE_MODFLAG(RSM, TEX2),
  25. DBG_DECLARE_MODFLAG(RSM, XCLIP),
  26. DBG_DECLARE_MODFLAG(RSM, YCLIP),
  27. DBG_DECLARE_MODFLAG(RSM, BUFFER),
  28. DBG_DECLARE_MODFLAG(RSM, BUFPRIM),
  29. DBG_DECLARE_MODFLAG(RSM, BUFSPAN),
  30. DBG_DECLARE_MODFLAG(RSM, FLAGS),
  31. DBG_DECLARE_MODFLAG(RSM, WALK),
  32. DBG_DECLARE_MODFLAG(RSM, DIDX),
  33. 0, NULL,
  34. };
  35. static DebugModuleFlags g_RastSetupUserFlags[] =
  36. {
  37. DBG_DECLARE_MODFLAG(RSU, BREAK_ON_RENDER_SPANS),
  38. DBG_DECLARE_MODFLAG(RSU, MARK_SPAN_EDGES),
  39. DBG_DECLARE_MODFLAG(RSU, CHECK_SPAN_EDGES),
  40. DBG_DECLARE_MODFLAG(RSU, NO_RENDER_SPANS),
  41. DBG_DECLARE_MODFLAG(RSU, FORCE_GENERAL_WALK),
  42. DBG_DECLARE_MODFLAG(RSU, FORCE_PIXEL_SPANS),
  43. 0, NULL,
  44. };
  45. DBG_DECLARE_ONCE(RastSetup, RS,
  46. g_RastSetupOutputFlags, 0,
  47. g_RastSetupUserFlags, 0);
  48. #endif // #if DBG