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.

35 lines
970 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file contains the general span parsing code.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. //-----------------------------------------------------------------------------
  8. #include "pch_mlspan.cpp"
  9. #pragma hdrstop
  10. //-----------------------------------------------------------------------------
  11. //
  12. // Does nothing and is only used as a test to see if bead selector can get here.
  13. //
  14. //-----------------------------------------------------------------------------
  15. HRESULT Monolithic_RenderSpansTestSelector(PD3DI_RASTCTX pCtx)
  16. {
  17. PD3DI_RASTPRIM pP = pCtx->pPrim;
  18. while (pP)
  19. {
  20. UINT16 uSpans = pP->uSpans;
  21. PD3DI_RASTSPAN pS = (PD3DI_RASTSPAN)(pP + 1);
  22. while (uSpans-- > 0)
  23. {
  24. //pCtx->pfnBegin(pCtx, pP, pS);
  25. pS++;
  26. }
  27. pP = pP->pNext;
  28. }
  29. return S_OK;
  30. }