[RFC weston] compositor: optimize/simplify shaders

Pekka Paalanen ppaalanen at gmail.com
Mon Sep 3 23:59:30 PDT 2012


On Fri, 31 Aug 2012 16:58:24 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> I couldn't find exactly duplicated vertices in cliptest, but I found
> problems:
> 
> http://people.collabora.com/~pq/geometry-test-1.png
> http://people.collabora.com/~pq/geometry-test-2.png
> http://people.collabora.com/~pq/geometry-test-3.png
> http://people.collabora.com/~pq/geometry-test-4.png
> http://people.collabora.com/~pq/geometry-test-5.png
> http://people.collabora.com/~pq/geometry-test-6.png
> 
> Later I added surface orientation mark (the red dot) and vertex
> indices:
> http://people.collabora.com/~pq/geometry-test-7.png
> This one shows a correct result.

An improved version if cliptest is at:
http://cgit.collabora.com/git/user/pq/wayland-demos.git/log/?h=cliptest

New features: keyboard controls and proper use of
weston_surface::transform.enabled, see
http://cgit.collabora.com/git/user/pq/wayland-demos.git/tree/clients/cliptest.c?h=cliptest#n24

The surface orientation dot is now bright, when the surface is not
transformed.


Thanks,
pq


More information about the wayland-devel mailing list