~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/lib/GL/mesa/src/drv/i810/i810vb.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * GLX Hardware Device Driver for Intel i810
 
3
 * Copyright (C) 1999 Keith Whitwell
 
4
 *
 
5
 * Permission is hereby granted, free of charge, to any person obtaining a
 
6
 * copy of this software and associated documentation files (the "Software"),
 
7
 * to deal in the Software without restriction, including without limitation
 
8
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 
9
 * and/or sell copies of the Software, and to permit persons to whom the
 
10
 * Software is furnished to do so, subject to the following conditions:
 
11
 *
 
12
 * The above copyright notice and this permission notice shall be included
 
13
 * in all copies or substantial portions of the Software.
 
14
 *
 
15
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
16
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
17
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 
18
 * KEITH WHITWELL, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
 
19
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
 
20
 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
 
21
 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
22
 *
 
23
 *
 
24
 */
 
25
/* $XFree86: xc/lib/GL/mesa/src/drv/i810/i810vb.h,v 1.4 2002/02/22 21:33:04 dawes Exp $ */
 
26
 
 
27
#ifndef I810VB_INC
 
28
#define I810VB_INC
 
29
 
 
30
#include "mtypes.h"
 
31
#include "swrast/swrast.h"
 
32
 
 
33
#define _I810_NEW_VERTEX (_NEW_TEXTURE |                        \
 
34
                          _DD_NEW_SEPARATE_SPECULAR |           \
 
35
                          _DD_NEW_TRI_UNFILLED |                \
 
36
                          _DD_NEW_TRI_LIGHT_TWOSIDE |           \
 
37
                          _NEW_FOG)
 
38
 
 
39
 
 
40
extern void i810ChooseVertexState( GLcontext *ctx );
 
41
extern void i810CheckTexSizes( GLcontext *ctx );
 
42
extern void i810BuildVertices( GLcontext *ctx,
 
43
                               GLuint start,
 
44
                               GLuint count,
 
45
                               GLuint newinputs );
 
46
 
 
47
 
 
48
extern void i810_emit_contiguous_verts( GLcontext *ctx,
 
49
                                        GLuint start,
 
50
                                        GLuint count );
 
51
 
 
52
extern void i810_translate_vertex( GLcontext *ctx,
 
53
                                   const i810Vertex *src,
 
54
                                   SWvertex *dst );
 
55
 
 
56
extern void i810InitVB( GLcontext *ctx );
 
57
extern void i810FreeVB( GLcontext *ctx );
 
58
 
 
59
extern void i810_print_vertex( GLcontext *ctx, const i810Vertex *v );
 
60
extern void i810PrintSetupFlags(char *msg, GLuint flags );
 
61
 
 
62
#endif