Форк ToaruOS
Go to file
Kevin Lange 38314292a5 Typo
2012-10-21 21:00:40 -07:00
cairo-demo.c Init 2012-10-21 19:52:53 -07:00
compositor2.c Clean up 2012-10-21 20:47:12 -07:00
Makefile Init 2012-10-21 19:52:53 -07:00
pixman-demo.c Init 2012-10-21 19:52:53 -07:00
README.md Typo 2012-10-21 21:00:40 -07:00

とある Compositor (Cairo version)

This is a window compositor for とあるOS using Cairo.

The normal compositor that ships with とあるOS uses a built-in alpha blitting mechanism. This one uses Cairo's rendering methods to draw windows, which is faster for alpha-enabled windows than the standard compositor, but slightly slower for non-alpha windows (as they are rendered as alpha-enabled regardless).

Dependencies

Obviously, this needs Cairo. You may need to tweak some config.h options to get Cairo to build correctly.

Eventually, Cairo will be included in the standard toolchain.

Installation

As with other external-library applications, clone this into your osdev repository, build its dependencies (Cairo, Pixman, etc.), run make and then make clean-disk && make in osdev.

You'll also need to change init so it runs compositor2 instead of compositor.