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.

67 lines
2.1 KiB

  1. #ifndef __glfeedback_h_
  2. #define __glfeedback_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. ** $Revision: 1.2 $
  20. ** $Date: 1992/10/06 16:22:36 $
  21. */
  22. #include "types.h"
  23. typedef struct {
  24. /*
  25. ** The user specified result array overflows, this bit is set.
  26. */
  27. GLboolean overFlowed;
  28. /*
  29. ** User specified result array. As primitives are processed feedback
  30. ** data will be entered into this array.
  31. */
  32. GLfloat *resultBase;
  33. /*
  34. ** Current pointer into the result array.
  35. */
  36. GLfloat *result;
  37. /*
  38. ** The number of GLfloat's that the array can hold.
  39. */
  40. GLint resultLength;
  41. /*
  42. ** Type of vertices wanted
  43. */
  44. GLenum type;
  45. } __GLfeedbackMachine;
  46. extern void FASTCALL __glFeedbackBitmap(__GLcontext *gc, __GLvertex *v);
  47. extern void FASTCALL __glFeedbackDrawPixels(__GLcontext *gc, __GLvertex *v);
  48. extern void FASTCALL __glFeedbackCopyPixels(__GLcontext *gc, __GLvertex *v);
  49. extern void FASTCALL __glFeedbackPoint(__GLcontext *gc, __GLvertex *v);
  50. #ifdef NT
  51. extern void FASTCALL __glFeedbackLine(__GLcontext *gc, __GLvertex *v0, __GLvertex *v1, GLuint flags);
  52. #else
  53. extern void FASTCALL __glFeedbackLine(__GLcontext *gc, __GLvertex *v0, __GLvertex *v1);
  54. #endif
  55. extern void FASTCALL __glFeedbackTriangle(__GLcontext *gc, __GLvertex *a,
  56. __GLvertex *b, __GLvertex *c);
  57. extern void __glFeedbackTag(__GLcontext *gc, GLfloat tag);
  58. #endif /* __glfeedback_h_ */