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.

45 lines
1.5 KiB

  1. /*
  2. ** Copyright 1995-2095, Silicon Graphics, Inc.
  3. ** All Rights Reserved.
  4. **
  5. ** This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6. ** the contents of this file may not be disclosed to third parties, copied or
  7. ** duplicated in any form, in whole or in part, without the prior written
  8. ** permission of Silicon Graphics, Inc.
  9. **
  10. ** RESTRICTED RIGHTS LEGEND:
  11. ** Use, duplication or disclosure by the Government is subject to restrictions
  12. ** as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13. ** and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14. ** successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15. ** rights reserved under the Copyright Laws of the United States.
  16. */
  17. extern void __glsGenPixelSetup_pack(struct __GLScontext *ctx);
  18. extern void __glsGenPixelSetup_unpack(struct __GLScontext *ctx);
  19. extern void __glsPixelSetup_pack(void);
  20. extern void __glsPixelSetup_unpack(void);
  21. typedef struct {
  22. GLint alignment;
  23. GLint lsbFirst;
  24. GLint rowLength;
  25. GLint skipRows;
  26. GLint skipPixels;
  27. GLint swapBytes;
  28. #if __GL_EXT_texture3D
  29. GLint imageHeight;
  30. GLint skipImages;
  31. #endif /* __GL_EXT_texture3D */
  32. #if __GL_SGIS_texture4D
  33. GLint imageDepth;
  34. GLint skipVolumes;
  35. #endif /* __GL_SGIS_texture4D */
  36. } __GLSpixelStoreConfig;
  37. extern void __glsPixelStoreConfig_get_pack(
  38. __GLSpixelStoreConfig *outConfig
  39. );
  40. extern void __glsPixelStoreConfig_get_unpack(
  41. __GLSpixelStoreConfig *outConfig
  42. );