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.

49 lines
2.0 KiB

  1. /******************************Module*Header*******************************\
  2. *
  3. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  4. * !! !!
  5. * !! WARNING: NOT DDK SAMPLE CODE !!
  6. * !! !!
  7. * !! This source code is provided for completeness only and should not be !!
  8. * !! used as sample code for display driver development. Only those sources !!
  9. * !! marked as sample code for a given driver component should be used for !!
  10. * !! development purposes. !!
  11. * !! !!
  12. * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  13. *
  14. * Module Name: pmdef.h
  15. *
  16. * Content:
  17. *
  18. * Copyright (c) 1994-1999 3Dlabs Inc. Ltd. All rights reserved.
  19. * Copyright (c) 1995-2003 Microsoft Corporation. All rights reserved.
  20. \*****************************************************************************/
  21. // This file containes defines for values that are filled into fields on Permedia
  22. // The file glintdef.h is the equivalent for glint chips.
  23. // These defines are typically used in conjunction with the macros in bitmac2.h,
  24. // which shift the values to their correct locations.
  25. #ifndef __PMDEF_H
  26. #define __PMDEF_H
  27. // Texture unit bit fields
  28. #define PM_TEXMAPFORMAT_TEXELSIZE 19
  29. // Dither unit bit fields
  30. #define PM_DITHERMODE_ENABLE 0
  31. #define PM_DITHERMODE_DITHERENABLE 1
  32. #define PM_DITHERMODE_COLORFORMAT 2
  33. #define PM_DITHERMODE_XOFFSET 6
  34. #define PM_DITHERMODE_YOFFSET 8
  35. #define PM_DITHERMODE_COLORORDER 10
  36. #define PM_DITHERMODE_DITHERMETHOD 11
  37. #define PM_DITHERMODE_FORCEALPHA 12
  38. #define PM_DITHERMODE_COLORFORMATEXTENSION 16
  39. // VSA Control
  40. #define PM_VSACONTROL_DISCARD_1 1
  41. #define PM_VSACONTROL_DISCARD_2 2
  42. #endif // __PMDEF_H