From: Fabio G. <fab...@au...> - 2008-01-28 11:41:26
|
I have to develop some SDL based widget; so It could be usefull for me to s= ee=20 how they appear in portrait and landscape orientation; Thia is why I'd like to use hw to rotate; the widget har fixed size and and= =20 none adatptive strategy is planned to be implemented. Our application is performaces oriented and this is way I'd like to operate= on=20 HW directly. But for doing this I need to know what is the best way to=20 communicate between user space and kerel space. Regards P.S. Do you have an idea of when the toolchain upgrade will be ready on website? Alle 12:22, luned=EC 28 gennaio 2008, Kieran Bingham ha scritto: > Hi Fabio, > > I believe the rotate function on the LCDC changed the way it read the > pixels from memory. > > I think it turned the display from a 320x240 to a 240x320 display. > Useful for setting up the LCD panel in a different orientation etc.. > > I don't think the hardware can be used to perform rotation of an > image. that poses questions like > - how would it stretch the image. > or > - would it crop the image? > > You can play with changing this register setting on the fly while the > board is running using HEW and choosing View --> CPU --> IO from the > menu's. > > This gives you a view of all the on chip peripherals and access to > their registers. > > Cheers > -- > Kieran > > On 28/01/2008, Fabio Giovagnini <fab...@au...> wrote: > > Hi All, > > I read the source code of sh7203 framebuffer driver made I suppose by M= CP > > Data. > > I had a question: Is it possible to tell the driver to rotate the image > > usign the LCDC native register instructions? > > If yes how? Do I need to implemnet an iocontrol funcrion or what is the > > way? > > > > > > -- > > Fabio Giovagnini > > > > Aurion s.r.l. > > via degli orti 11, > > 40050 Funo di Argelato (BO) > > P.I e C.F. > > 00885711200 > > Tel. +39.335.8350919 > > Fax +39.051.8659009 > > > > www.aurion-tech.com > > > > account telefono VoIP skype (www.skype.com): > > aurion.giovagnini > > - > > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > > the body of a message to maj...@vg... > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > - > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > the body of a message to maj...@vg... > More majordomo info at http://vger.kernel.org/majordomo-info.html =2D-=20 =46abio Giovagnini Aurion s.r.l. via degli orti 11, 40050 Funo di Argelato (BO) P.I e C.F. 00885711200 Tel. +39.335.8350919 =46ax +39.051.8659009 www.aurion-tech.com account telefono VoIP skype (www.skype.com): aurion.giovagnini |