fbdev+xrand: no scaling?

john fulgor johnfulgor at yahoo.com
Fri Jun 14 04:04:10 PDT 2013


Hello all,
I need to scale my application output to fit my tablet display. I've tried to randr extension (http://crunchbang.org/forums/viewtopic.php?id=20634) but it does not work. Digging in the code I've found that crtc->transforms is set to False in the RRCrtcTransformSet. Does this mean that transform is not available on my configuration? If so, shall it be so difficult to grab the pixels, scale them and send them out? Is there a place in code where I can get access to pixels and perform this transform? I'm a software developer, but I've no experience with x server. No matter if the solution is not elegant, I need to solve this problem someway.

I've tried with Xfbdev+x11vnc+vncviever, but it is very very slow.



int RRCrtcTransformSet(RRCrtcPtr crtc,
                   PictTransformPtr transform,
                   struct pixman_f_transform *f_transform,
                   struct pixman_f_transform *f_inverse,
                   char *filter_name,
                   int filter_len, xFixed * params, int nparams)
{
    PictFilterPtr filter = NULL;
    int width = 0, height = 0;
    if (!crtc->transforms)
        return BadValue;  /*Fails here!*/



kernel 3.0.57
server 1.11.3

1024x600

fbdev

Thank you!
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130614/40acd0a9/attachment.html>


More information about the xorg-devel mailing list