|
Refactored OpenGL embedder that works on Android, Mac or Linux.
To build on/for linux: tools/build.py -a x64 samples
To build on/for Mac: tools/build.py -a ia32 samples
To build on Linux for Android: tools/bui8ld.py --os=android samples
Note that to run on a Mac, you need to delete the first line of the
fragment shader in raytrace.dart, that says:
precision mediump float;
Committed: https://code.google.com/p/dart/source/detail?r=17161
Total comments: 28
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+3962 lines, -613 lines) |
Patch |
|
M |
dart.gyp
|
View
|
1
2
3
|
1 chunk |
+17 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/dart-runtime.gyp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_graphics_handler.h
|
View
|
1
2
3
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_graphics_handler.cc
|
View
|
1
2
3
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_input_handler.h
|
View
|
1
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_log.h
|
View
|
1
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_resource.h
|
View
|
1
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_sound_handler.h
|
View
|
1
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/android_sound_handler.cc
|
View
|
1
|
1 chunk |
+258 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/eventloop.h
|
View
|
1
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/eventloop.cc
|
View
|
1
2
3
|
1 chunk |
+238 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/main.cc
|
View
|
1
2
3
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/android/support_android.cc
|
View
|
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/context.h
|
View
|
1
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/dart_host.h
|
View
|
1
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/dart_host.cc
|
View
|
1
|
1 chunk |
+126 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/events.h
|
View
|
1
2
3
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/extension.h
|
View
|
1
2
3
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/extension.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+993 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/gl.dart
|
View
|
1
2
3
|
1 chunk |
+186 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/gl_graphics_handler.h
|
View
|
1
2
3
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/gl_graphics_handler.cc
|
View
|
1
2
3
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/graphics_handler.h
|
View
|
1
2
3
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/input_handler.h
|
View
|
1
2
3
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/input_handler.cc
|
View
|
1
2
3
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/isized.h
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/lifecycle_handler.h
|
View
|
1
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/log.h
|
View
|
1
2
3
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/opengl.h
|
View
|
1
2
3
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/resource.h
|
View
|
1
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/sample.h
|
View
|
1
2
3
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/sound_handler.h
|
View
|
1
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/sound_handler.cc
|
View
|
1
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/timer.h
|
View
|
1
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/timer.cc
|
View
|
1
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/types.h
|
View
|
1
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/vm_glue.h
|
View
|
1
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/common/vm_glue.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+344 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/emulator/emulator_embedder.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/emulator/emulator_embedder.cc
|
View
|
1
2
3
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/emulator/emulator_graphics_handler.h
|
View
|
1
2
3
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/emulator/emulator_graphics_handler.cc
|
View
|
1
2
3
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/emulator/emulator_resource.h
|
View
|
1
2
3
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
runtime/embedders/openglui/openglui_embedder.gypi
|
View
|
1
2
3
|
1 chunk |
+156 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/android_sample/AndroidManifest.xml
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
samples/android_sample/android_sample.gyp
|
View
|
1
2
3
|
2 chunks |
+35 lines, -2 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/assets/dart/android_extension.dart
|
View
|
|
1 chunk |
+0 lines, -148 lines |
0 comments
|
Download
|
|
M |
samples/android_sample/assets/dart/main.dart
|
View
|
1
2
3
|
1 chunk |
+0 lines, -359 lines |
0 comments
|
Download
|
|
M |
samples/android_sample/custom_rules.xml
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/jni/Android.mk
|
View
|
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/jni/AndroidEmbedder.mk
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/jni/AndroidExtension.mk
|
View
|
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/jni/Application.mk
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
D |
samples/android_sample/jni/DartNDK.mk
|
View
|
|
1 chunk |
+0 lines, -22 lines |
0 comments
|
Download
|
|
M |
samples/android_sample/src/com/google/dartndk/DummyActivity.java
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
A |
samples/mobile_emulator_sample/mobile_emulator_sample.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
samples/mobile_emulator_sample/mobile_emulator_sample.gyp
|
View
|
1
2
3
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
|
M |
samples/simplegl/web/gl_driver.dart
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
samples/simplegl/web/raytrace.dart
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+49 lines, -11 lines |
0 comments
|
Download
|
|
M |
samples/simplegl/web/raytrace_driver.dart
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|