Commit Graph

12047 Commits

Author SHA1 Message Date
Hak Matsuda
f39a078023 Add NDK sample to demonstrate more OpenGL&Gaming related technologies.
Change-Id: I0fb56c1fd1aa82d5a7c4da5010e00e103146ba78
2013-09-13 15:12:22 +08:00
Andrew Hsieh
445765ebe5 Merge "Fix issue 58135 about _C_LABEL_STRING macro w/o space between literal in C++" 2013-09-06 11:42:04 +00:00
Andrew Hsieh
c2e61c3c01 Fix issue 58135 about _C_LABEL_STRING macro w/o space between literal in C++
Change-Id: Iefc3c090071f3629998515d43907139b07105672
2013-09-06 17:34:31 +08:00
Andrew Hsieh
7d80bf6ab4 Merge "arch-specific diff of header" 2013-09-06 08:26:19 +00:00
Andrew Hsieh
d9124876f0 arch-specific diff of header
Change-Id: I78e2186dc7e491095201efc2c709f26e8822a076
2013-09-06 16:25:41 +08:00
Andrew Hsieh
19c6555d9d Merge "Update NDK's android headers" 2013-08-30 01:23:01 +00:00
Michael Wright
f3c3a93bc4 Update NDK's android headers
Change-Id: I2ae3b42dcbbdccbcae018f768dc7b56723416d21
2013-08-29 18:17:46 -07:00
Andrew Hsieh
54723fb6ac Merge "Remove missing functions imaxabs() and imaxdiv() from inttypes.h" 2013-08-13 03:26:13 +00:00
Grigoriy Kraynov
eaf0281f45 Remove missing functions imaxabs() and imaxdiv() from inttypes.h
Bionic does not have actual implementation of those functions.
Further implementations should be introduced in new
API-level in order to prevent break of compatibility.

Change-Id: I0aa65ea28082cf4a88c383ce0d8eceaa5288c027
Signed-off-by: Grigoriy Kraynov <grigoriy.kraynov@intel.com>
2013-08-12 16:31:10 +04:00
Andrew Hsieh
52d6614480 Merge "Update mips crtfiles from bionic with C versions" 2013-08-06 01:21:29 +00:00
Andrew Hsieh
cb4fcab5c4 Merge "Add minimal supports to build multilib x86 toolchain with OpenMP" 2013-08-06 01:21:03 +00:00
Andrew Hsieh
f43a290c1b Update mips crtfiles from bionic with C versions
Copied from bionic but adding back .ctors and .dtors to be
compatible with old Android system linkers.  Otherwise
static executable may segfault.

Change-Id: If834123161744cd2387a2c031a2315e818c2f123
2013-08-05 14:21:06 +08:00
Andrew Hsieh
2070ac6d1c Merge "Add boostrap lib to build multilib x86 GCC with OpenMP support" 2013-08-03 05:47:30 +00:00
Andrew Hsieh
09073f3d88 Add minimal supports to build multilib x86 toolchain with OpenMP
Change-Id: I095c15d2a2de11992890c2a03be0f90332d372de
2013-08-02 17:06:40 +08:00
Andrew Hsieh
aecb5c6d65 Add boostrap lib to build multilib x86 GCC with OpenMP support
Build instructions:

  cd AOSP=<your-AOSP-path>
  cd $AOSP/bionic/libc
  ln -s arch-x86 arch-x86_64

  export NDK=$AOSP/ndk
  cd $NDK
  ./build/tools/gen-platforms.sh --dst-dir=$NDK --ndk-dir=$NDK --overlay --arch=x86_64

  # copy $NDK/platforms/android-9/arch-x86_64/usr/lib, lib64, and libx32 over

Change-Id: I021a34fa139456540bc0afdb1d9636df165f92fe
2013-08-02 14:34:01 +08:00
Andrew Hsieh
18dc709e82 Merge "Fix gles3jni build with clang at android-11" 2013-08-01 00:32:31 +00:00
Andrew Hsieh
80c93fbede Fix gles3jni build with clang at android-11
jni/gl3stub.c:21:5: error: implicit declaration of function 'eglGetProcAddress' is invalid in C99
    FIND_PROC(glReadBuffer);
    ^
jni/gl3stub.c:20:37: note: expanded from macro 'FIND_PROC'
    #define FIND_PROC(s) s = (void*)eglGetProcAddress(#s)
                                    ^
1 error generated.

Change-Id: I907f33e3d88f3e96bf7958102e90bf15529748b9
2013-07-31 13:27:23 +08:00
Andrew Hsieh
445331f5e1 Merge "Add TCP_INFO state enum values." 2013-07-30 03:19:29 +00:00
Andrew Hsieh
65675341ac Add TCP_INFO state enum values.
See b.android.com/38881 and fix in bionic
0dff43cab41e4a0bd5bd018584952c68cb224977

Change-Id: I2417fe3cf43919bf363f36c337ea6813f13699d8
2013-07-29 20:15:57 -07:00
Andrew Hsieh
7a85c344ff Merge "Update x86 crtfiles from bionic with C versions" 2013-07-30 00:43:58 +00:00
Pavel Chupin
e5c9f8ec5a Update x86 crtfiles from bionic with C versions
Files are copied as is from bionic head.
Also adding arch-x86_64 symlink to be able to generate arch-x86_64
crtfiles/libs.

Change-Id: I0b40c1c19bb4e3b24b25fa2bcb9236469fa32a3e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-07-25 20:55:38 +04:00
Andrew Hsieh
f05c9f97b3 am 85f9f764: Merge "Workaround for libportable wait4 implementation."
* commit '85f9f764507761e011fc14398e7ddf08b5d383c5':
  Workaround for libportable wait4 implementation.
2013-07-22 12:14:00 -07:00
Andrew Hsieh
85f9f76450 Merge "Workaround for libportable wait4 implementation." 2013-07-22 19:11:18 +00:00
Andrew Hsieh
54009f7e95 am 5d774594: Merge "ndk: Fix WCHAR_MIN / WCHAR_MAX definitions."
* commit '5d7745946dfc76dc2c82ef4ff097dedd8913e393':
  ndk: Fix WCHAR_MIN / WCHAR_MAX definitions.
2013-07-22 09:30:19 -07:00
Andrew Hsieh
5d7745946d Merge "ndk: Fix WCHAR_MIN / WCHAR_MAX definitions." 2013-07-22 16:28:08 +00:00
David 'Digit' Turner
fe8625d401 ndk: Fix WCHAR_MIN / WCHAR_MAX definitions.
This fixes WCHAR_MIN / WCHAR_MAX to be signed / unsigned based on
the target ABI.

This only impacts ARM where wchar_t is really 'unsigned int'.
One can define _WCHAR_IS_ALWAYS_SIGNED to restore the old behaviour.

See http://b.android.com/55749

Change-Id: Idb63b7b11aecd3cfee37f5b6dd2eba78b308876f
2013-07-20 00:56:53 +02:00
Andrew Hsieh
2bb3bd5a59 am e96f2b6a: am 66623113: Merge "[MIPS] Add missing REAL macros."
* commit 'e96f2b6a5a93bbcd631070d5f1e82c8b7f845cee':
  [MIPS] Add missing REAL macros.
2013-07-15 09:38:06 -07:00
Andrew Hsieh
e96f2b6a5a am 66623113: Merge "[MIPS] Add missing REAL macros."
* commit '66623113fa2192374220e3df25fc040fa0ab6ade':
  [MIPS] Add missing REAL macros.
2013-07-15 09:35:13 -07:00
Andrew Hsieh
66623113fa Merge "[MIPS] Add missing REAL macros." 2013-07-15 16:31:38 +00:00
Lai Wei-Chih
db279bedd6 [MIPS] Add missing REAL macros.
Change-Id: If396e16a759d90f94213deb536f3d1c9dcb6c132
2013-07-15 10:09:06 +08:00
The Android Open Source Project
116ae7da76 Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: I14f58bf34aaf5bc683334aa8fc0859fa8044c69d
2013-07-11 08:23:49 -07:00
The Android Automerger
38d9178d35 merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-07-11 05:55:14 -07:00
Jesse Hall
2bfb93da26 am 4b571253: Merge "Load ES3 functions with eglGetProcAddress, not dlsym" into jb-mr2-dev
* commit '4b571253095629540ecee414caa9e601ec304e6a':
  Load ES3 functions with eglGetProcAddress, not dlsym
