sdl (#2) - Screen Rotation (#2) - Message List

Screen Rotation

due to the Z2 screen being installed sideways, all SDL apps that access the framebuffer are displayed sideways. what would be the most efficient way to fix this? at the moment, all i can think of is using SDL_gfx's rotozoom to rotate the surface being displayed, but that can be slooooow.

  • Message #3

    quick note: may be a good idea to try and integrate the following patch.

    http://www.nabble.com/-patch--add-support-for-rotated-linux-framebuffers-td6318822.html#a6318822

    • Message #4

      I did that but unfortunately it still doesnt fix the problem because that doesn't change the fact that things are being blitted the wrong way.

  • Message #5

    maybe i need to port kdrive or nanoX, and let X do it's own rotation and then run the SDL application. hopefully OE can provide a working X environment.

    • Message #6

      nanoX would be sweet. I've got the framebuffer code working fairly well (it displays tux correctly), but right now I'm trying to get double buffering to work without malloc dieing. Is there a good place to post code besides personal web space?