summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-23util: put convenience helpers into util.[ch]Vito Caputo
Also introduces get_ncpus(), in preparation for threaded rendering.
2016-11-23fps: add rudimentary FPS counterVito Caputo
This is just the implementation, nothing leveraged yet.
2016-11-23fb: add rudimentary drm fb and page apiVito Caputo
This implementation uses a page flipping thread and very simple pthreads mutex/condition variable synchronization. There is room for improvement, but this combined with 3 fb pages enables the rendering loop to fully overlap with page flipping with the next ready page queued asynchronously.
2016-06-17rototiller: fix typo in READMEVito Caputo
2016-06-17rototiller: initial commitVito Caputo
This is a retro-style demo hack, demonstrating libdrm dummy buffer use for achieving "oldskool" demo-style graphics programming on modern linux. It's a quick and nasty hack, some effort was put into optimizing the renderer, but the libdrm setup code is prototype quality at best, it's a spaghetti of crap cobbled together while scrutinizing the libdrm headers until something showed on-screen. The amazing thing is, it actually works, and quite well at that, on my machine anyways.
© All Rights Reserved