1SUMMARY="Small, Free and Fast Subset of OpenGL" 2DESCRIPTION="TinyGL is intended to be a very small implementation of a subset \ 3of OpenGL * for embedded systems or games. It is a software only \ 4implementation. Only the main OpenGL calls are implemented. 5 6The main strength of TinyGL is that it is fast and simple because it has not \ 7to be exactly compatible with OpenGL. In particular, the texture mapping and \ 8the geometrical transformations are very fast. TinyGL is a lot faster than \ 9Mesa or the software Solaris OpenWin OpenGL implementation for the VReng \ 10Virtual Reality engine for example. 11 12The main features of TinyGL are: 13* Header compatible with OpenGL (the headers are adapted from the very good \ 14Mesa by Brian Paul et al.) 15* Zlib-like licence for easy integration in commercial designs (read the \ 16LICENCE file). 17* Subset of GLX for easy testing with X Window. 18* GLX like API (NGLX) to use it with NanoX in Microwindows. 19* Subset of BGLView under BeOS (thank to Peder Blekken). 20* OpenGL like lightening. 21* Limited support of OpenGL��1.1 arrays. 22* Complete OpenGL selection mode handling for object picking. 23* 16 bit Z buffer. 16 bit RGB display. High speed dithering to paletted 8 \ 24bits if needed. High speed convertion to 24 or 32��bits. 25* Fast Gouraud shadding optimized for 16 bit RGB. 26* Fast texture mapping capabilities, with perspective correction and texture \ 27objects. 28* 32 bit float only arithmetic. 29* Very small: compiled code size of about 40 kB on x86. 30* C sources for GCC on 32/64 bit architectures. 31 32It has been tested succesfully on x86-Linux and sparc-Solaris." 33HOMEPAGE="https://bellard.org/TinyGL/" 34COPYRIGHT="1997-2002 Fabrice Bellard" 35LICENSE="Zlib" 36REVISION="2" 37SOURCE_URI="https://bellard.org/TinyGL/TinyGL-0.4.tar.gz" 38CHECKSUM_SHA256="8856da9f71d7c838da6c6746f7e8d93b65e0ca21f1ad24f834b46680c5f85de4" 39SOURCE_DIR="TinyGL" 40PATCHES="tinygl-$portVersion.patchset" 41 42ARCHITECTURES="x86_gcc2" 43 44PROVIDES=" 45 tinygl = $portVersion 46 devel:libglview = $portVersion 47 devel:libtinygl = $portVersion 48 " 49REQUIRES=" 50 haiku 51 " 52 53BUILD_REQUIRES=" 54 haiku_devel 55 " 56BUILD_PREREQUIRES=" 57 cmd:gcc 58 cmd:make 59 " 60 61BUILD() 62{ 63 make $jobArgs 64} 65 66INSTALL() 67{ 68 mkdir -p $developLibDir 69 mkdir -p $includeDir/TinyGL 70 71 cp lib/*.a $developLibDir 72 cp -r include/* $includeDir/TinyGL 73} 74