Xserver-gimp: support for 16bpp color depth, unfinished shared memory support
This commit is contained in:
@@ -7,10 +7,21 @@ PACKAGE_NAME=`grep AppFullName AndroidAppSettings.cfg | sed 's/.*=//'`
|
||||
../setEnvironment-armeabi-v7a.sh sh -c '\
|
||||
$CC $CFLAGS -c main.c gfx.c' || exit 1
|
||||
|
||||
[ -e xserver/android ] || git submodule update --init xserver || exit 1
|
||||
[ -e xserver/android ] || {
|
||||
CURDIR=`pwd`
|
||||
cd ../../../..
|
||||
git submodule update --init project/jni/application/xserver/xserver || exit 1
|
||||
cd $CURDIR
|
||||
} || exit 1
|
||||
cd xserver
|
||||
[ -e configure ] || autoreconf --force -v --install || exit 1
|
||||
[ -e android/android-shmem/LICENSE ] || git submodule update --init android/android-shmem || exit 1
|
||||
cd android
|
||||
[ -e android-shmem/libancillary/ancillary.h ] || {
|
||||
cd android-shmem
|
||||
git submodule update --init libancillary || exit 1
|
||||
cd ..
|
||||
} || exit 1
|
||||
[ -e libfontenc-*/Makefile ] && {
|
||||
grep "/data/data/$PACKAGE_NAME" libfontenc-*/Makefile || \
|
||||
git clean -f -d -x .
|
||||
|
||||
@@ -394,7 +394,7 @@ void showErrorMessage(const char *msg)
|
||||
void XSDL_initSDL()
|
||||
{
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
SDL_SetVideoMode(VID_X, VID_Y, 24, SDL_SWSURFACE);
|
||||
SDL_SetVideoMode(VID_X, VID_Y, 0, SDL_SWSURFACE);
|
||||
TTF_Init();
|
||||
sFont = TTF_OpenFont("DroidSansMono.ttf", 12);
|
||||
if (!sFont)
|
||||
|
||||
@@ -130,7 +130,7 @@ int main( int argc, char* argv[] )
|
||||
|
||||
XSDL_deinitSDL();
|
||||
|
||||
sprintf( screenres, "%d/%dx%d/%dx%d", resolutionW, displayW, resolutionH, displayH, 24 );
|
||||
sprintf( screenres, "%d/%dx%d/%dx%d", resolutionW, displayW, resolutionH, displayH, SDL_GetVideoInfo()->vfmt->BitsPerPixel );
|
||||
|
||||
if( argc > 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user