[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH xserver] xwayland: Add Xfree86-VidModeExtension to Xwayland
From:       Emil Velikov <emil.l.velikov () gmail ! com>
Date:       2015-10-29 22:38:07
Message-ID: CACvgo51yEY3SKRBVa32iipEKWf=sLvYOP3vL5g--VO6Q3HZC0g () mail ! gmail ! com
[Download RAW message or body]

On 29 October 2015 at 14:10, Adam Jackson <ajax@nwnk.net> wrote:
> On Thu, 2015-10-29 at 09:50 +0000, Emil Velikov wrote:
>> On 29 October 2015 at 09:37, Olivier Fourdan <ofourdan@redhat.com> wrote:
>> > Hi Krzysztof,
>> >
>> > Quick question, as I haven't heard back from you, do you plan to follow up
>> > on these patches or should I fix them?
>> >
>> While there, can someone confirm if the two extra files aren't just a
>> copy/pasta from existing xserver/other code base ? If so shouldn't one
>> reuse the current files - copying them around might not be the best of
>> ideas.
>
> They are mostly copypasta, yes.  Reusing them directly is a little
> difficult because the current implementation includes xfree86 headers,
> so "reusing the current files" would be:
>
From a quick look it seemed like a straight copy/paste job. I guess
one could have mentioned the diffs wrt the original ;-)

> 1) detach hw/xfree86/common/xf86vmode.c from xfree86 headers
> 2) move it up to Xext/, (probably as a separate module and not glommed
> into libXext.la)
> 3) add backend to hw/xwayland
>
> Alternatively, we could do a generic translation layer from vidmode to
> randr, but that's probably a bit more involved.
>
I'll take a look at option 1 over the next few days, although if you
have some tips on the vidmode > randr layer that'll be appreciated.

Thanks
Emil
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic