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.

32 lines
804 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: fstate.h
  3. *
  4. * FLEX_STATE
  5. *
  6. * Copyright (c) 1995 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. #ifndef __fstate_h__
  10. #define __fstate_h__
  11. #include "sscommon.h"
  12. #include "state.h"
  13. #include "pipe.h"
  14. class PIPE;
  15. class STATE;
  16. class FLEX_STATE {
  17. public:
  18. int scheme; // current drawing scheme (right now this
  19. // is a per-frame thing)
  20. BOOL bTexture; // mf: repetition
  21. FLEX_STATE( STATE *pState );
  22. PIPE* NewPipe( STATE *pState );
  23. void Reset();
  24. BOOL OKToUseChase();
  25. int GetMaxPipesPerFrame();
  26. };
  27. #endif // __fstate_h__