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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to