console: rewrite console layer
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 17 Jun 2012 13:53:33 +0000 (15:53 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 17 Jun 2012 13:53:33 +0000 (15:53 +0200)
commitb0c19c5c4238cebf0cd83746bf6c465584bac4cc
tree82851e53cd602dc2e31f3aa95f31451c5e4e16c0
parent6081905edf0d73758f14c760ae78f8efd4a2d45e
console: rewrite console layer

This is a rewrite of the whole console layer so we can remove the
kmscon_buffer object to speed up the console.

This removes the split between the scroll region and the two margins so we
can resize margins in O(1). This also correctly merges the remaining
console modes so vte does not have to track them.

Btw. vim runs smoothly on kmscon with this console layer now (finally!).

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/console.c
src/console.h
src/vte.c