ASCII-art output platform
Changes PlannedPublic

Authored by graesslin on Apr 1 2016, 12:31 PM.

Details

Reviewers
davidedmundson
Group Reviewers
Plasma
Summary

A new platform: render to ascii art output. It's based on libcaca
which is now an optional dependency to KWin. To run use:
KWIN_COMPOSE=Q kwin_wayland --xwayland --ascii <programs to start>

It works both nested (e.g. on X11) and on a tty.

Diff Detail

Repository
R108 KWin
Branch
caca-renderer
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin updated this revision to Diff 3057.Apr 1 2016, 12:31 PM
graesslin retitled this revision from to ASCII-art output platform.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptApr 1 2016, 12:31 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

kwin_wayland rendering glxgears on the ascii art output

ivan added a subscriber: ivan.Apr 1 2016, 4:32 PM

You just created an excuse for NVidia not to support wayland-proper-opengl in their future driver releases.

jessep added a subscriber: jessep.Apr 1 2016, 9:32 PM
davidedmundson accepted this revision.Apr 1 2016, 10:49 PM
davidedmundson added a reviewer: davidedmundson.
davidedmundson added a subscriber: davidedmundson.
davidedmundson added inline comments.
backends/caca/caca_backend.cpp
57

.arg("a","b") is almost always better than .arg("a").arg("b)

otherwise if a translator puts %1 in the first string you get a crazy result

backends/caca/scene_qpainter_caca_backend.cpp
38

magic numbers

This revision is now accepted and ready to land.Apr 1 2016, 10:49 PM
graesslin planned changes to this revision.Jun 14 2016, 5:45 AM

Needs to be rebased to newer internal API

arrowd added a subscriber: arrowd.Mar 3 2019, 11:01 AM
Restricted Application edited projects, added KWin; removed Plasma. · View Herald TranscriptMar 3 2019, 11:01 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript