implemented SUPER key/modifier support on windows
[freeglut] / README.android
index e997a98..439f85d 100644 (file)
@@ -1,114 +1,3 @@
-Status
-======
 
-Done:
-- Initialize context with EGL
-- Keyboard support
-- Mouse support
-- Virtual keypad (on touchscreen)
-- Extract assets in cache dir on start-up
+  See http://freeglut.sourceforge.net/docs/android.php
 
-TODO:
-- Open new windows (if that's possible)
-- Joystick support (xperia play...)
-- Display translucent keys on virtual keypad
-- API to detect touchscreen presence
-- API to disable assets extract
-- GLES2 support for geometry and menus
-  (possibly also GLES1)
-- Generate freeglut_std.h with GLES1 or GLES2 or non-ES headers
-- Make EGL support reusable by Mesa X11
-- ...
-
-
-Create a module compatible with the NDK build-system
-====================================================
-
-- Use your own cross-compiler for Android, or export the one from the
-  NDK:
-
-  /usr/src/android-ndk-r7/build/tools/make-standalone-toolchain.sh \
-    --platform=android-9 \
-    --install-dir=/usr/src/ndk-standalone-9
-
-- Build FreeGLUT with a '/freeglut' prefix :
-
-  PATH=/usr/src/ndk-standalone-9/bin:$PATH
-  cd /usr/src/freeglut-3.0.0/
-  mkdir cross-android-module/
-  cd cross-android-module/
-  cmake \
-    -D CMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake \
-    -D CMAKE_INSTALL_PREFIX=/freeglut \
-    -D FREEGLUT_GLES2=ON \
-    -D FREEGLUT_BUILD_DEMOS=NO \
-    ..
-  make -j4
-  make install DESTDIR=$(pwd)
-
-- Copy Android.mk in the new 'freeglut/' directory :
-
-  cp android/Android.mk freeglut/
-
-- Reference this module in your jni/Android.mk:
-
-  LOCAL_STATIC_LIBRARIES := ... freeglut
-  ...
-  $(call import-module,freeglut)
-
-- You now can point your NDK_MODULE_PATH to this module!
-
-  ndk-build NDK_MODULE_PATH=/usr/src/freeglut-3.0.0/freeglut/
-
-
-Compile FreeGLUT for a traditional cross-compiler environment
-=============================================================
-
-- Use your own cross-compiler for Android, or export the one from the
-  NDK:
-
-  /usr/src/android-ndk-r7/build/tools/make-standalone-toolchain.sh \
-    --platform=android-9 \
-    --install-dir=/usr/src/ndk-standalone-9
-
-- Compile FreeGLUT and install it in your Android cross-compiler path:
-
-
-  PATH=/usr/src/ndk-standalone-9/bin:$PATH
-  cd /usr/src/freeglut-3.0.0/
-  mkdir cross-android-toolchain/
-  cd cross-android-toolchain/
-  cmake \
-    -D CMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake \
-    -D CMAKE_INSTALL_PREFIX=/usr/src/ndk-standalone-9 \
-    -D FREEGLUT_GLES2=ON \
-    -D FREEGLUT_BUILD_DEMOS=NO \
-    ..
-  make -j4
-  make install
-
-- Compile your own project.
-
-For instance if you use the autotools:
-
-  PATH=/usr/src/ndk-standalone-9/bin:$PATH
-  export PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/share/pkgconfig
-  ./configure --host=arm-linux-androideabi --prefix=/somewhere
-  make
-  make install
-
-If you use CMake, you may want to copy our Android toolchain
-'android_toolchain.cmake':
-
-  PATH=/usr/src/ndk-standalone-9/bin:$PATH
-  export PKG_CONFIG_PATH=/usr/src/ndk-standalone-9/share/pkgconfig
-  cp .../android_toolchain.cmake .
-  mkdir cross-android/
-  cd cross-android/
-  cmake \
-    -D CMAKE_TOOLCHAIN_FILE=../android_toolchain.cmake \
-    -D CMAKE_INSTALL_PREFIX=/somewhere \
-    -D MY_PROG_OPTION=something ... \
-    ..
-  make -j4
-  make install