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.

43 lines
1002 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // rloop_mh.h
  4. //
  5. // Declarations of all ramp span loop routines.
  6. //
  7. // Copyright (C) Microsoft Corporation, 1997.
  8. //
  9. //----------------------------------------------------------------------------
  10. include(`m4hdr.mh')dnl
  11. define(`d_BeadMacrosOnly', `')dnl
  12. include(`rampbead.mh')dnl
  13. #ifndef _RLOOP_MH_H_
  14. #define _RLOOP_MH_H_
  15. #ifdef __cplusplus
  16. extern "C"
  17. {
  18. #endif // __cplusplus
  19. // Default generic span parser.
  20. HRESULT Ramp_RenderSpans_Any(PD3DI_RASTCTX pCtx);
  21. // Default generic loop.
  22. void Ramp_Loop_Any(PD3DI_RASTCTX pCtx, PD3DI_RASTPRIM pP, PD3DI_RASTSPAN pS);
  23. dnl
  24. dnl d_DeclRampRenderSpans
  25. dnl
  26. dnl Declares a ramp RenderSpans bead.
  27. dnl
  28. define(`d_DeclRampRenderSpans',
  29. `HRESULT Ramp_$1(PD3DI_RASTCTX pCtx);
  30. ')dnl
  31. dnl
  32. d_SpecializedRampRenderSpansBeads(`d_DeclRampRenderSpans(XX)', `XX')dnl
  33. #ifdef __cplusplus
  34. }
  35. #endif // __cplusplus
  36. #endif // #ifndef _RLOOP_MH_H_