Find a file
Pekka Paalanen 0e151bb487 compositor: honour repaint regions with transformed surfaces
Previously, if a surface was transformed, it repainted as a whole,
regardless of the computed repaint region. As damage regions determine
repaint regions and whether a surface is considered for drawing at all,
this lead to disappearing surfaces if all surfaces were considered
transformed. Also transparent transformed surfaces were redrawn without
the surfaces below being properly redrawn, leading to alpha-saturation.

Fix that by making texture_region() use the proper global-to-surface
coordinate transformation for texture coordinates. This makes it
possible to call texture_region() also for transformed surfaces.

As texture coordinates may now lie outside the valid texture image, the
fragment shader is modified to check the fragment texture coordinates.

The special path texture_transformed_surface() is no longer used and is
removed.

This change fixes many of the rendering artifacts related to transformed
surfaces.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2012-01-27 16:15:02 +02:00
clients clickdot: implement the purpose 2012-01-27 10:44:22 +02:00
data desktop-shell: Build in sensible defaults 2012-01-25 20:53:08 -05:00
protocol Fix distcheck 2012-01-03 11:04:09 -05:00
shared Use '-' to separate words in file names 2011-12-08 12:44:27 -05:00
src compositor: honour repaint regions with transformed surfaces 2012-01-27 16:15:02 +02:00
tests compositor: simplify the matrix inversion API 2012-01-27 10:44:22 +02:00
.gitignore Clean up .gitignore files 2010-11-11 20:11:27 -05:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac tests: add matrix-test 2012-01-27 10:44:22 +02:00
Makefile.am tests: add matrix-test 2012-01-27 10:44:22 +02:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
weston-desktop-shell.ini desktop-shell: Fall back to solid color if there's no background image 2012-01-25 14:55:33 -05:00
weston-tablet-shell.ini More weston rename fixes 2012-01-03 14:35:49 -05:00

Wayland Demos

This repository contains a few demos application for the Wayland
project.  There's a sample compositor that can run on KMS, under X11
or under another Wayland compositor and there's a handful of simple
clients that demonstrate various aspects of Wayland: