Commit dc9972b
committed
1. Add 64bit support for UI layer:
add a cache in between native and JNI to make 64 bit pointersafe
when native passes UI pointer to JNI, an ID is assigned for the
UI pointer, and ID is passed to JNI/JAVA side; when JAVA notifies
native side for user event, JAVA pass back the given ID to
native, native do an immediate lookup to get back the UI object
pointer, and our life begins from here normally as before
2. Refactor shared code directory
created a Common directory to parallel with sample project directory
modify sample project's Android.mk under jni to use code under
Common.
Change-Id: Ie459674fa52b58561b52bbfbb98b78d4ea1684211 parent ad9e602 commit dc9972b
File tree
209 files changed
+160
-26735
lines changed- samples-android
- ButtonClicker/jni
- jui_helper
- ndk_helper
- CollectAllTheStarsNative/jni
- jui_helper
- ndk_helper
- Common
- external/jsoncpp
- include/json
- src
- jsontestrunner
- lib_json
- test_lib_json
- jui_helper
- ndk_helper
- Minimalist
- jni
- res/values
- src
- Teapot
- assets/Shaders
- jni
- res
- drawable-hdpi
- drawable-ldpi
- drawable-mdpi
- drawable-xhdpi
- layout
- values-v11
- values-v14
- values
- src/com
- google/example/nativegame
- sample/helper
- TrivialQuestNative/jni
- jui_helper
- ndk_helper
- teapot
- jni
- JavaUIHelper
- NDKHelper
- res/values
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
209 files changed
+160
-26735
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
0 commit comments