2013-07-10 09:36:09 -07:00
Jesse Hall
4b57125309 Merge "Load ES3 functions with eglGetProcAddress, not dlsym" into jb-mr2-dev 2013-07-10 16:32:48 +00:00
The Android Open Source Project
8289f1f450 Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: I9629362dd810549cdaad8633361e761b81fc9d5c
2013-07-10 08:34:34 -07:00
The Android Automerger
93e117c68d merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-07-10 05:55:10 -07:00
Jeff Brown
77707d620d am 8b51a39f: Merge "Revert "Remove mediarouter v7 support library from SDK."" into jb-mr2-dev
* commit '8b51a39fda458039e68b650eb46f90b95f4bddca':
  Revert "Remove mediarouter v7 support library from SDK."
2013-07-09 16:52:35 -07:00
Jeff Brown
8b51a39fda Merge "Revert "Remove mediarouter v7 support library from SDK."" into jb-mr2-dev 2013-07-09 23:44:58 +00:00
Jesse Hall
b7a2e33c11 Load ES3 functions with eglGetProcAddress, not dlsym
Using dlopen/dlsym works, but eglGetProcAddress is a little easier and
more consistent with how GL extension functions (rather than these
non-extension functions) are loaded.

Change-Id: I082c193f08f7d5456389ab783a06cd38a9632d53
2013-07-09 11:31:33 -07:00
The Android Open Source Project
044f46062a Reconcile with jb-mr2-zeroday-release - do not merge
Change-Id: Ief25c7aea75b2548938c669ca239d5178039a3f2
2013-07-09 09:37:00 -07:00
The Android Automerger
edeeb6356c merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-07-09 05:55:17 -07:00
Jeff Brown
a18be3116a Revert "Remove mediarouter v7 support library from SDK."
This reverts commit 408c184614.

Bug: 9425325
Change-Id: I340364c43f3040b454894e55a94be236ff999ce6
2013-07-09 00:35:10 +00:00
Andrew Hsieh
1175ccb028 am c7ef0a3c: am 56de69b3: Merge "ndk: <sys/cdefs.h>: make wchar_t 32-bit for all API levels."
* commit 'c7ef0a3c0379a2ca81b6f82a9746c3c5405b8598':
  ndk: <sys/cdefs.h>: make wchar_t 32-bit for all API levels.
2013-07-08 16:01:54 -07:00
Andrew Hsieh
c7ef0a3c03 am 56de69b3: Merge "ndk: <sys/cdefs.h>: make wchar_t 32-bit for all API levels."
* commit '56de69b35beee71b7575fe86c0885f12523f481e':
  ndk: <sys/cdefs.h>: make wchar_t 32-bit for all API levels.
2013-07-08 16:00:16 -07:00
Andrew Hsieh
56de69b35b Merge "ndk: <sys/cdefs.h>: make wchar_t 32-bit for all API levels." 2013-07-08 22:59:16 +00:00
Fred Chung
b597143cce am 7167a054: Bluetooth LE sample.
* commit '7167a054a8027f75025c865322fa84791a9b3bd1':
  Bluetooth LE sample.
2013-07-08 15:22:09 -07:00
Fred Chung
7167a054a8 Bluetooth LE sample.
This sample demonstrates how to communicate with a Generic Attribute Profile (GATT) server over
Bluetooth Low Energy.  This feature is available on Android 4.3 (API level 18) and above
platforms.

You can test this sample app using any Bluetooth Low Energy-capable devices.  If the device
supports the Heart Rate Profile, the app will parse and display the heart rate.

Change-Id: I69a4955cb9929f837e81ad1c19145ff45bdd27ec
2013-07-08 13:22:56 -07:00
Andrew Hsieh
822b8e0705 am c42111c3: am 7fc5e915: Merge "Fix <inttypes.h> declaration for pointer-related PRI/SCN macros."
* commit 'c42111c3ed4c48a957b810c3f4d6f9f56f2f5931':
  Fix <inttypes.h> declaration for pointer-related PRI/SCN macros.
2013-07-08 09:34:45 -07:00
Andrew Hsieh
c42111c3ed am 7fc5e915: Merge "Fix <inttypes.h> declaration for pointer-related PRI/SCN macros."
* commit '7fc5e915158c638740e7fecf270b92038c696fa3':
  Fix <inttypes.h> declaration for pointer-related PRI/SCN macros.
2013-07-08 09:32:09 -07:00
Andrew Hsieh
7fc5e91515 Merge "Fix <inttypes.h> declaration for pointer-related PRI/SCN macros." 2013-07-08 16:29:04 +00:00