[Mesa-dev] DRM sample programs and doc?
Jerome Glisse
j.glisse at gmail.com
Mon Oct 4 12:19:43 PDT 2010
2010/10/4 Bjørn Augestad <bjorn.augestad at gmail.com>:
> Hi.
>
> I'm trying to use DRM to send raw RGB images to my console. My initial
> goal is just to send one simple RGB image to my screen, later on I
> want to send multiple buffers with different formats and wait for
> Vertical blanking to avoid tearing.
>
> But I have a hard time figuring out how to allocate and use buffer
> objects with DRM. There seems to be little or no documentation of how
> to use DRM and buffer objects.
>
> Does anyone know about up-to-date documentation and/or some sample
> programs/snippets which illustrate how to use these things?
>
> Regards,
> Bjorn Augestad
Best example is likely plymouth
http://cgit.freedesktop.org/plymouth/
Note that buffer allocation is not standard and each GPU use its own
interface.
Cheers,
Jerome
More information about the mesa-dev
mailing list