[wayland] radeon r200 and "egl_dri2: add swrast" (mesa-from-git)?
Russell Shaw
rjshaw at netspace.net.au
Fri Feb 18 06:59:32 PST 2011
On 19/02/11 01:39, Kristian Høgsberg wrote:
> On Fri, Feb 18, 2011 at 9:29 AM, Russell Shaw<rjshaw at netspace.net.au> wrote:
>> On 18/02/11 03:31, Kristian Høgsberg wrote:
>>>
>>> On Thu, Feb 17, 2011 at 2:51 AM, Sedat Dilek<sedat.dilek at googlemail.com>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I tried to jump on the Wayland train at the end of last year, but my
>>>> radeon r200 is/was not the ideal hardware platform.
>>>>
>>>> Today, while checking mesa-from-git, I saw the commit "egl_dri2: add
>>>> swrast" [1].
>>>> I remember Chia-I Wu told me to wait for swrast EGL support.
>>>>
>>>> Thus my question:
>>>> Do people like me have now a chance to see a ("stable") wayland (even
>>>> a demo) on their screens?
>>>
>>> I don't think swrast mesa is the right way to go for a un-accelerated
>>> Wayland server. It is possible to do this with the shm buffer sharing
>>> and swrast, but a better approach is to not use GL at all if there's
>>> no acceleration available. A cairo (or just pixman directly) based
>>> compositor could probably provide a pretty decent performance.
>>>
>>>> Next question:
>>>> (If Yes) What does the autogen/configure line have to look like?
>>>
>>> There are still missing pieces, it's not just a matter of configure
>>> mesa and wayland, sorry.
>>
>> How do i get a linear frame buffer without needing cairo or openGL?
>
> Have a look at modetest.c from the drm repo:
>
> http://cgit.freedesktop.org/mesa/drm/tree/tests/modetest/modetest.c
Hi,
At line 364 (allocate_buffer):
KMS_BO_TYPE, KMS_BO_TYPE_SCANOUT_X8R8G8B8
I assume then that the colour format will always be 32-bit XRGB ?
More information about the wayland-devel
mailing list