Age | Commit message (Collapse) | Author |
|
Also introduces get_ncpus(), in preparation for threaded rendering.
|
|
This is just the implementation, nothing leveraged yet.
|
|
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.
|
|
|
|
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.
|