Difference between revisions of "Glitz"

From CBLFS
Jump to navigationJump to search
(Added note about non-standard XORG_PREFIX)
 
Line 30: Line 30:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
{{Note|If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib options to configure.}}
  
 
Compile the package:
 
Compile the package:
Line 43: Line 45:
  
 
=== 32Bit ===
 
=== 32Bit ===
 +
 +
{{Note|If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib options to configure.}}
  
 
Compile the package:
 
Compile the package:
Line 56: Line 60:
  
 
=== N32 ===
 
=== N32 ===
 +
 +
{{Note|If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib32 options to configure.}}
  
 
Compile the package:
 
Compile the package:
Line 69: Line 75:
  
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
{{Note|If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib64 options to configure.}}
  
 
Compile the package:
 
Compile the package:

Latest revision as of 18:07, 7 January 2010

Download Source: http://cairographics.org/snapshots/glitz-0.5.6.tar.gz

Introduction to Glitz

Glitz is an OpenGL image compositing library. Glitz provides Porter/Duff compositing of images and implicit mask generation for geometric primitives including trapezoids, triangles, and rectangles.

The semantics of Glitz are designed to precisely match the specification of the X Render extension. Glitz not only implements X Render features like component alpha and image transformations, but it also implement support for additional features like convolution filters and color gradients, which are not currently part of the X Render specification.

The performance and capabilities of Glitz are very dependent on your graphics hardware. Glitz does not in any way handle software fall-backs when the graphics hardware is insufficient. However, Glitz will report if any requested operation cannot be carried out by the graphics hardware, thus making a higher level software layer responsible for appropriate actions.

Glitz can be used as a stand-alone layer above OpenGL but is also designed to act as a backend for Cairo, providing it with OpenGL accelerated output.

Project Homepage: http://www.freedesktop.org/wiki/Software/glitz

Dependencies

Optional

Configuration Information

To use AGL, EGL, or WGL backends add the appropriate option for configure.

--enable-agl
--enable-egl
--enable-wgl

Non-Multilib

Caution.png

Note

If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib options to configure.

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Caution.png

Note

If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib options to configure.

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Caution.png

Note

If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib32 options to configure.

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Caution.png

Note

If you have installed the X Window System into a location other than /usr, you will need to add the --x-includes=${XORG_PREFIX}/include and --x-libraries=${XORG_PREFIX}/lib64 options to configure.

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: None
Installed Libraries: libglitz.so, libglitz-glx.so
Installed Directories: None

Short Descriptions

libglitz.so ???
libglitz-glx.so ???