[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Question about Xvideo and shadow
From: <yangshuai126 () 126 ! com>
Date: 2011-12-19 14:14:28
Message-ID: 1f5b64bf.1ca67.13456ac6f0f.Coremail.yangshuai126 () 126 ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
hi,all
I modify the standard driver of fbdev,and add the xv adaptor.
So in the fbdev driver ,there are shadow and xv at the same time.
Then I found a problem:
When I move the video window(which use the xvimagesink),the picture in the window is \
not the video frame but the data from the shadow buffer.At the same time,When I move \
the mouse in the video window ,I can see a block data from the shadow buffer instead \
of the video data.
I think it's too bad for the user.
How can I improve the experience when I use both shadow and xvideo?
If I don't use shadow,I must make the FB cacheable to ensure the result of x11perf is \
not too bad.But there are lots of stripes ,when I make the FB cacheable.
So,I think maybe I could add a cache flush ioctl at the point when the xorg complete \
a drawing action.I think if i do so,the stripes will be greatly reduced.
But where I should add the cache flush ioctl in the source code of xorg?
Any advice is welcome!
Thanks!
Best Regards,
David
[Attachment #5 (text/html)]
<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"> hi,all<br><br> I \
modify the standard driver of fbdev,and add the xv adaptor.<br><br> So in the \
fbdev driver ,there are shadow and xv at the same time.<br><br> Then I found a \
problem:<br> When I move the video window(which use the xvimagesink),the picture \
in the window is not the video frame but the data from the shadow buffer.At the same \
time,When I move the mouse in the video window ,I can see a block data from the \
shadow buffer instead of the video data.<br><br>I think it's too bad for the \
user.<br><br>How can I improve the experience when I use both shadow and \
xvideo?<br><br>If I don't use shadow,I must make the FB cacheable to ensure the \
result of x11perf is not too bad.But there are lots of stripes ,when I make the FB \
cacheable.<br><br>So,I think maybe I could add a cache flush ioctl at the point when \
the xorg complete a drawing action.I think if i do so,the stripe s will be greatly \
reduced.<br><br>But where I should add the cache flush ioctl in the source code of \
xorg?<br><br>Any advice is welcome!<br><br><br>Thanks!<br><br>Best \
Regards,<br>David<br><br></div><br><br><span title="neteasefooter"><span \
id="netease_mail_footer"></span></span>
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic