Home | History | Annotate | only in /external/skia/third_party/glu
Up to higher level directory
NameDateSize
gluos.h13-Nov-20124.9K
libtess/13-Nov-2012
LICENSE.txt13-Nov-20121.5K
README.skia13-Nov-20121.7K
sk_glu.h13-Nov-20126K

README.skia

      1 This is a nearly verbatim copy of the GLU tessellator source code from
      2 SGI's OpenGL Sample Implementation at
      3 http://oss.sgi.com/projects/ogl-sample/ . Per
      4 http://oss.sgi.com/projects/FreeB/ , the code is covered under the SGI
      5 Free Software License B, version 2.0, a copy of which is in
      6 LICENSE.txt in this directory.
      7 
      8 The following changes were made in order to incorporate this code:
      9 
     10   - The addition of a simplified gluos.h to eliminate operating system
     11     dependencies.  The entry points to the tessellator were prefixed with
     12     Sk_ to avoid symbol collisions with any host OS version of GLU via
     13     #defines in gluos.h.
     14 
     15   - The removal of inclusion of GL/glu.h and replacement with an
     16     include of sk_glu.h.
     17 
     18   - In tess.c, the obsolete entry points gluBeginPolygon,
     19     gluNextContour and gluEndPolygon in tess.c were #if 0'd out.
     20     Default branches were added to the switch statements in GotoState.
     21 
     22   - In memalloc.h, the include of malloc.h was changed to an include
     23     of stdlib.h.
     24 
     25   - In normal.c, an unused variable "w" was removed from
     26     __gl_projectPolygon. #if guards were placed around the definition
     27     of the unused Normalize function.
     28 
     29   - In priorityq-heap.c, an #include of <limits.h> was added.
     30 
     31   - In sweep.c, IsWindingInside() was given a return value to silence a
     32     warning-as-error in release builds.
     33 
     34   - In sweep.c, DoneEdgeDict()'s fixedEdges was wrapped in #indef NDEBUG, to
     35     silence a warning-as-error in release builds.
     36 
     37   - In priorityq.c, render.c, and others:  the construct "if(1)...else" was
     38   replaced with "do{...}while(1)" to silence a warning-as-error in Mac builds.
     39 
     40   - rename all __gl_ functions to Sk__gl_ to avoid conflicting with other
     41     static linkers of this library.
     42