Форк ToaruOS
Go to file
2012-12-10 20:26:46 -08:00
cairo-demo.c Init 2012-10-21 19:52:53 -07:00
compositor2.c Add debug and strip modes to makefile 2012-12-10 20:26:46 -08:00
make-it-snow.c Make compositor faster 2012-12-09 23:06:42 -08:00
Makefile Add debug and strip modes to makefile 2012-12-10 20:26:46 -08: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.