Source code of Windows XP (NT5)
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.

57 lines
997 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: texspans.h
  3. *
  4. * This file is included to generate the set of perspective-corrected
  5. * span functions with combinations of pixel formats and other attributes
  6. *
  7. * 22-Nov-1995 ottob Created
  8. *
  9. * Copyright (c) 1995 Microsoft Corporation
  10. \**************************************************************************/
  11. #undef ZBUFFER
  12. #define ZBUFFER 0
  13. #undef ZCMP_L
  14. #define ZCMP_L 0
  15. #undef ALPHA
  16. #define ALPHA 0
  17. #if (!SKIP_FAST_REPLACE)
  18. #include "texspan.h"
  19. #undef ZBUFFER
  20. #define ZBUFFER 1
  21. #include "texspan.h"
  22. #undef ZCMP_L
  23. #define ZCMP_L 1
  24. #include "texspan.h"
  25. #endif // SKIP_FAST_REPLACE
  26. #if !(FAST_REPLACE && !PALETTE_ONLY)
  27. #undef ZBUFFER
  28. #define ZBUFFER 0
  29. #undef ZCMP_L
  30. #define ZCMP_L 0
  31. #undef ALPHA
  32. #define ALPHA 1
  33. #include "texspan.h"
  34. #undef ZBUFFER
  35. #define ZBUFFER 1
  36. #include "texspan.h"
  37. #undef ZCMP_L
  38. #define ZCMP_L 1
  39. #include "texspan.h"
  40. #endif // FAST_REPLACE and not PALETTE_ONLY