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.

33 lines
928 B

  1. //-----------------------------------------------------------------------------
  2. // File: fstate.h
  3. //
  4. // Desc: FLEX_STATE
  5. //
  6. // Copyright (c) 1994-2000 Microsoft Corporation
  7. //-----------------------------------------------------------------------------
  8. #ifndef __fstate_h__
  9. #define __fstate_h__
  10. class PIPE;
  11. class STATE;
  12. //-----------------------------------------------------------------------------
  13. // Name:
  14. // Desc:
  15. //-----------------------------------------------------------------------------
  16. class FLEX_STATE
  17. {
  18. public:
  19. int m_scheme; // current drawing scheme (right now this
  20. // is a per-frame thing)
  21. STATE* m_pMainState;
  22. FLEX_STATE( STATE *pState );
  23. PIPE* NewPipe( STATE *pState );
  24. void Reset();
  25. BOOL OKToUseChase();
  26. int GetMaxPipesPerFrame();
  27. };
  28. #endif // __fstate_h__