author Sam Lantinga <>
Tue, 09 May 2006 07:26:58 +0000
changeset 1790 828a17e05192
parent 433 706de3956894
permissions -rw-r--r--
Date: Mon, 8 May 2006 14:19:30 -0700
From: Bob Ippolito
Subject: SDL trunk (r2346) and Mac OS X

The current state of the trunk doesn't quite compile on Mac OS X,
I've attached a series of patches that gets it to compile and kills a
few warnings.

The dlcompat thing is just loaded with incorrect type signatures ..
some of them have changed since 10.2 and others are just flat wrong.
This puts it in sync with the latest headers. People on 10.2 will get
the warnings instead of people with new kits.
     1  ========================
     2   Using SDL with PicoGUI
     3  ========================
     5 - Originally contributed by Micah Dowty <>
     7 PicoGUI is a scalable GUI system with a unique architecture, primarily focused
     8 on scalability to various embedded systems. You can find more information
     9 including a FAQ at
    11 To use the patch:
    13   1. When compiling, add the "--enable-video-picogui" switch to ./configure
    15   2. When running your program, ensure that the picogui driver for SDL
    16      is in use by setting the SDL_VIDEODRIVER environment variable 
    17      to "picogui".
    19   3. The program must also be linked to the C client library for PicoGUI
    20      ( If the program is being compiled with a patched SDL 
    21      installed this should be done automatically. If you want to use an
    22      existing binary with PicoGUI, you can set the LD_PRELOAD environment
    23      variable to the path of your file.
    25 Capabilities:
    27   So far only basic functionality is provided on true color (linear16/24/32)
    28   devices. Accessing a memory mapped bitmap, updating the display, and handling
    29   mouse/keyboard input. This functionality has been tested with several
    30   applications, including mplayer, Xine, sldroids, and Abuse.
    32 TODO list:
    34   - YUV overlays will be helpful for watching video on set top boxes or other
    35     embedded devices that have some graphics acceleration hardware
    37   - Account for rotated bitmap storage in pgserver
    39   - Support for hiding or changing the cursor
    41   - The display should be centered when the SDL application is smaller
    42     than the PicoGUI panel
    44   - Fullscreen or any other special modes
    46   - Support for indexed and grayscale modes
    48   - Probably much more...
    50 --- The End ---