xf86-video-glint: Changes to 'master'

Matt Turner mattst88 at kemper.freedesktop.org
Sat Aug 13 13:57:45 PDT 2011


Rebased ref, commits from common ancestor:
commit ca7c202da8d291eba9c68c149eb9530be1d66880
Author: Mark Kettenis <mark.kettenis at xs4all.nl>
Date:   Tue Mar 1 07:32:26 2011 +0000

    Fix uploading YV12 data to texture buffer on BE machines
    
    On BE machines various hardware byteswapping options are used for the
    framebuffer aperture.  Which option gets used depends on the depth of the
    framebuffer.  Uploading YV12 data to the texture buffer is done through the
    same aperture, but is always done in 32-bit wide units.  Therefore the code
    that does the uploading needs to take into account the byteswapping done by
    the hardware.  For 32bpp modes we can use the same code as on LE machines,
    but 16bpp and 8bpp modes need their own versions.
    
    Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
    Signed-off-by: Matt Turner <mattst88 at gmail.com>

commit 97c9bdf9a396c5627c865d03cd0de91a7267a277
Author: Jesse Adkins <jesserayadkins at gmail.com>
Date:   Sat Dec 11 12:38:54 2010 +0000

    Make pm2's xv driver collect options like all other drivers.
    
    The current method of argument collection is to collect options from different
    ports of a VideoAdaptor record. Specifically, the ports had to be named
    'Input' for input options, and 'Output' for output options.
    
    This resulted in three groups of options, requiring people to know what
    VideoAdaptor does, both of which were not documented in the man page. If you
    forgot to create a VideoAdaptor port, then the xv driver would just not work.
    
    This patch makes the xv driver collect options from the screen, like every
    single other driver. Input and Output prefixes are used for options where the
    input and output ports have the same args (FramesPerSec, for example).
    Documentation added for the change.
    
    This is a step toward getting rid of VideoAdaptor, since only glint uses it
    (and is probably the only one to have used it).
    
    v2: Complain about Xv driver failing to load only if the user wanted Xv.
    Don't use pGlint->Options, since glint is still initializing.
    
    Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
    Signed-off-by: Matt Turner <mattst88 at gmail.com>



More information about the xorg-commit mailing list