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.

37 lines
1.1 KiB

  1. #ifndef __glutrimvertpool_h_
  2. #define __glutrimvertpool_h_
  3. /**************************************************************************
  4. * *
  5. * Copyright (C) 1992, Silicon Graphics, Inc. *
  6. * *
  7. * These coded instructions, statements, and computer programs contain *
  8. * unpublished proprietary information of Silicon Graphics, Inc., and *
  9. * are protected by Federal copyright law. They may not be disclosed *
  10. * to third parties or copied or duplicated in any form, in whole or *
  11. * in part, without the prior written consent of Silicon Graphics, Inc. *
  12. * *
  13. **************************************************************************/
  14. /*
  15. * trimvertexpool.h - $Revision: 1.1 $
  16. */
  17. #include "bufpool.h"
  18. class TrimVertex;
  19. #define INIT_VERTLISTSIZE 200
  20. class TrimVertexPool {
  21. public:
  22. TrimVertexPool( void );
  23. ~TrimVertexPool( void );
  24. void clear( void );
  25. TrimVertex * get( int );
  26. private:
  27. Pool pool;
  28. TrimVertex ** vlist;
  29. int nextvlistslot;
  30. int vlistsize;
  31. };
  32. #endif /* __glutrimvertpool_h_ */