Hi,
Am 12.09.2012 19:25, schrieb Ilyes Gouta:
Have you grepped into the code to see what happens when the
layer-rotate=<x> option is passed?
Into the code of DirectFB itself? No, I haven't done that so far. As I have no knowledge of the DirectFB sources whatsoever, this would probably take many, many hours, which is why I tried asking those with said knowledge first who can tell me whether I'm doing anything wrong right away. As it seems, it's not that simple. :-)

Unfortunately, I can't find any documentation on directfb.org or elsewhere which tells me what is needed for layer-rotate to work, which leads to your next question:

Are you using a DirectFB system module that do actually support such a
configuration option?
Short answer: I have no idea (though my guess at the moment would be no, as it obviously doesn't work). I can't find any documentation from which I can deduct the answer to your question, which again is my reason for asking here.

Actually, I'm not even sure what you mean by "DirectFB system module" - a hardware-specific rendering module within DirectFB, the actual frame butter driver, or something else entirely.

Let's start from the other direction - I tell you what I'm using:

I'm running my software on a variety of Mini-ITX boards:

 * VIA EPIA 6000ML  (VIA C7 CPU)
 * VIA EPIA 10000ML ( " )
 * Intel D945  (Intel Atom 1st generation)
 * Intel D410  (Intel Atom 2nd generation)
 * Intel D425  (Intel Atom 3rd generation)
 * Intel D2700  (Intel Atom 4th generation)

On the via boards, I'm using the viafb frame buffer kernel driver, on the D945, I'm using intelfb. For the D410 and D425, as there is no hardware-specific kernel driver, I use uvesafb. Finally, the D2700 supports the newer kernel-modesetting and DRI, so I use the inteldrmfb driver.

Of those frame buffers, as far as I could find out, DirectFB has specific drivers only for the VIA boards (UniChrome), for all others, the "MMX Software Rasterizer" is used. As I have no videos or animations to display, this is fine by me. My program opens a primary, full-screen surface onto which everything is painted via DrawRectangle(), DrawString(), Blit() etc. directly. There are no windows, everything is a fixed full-screen layout.

By the way: if there is another way to rotate the display (i.e. everything that is displayed on screen) by 90 or 270 degrees, I'll happily give it a try. I don't have to use the "layer-rotate" command-line parameter, it's just the only thing I could find that at least is documented.

I hope the above info helps in getting closer to a solution. If any additional information is necessary, feel free to ask. Thank you very much in advance for your efforts.

Greetings
Kasi Mir

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to