README.PS3
author Sunny Sachanandani <sunnysachanandani@gmail.com>
Fri, 09 Jul 2010 21:36:41 +0530
changeset 4590 1ad70fb49fcb
parent 3257 94fb40a4a9a7
permissions -rw-r--r--
Fix so many things that there is little place in this column to list them all but the result is that blending modes just work now for drawing primitives.

Fixes involved:
1. Fix handling of alpha channel when SDL_BLENDMODE_NONE is set.
2. Make xrendercolor use floating-point values for color channels and then convert to 16 bit ints.
3. Fix handling of visuals in SDL_x11modes.c so that a 32 bit ARGB visual is used.
4. Fix the background pixel value in SDL_x11window.c so that the window background has an alpha value of 0xFF and not 0.
     1 
     2 SDL on Sony Playstation3
     3 ------------------------
     4 
     5 Installation:
     6   First, you have to install the Cell SDK
     7   - Download the Cell SDK installer RPM and ISO images to
     8     a temporary directory such as /tmp/cellsdk.
     9   - Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk
    10   - Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm
    11   - Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install
    12 
    13   You'll than need to install the SPU-libs
    14   - Run make ps3-libs && make ps3libs-install
    15 
    16   Finally, install SDL
    17   - Go to SDL-1.2/ and build SDL like any other GNU style package.
    18   e.g.
    19     - Build the configure-script with ./autogen.sh
    20     - Configure SDL for your needs: ./configure --enable-video-ps3 ...
    21     - Build and install it: make && make install
    22 
    23 
    24 Todo:
    25   - Mouse & Keyboard support
    26   - On SPU-side the current scaler and converter restrictions are:
    27     - resolution has to be a multiple of 8 (will work on that)
    28     - scaler/converter only supports the YV12 and IYUV format
    29     - the scaler works only bilinear (lanzos would be nice)
    30   - Optimize the SPU-program handling on the PPE side
    31   - Integrate spumedia in SDL
    32 
    33 Have fun!
    34   Dirk Herrendoerfer <d.herrendoerfer [at] de [dot ibm [dot] com>
    35