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.

54 lines
2.2 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file generates the headers for primitive functions for RAMP/RGB/REF.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. // WARNING WARNING WARNING
  8. // This h file generated from a mh file.
  9. // EDIT THE MH FILE.
  10. // I warned you.
  11. // WARNING WARNING WARNING
  12. //
  13. //-----------------------------------------------------------------------------
  14. include(`m4hdr.mh')dnl
  15. void REF_StoreLastPixelState(LPVOID pCtx, BOOL bStore);
  16. void RGBRAMP_StoreLastPixelState(LPVOID pCtx, BOOL bStore);
  17. HRESULT RGBRAMP_Dp2SetRenderStates(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd, LPDWORD lpdwRuntimeRStates);
  18. HRESULT REF_Dp2SetRenderStates(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd, LPDWORD lpdwRuntimeRStates);
  19. HRESULT RGBRAMP_Dp2TextureStageState(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd);
  20. HRESULT REF_Dp2TextureStageState(LPVOID pCtx, DWORD dwFvf, LPD3DHAL_DP2COMMAND pCmd);
  21. HRESULT REF_Dp2SetViewport(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  22. HRESULT REF_Dp2SetWRange(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  23. HRESULT RGBRAMP_Dp2SetViewport(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  24. HRESULT RGBRAMP_Dp2SetWRange(LPVOID pCtx, LPD3DHAL_DP2COMMAND pCmd);
  25. define(`d_PointFuncHdr', `
  26. HRESULT $1_Point$2(LPVOID pCtx, PUINT8 pVtx);')dnl
  27. define(`d_LineFuncHdr', `
  28. HRESULT $1_Line$2(LPVOID pCtx, PUINT8 pVtx0, PUINT8 pVtx1);')dnl
  29. define(`d_TriFuncHdr', `
  30. HRESULT $1_Tri$2$3(LPVOID pCtx, PUINT8 pVtx0, PUINT8 pVtx1, PUINT8 pVtx2, WORD wFlags);')dnl
  31. d_RepStr(`d_RepStr(`d_PointFuncHdr(AA, BB)',
  32. `AA', `REF', `RAMP')',
  33. `BB', `')dnl
  34. d_RepStr(`d_RepStr(`d_PointFuncHdr(AA, BB)',
  35. `AA', `RGB')',
  36. `BB', `Pack', `NoPack')
  37. d_RepStr(`d_RepStr(`d_LineFuncHdr(AA, BB)',
  38. `AA', `REF', `RAMP')',
  39. `BB', `')dnl
  40. d_RepStr(`d_RepStr(`d_LineFuncHdr(AA, BB)',
  41. `AA', `RGB')',
  42. `BB', `Pack', `NoPack')
  43. d_TriFuncHdr(`REF', `', `')dnl
  44. d_RepStr(`d_RepStr(`d_TriFuncHdr(AA, BB)',
  45. `AA', `RAMP')',
  46. `BB', `Point', `Wireframe', `Solid')
  47. d_RepStr(`d_RepStr(`d_RepStr(`d_TriFuncHdr(AA, BB, CC)',
  48. `AA', `RGB')',
  49. `BB', `Pack', `NoPack')',
  50. `CC', `Point', `Wireframe', `Solid')