Difference between revisions of "Glitz"

From CBLFS
Jump to navigationJump to search
(Created page.)
 
(Added note about non-standard XORG_PREFIX)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://cairographics.org/snapshots/glitz-0.5.6.tar.gz
+
| http://cairographics.org/snapshots/glitz-{{Glitz-Version}}.tar.gz
 
|}
 
|}
 +
 +
----
 +
 +
{{Package-Introduction|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.|http://www.freedesktop.org/wiki/Software/glitz}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
===Optional===
 
===Optional===
 
 
* [[X Window System]] for GLX backend.
 
* [[X Window System]] for GLX backend.
 
* [[Xorg7/MesaLib|MesaLib]] or other package providing OpenGL libraries for GLX backend.
 
* [[Xorg7/MesaLib|MesaLib]] or other package providing OpenGL libraries for GLX backend.
 +
 +
== Configuration Information ==
 +
 +
To use AGL, EGL, or WGL backends add the appropriate option for configure.
 +
 +
--enable-agl
 +
--enable-egl
 +
--enable-wgl
  
 
== 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:
  
  ./configure --prefix=/usr &&
+
./configure --prefix=/usr &&
  make
+
make
 
 
To use AGL, EGL, or WGL backends add the appropriate option for configure.
 
 
 
  --enable-agl
 
  --enable-egl
 
  --enable-wgl
 
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
 
== Multilib ==
 
== Multilib ==
  
 
=== 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:
  
  PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
+
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
  ./configure --prefix=/usr --libdir=/usr/lib &&
+
PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" USE_ARCH=32 \
  make
+
./configure --prefix=/usr &&
 
+
make
To use AGL, EGL, or WGL backends add the appropriate option for configure.
 
 
 
  --enable-agl
 
  --enable-egl
 
  --enable-wgl
 
  
 
Install the package:
 
Install the package:
  
  make install
+
make install
  
 
=== 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:
 +
 +
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:
 
Install the package:
 +
 +
make install
  
 
=== 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:
  
  PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
+
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
  ./configure   --prefix=/usr --libdir=/usr/lib64 &&
+
PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" USE_ARCH=64 \
  make
+
./configure --prefix=/usr --libdir=/usr/lib64 &&
 +
make
  
To use AGL, EGL, or WGL backends add the appropriate option for configure.
+
Install the package:
 +
 
 +
make install
  
  --enable-agl
+
==Contents==
  --enable-egl
 
  --enable-wgl
 
  
Install the package:
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| None
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libglitz.so, libglitz-glx.so
 +
|-valign="top"
 +
! Installed Directories:
 +
| None
 +
|}
  
  make install
+
=== Short Descriptions ===
  
==Contents==
+
{| style="text-align: left;"
 +
|-valign="top"
 +
! libglitz.so
 +
| ???
 +
|-valign="top"
 +
! libglitz-glx.so
 +
| ???
 +
|}
  
Installed libraries: libglitz.so, libglitz-glx.so
+
[[Category:Graphics Libraries]]

Latest revision as of 17: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 ???
Retrieved from "?title=Glitz&oldid=19797"