drm + kms + egl

Alberich de megres alberich2k5 at gmail.com
Mon Jan 10 07:56:25 PST 2011


Wow, thanks Kristian!!

- On render_stuff function, you have the glClear before the glClearColor.

But Even changing that I get the same weird things as before.
Could it be the kernel config? or mesa compilation? do i need any
spacial config to be setted?

thanks!


2011/1/10 Kristian Høgsberg <krh at bitplanet.net>:
> On Mon, Jan 10, 2011 at 6:11 AM, Alberich de megres
> <alberich2k5 at gmail.com> wrote:
>> Hi!!
>>
>> I was trying to understand how the drm mode setting + egl works. I
>> checked the wayland sources, and i tried to make a reduced subset
>> (copy pasting some parts of the wayland code) to get a white just
>> screen (glClear with white background).
>>
>> But I'm getting some weird stuff, like lots of black and white
>> vertical columns. So obiously i'm missing something.
>> Is there some place to read about or with some detailed info?
>
> I've had a simple egl+kms example lying around that I've been meaning
> to commit to mesa demos.  I just pushed it upstream:
>
> http://cgit.freedesktop.org/mesa/demos/commit/?id=5ed40f47466aad8fd21889cb905ab429d111b086
>
> Kristian
>


More information about the wayland-devel mailing list