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
1.4 KiB

  1. #ifndef __glconstants_h_
  2. #define __glconstants_h_
  3. /*
  4. ** Copyright 1991, Silicon Graphics, Inc.
  5. ** All Rights Reserved.
  6. **
  7. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  8. ** the contents of this file may not be disclosed to third parties, copied or
  9. ** duplicated in any form, in whole or in part, without the prior written
  10. ** permission of Silicon Graphics, Inc.
  11. **
  12. ** RESTRICTED RIGHTS LEGEND:
  13. ** Use, duplication or disclosure by the Government is subject to restrictions
  14. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  15. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  16. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  17. ** rights reserved under the Copyright Laws of the United States.
  18. */
  19. /*
  20. ** Some pixel code depends upon this constant in deciding what the longest
  21. ** horizontal span of a DrawPixels command can possibly be. With 2048, it
  22. ** is allocating an array of size 32K. If this constant increases too much,
  23. ** then the pixel code might need to be revisited.
  24. */
  25. #define __GL_MAX_MAX_VIEWPORT 16384
  26. /*
  27. ** The following is the maximum number of __GLcolor structures to allocate on
  28. ** the stack. It is set to keep a maximum of 1K bytes allocated on the stack
  29. */
  30. #define __GL_MAX_STACKED_COLORS 64
  31. #endif /* __glconstants_h_ */