<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><br></span></div><div>Well, isn't there some trick I can try? Investigate on the linux framebuffer driver?</div><div>I'm very surprised how it is difficult to get a matrix of pixels ans squeeze it.</div><div>John<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">Da:</span></b> Alex Deucher <alexdeucher@gmail.com><br> <b><span style="font-weight: bold;">A:</span></b> john fulgor <johnfulgor@yahoo.com> <br><b><span
 style="font-weight: bold;">Cc:</span></b> "xorg-devel@lists.x.org" <xorg-devel@lists.x.org> <br> <b><span style="font-weight: bold;">Inviato:</span></b> Venerd́ 14 Giugno 2013 14:38<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: fbdev+xrand: no scaling?<br> </font> </div> <div class="y_msg_container"><br>On Fri, Jun 14, 2013 at 7:04 AM, john fulgor <<a ymailto="mailto:johnfulgor@yahoo.com" href="mailto:johnfulgor@yahoo.com">johnfulgor@yahoo.com</a>> wrote:<br>> Hello all,<br>> I need to scale my application output to fit my tablet display. I've tried<br>> to randr extension (<a href="http://crunchbang.org/forums/viewtopic.php?id=20634" target="_blank">http://crunchbang.org/forums/viewtopic.php?id=20634</a>) but<br>> it does not work. Digging in the code I've found that crtc->transforms is<br>> set to False in the RRCrtcTransformSet. Does this mean that transform is not<br>> available on my
 configuration? If so, shall it be so difficult to grab the<br>> pixels, scale them and send them out? Is there a place in code where I can<br>> get access to pixels and perform this transform? I'm a software developer,<br>> but I've no experience with x server. No matter if the solution is not<br>> elegant, I need to solve this problem someway.<br>><br>> I've tried with Xfbdev+x11vnc+vncviever, but it is very very slow.<br><br>At the moment crtc transformations require hardware acceleration.<br><br>Alex<br><br>><br>><br>> int RRCrtcTransformSet(RRCrtcPtr crtc,<br>>                    PictTransformPtr transform,<br>>                    struct pixman_f_transform *f_transform,<br>>                    struct pixman_f_transform *f_inverse,<br>>       
             char *filter_name,<br>>                    int filter_len, xFixed * params, int nparams)<br>> {<br>>     PictFilterPtr filter = NULL;<br>>     int width = 0, height = 0;<br>>     if (!crtc->transforms)<br>>         return BadValue;  /*Fails here!*/<br>><br>><br>> kernel 3.0.57<br>> server 1.11.3<br>><br>> 1024x600<br>><br>> fbdev<br>><br>> Thank you!<br>> Patrick<br>><br>> _______________________________________________<br>> <a ymailto="mailto:xorg-devel@lists.x.org" href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>> Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>> Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel"
 target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br><br><br></div> </div> </div>  </div></body></html>