├── .gitignore ├── NativeGLESView ├── .gitignore ├── .idea │ ├── compiler.xml │ ├── copyright │ │ └── profiles_settings.xml │ ├── gradle.xml │ ├── misc.xml │ ├── modules.xml │ └── runConfigurations.xml ├── app │ ├── .gitignore │ ├── CMakeLists.txt │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── weiersyuan │ │ │ └── nativeglesview │ │ │ └── ExampleInstrumentedTest.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── weiersyuan │ │ │ │ └── nativeglesview │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MyRenderer.java │ │ │ │ └── MySurfaceView.java │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── GLUtil.cpp │ │ │ ├── GLUtil.h │ │ │ ├── NativeGles.cpp │ │ │ ├── Shape.cpp │ │ │ ├── Shape.h │ │ │ └── glm │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common.hpp │ │ │ │ ├── detail │ │ │ │ ├── _features.hpp │ │ │ │ ├── _fixes.hpp │ │ │ │ ├── _noise.hpp │ │ │ │ ├── _swizzle.hpp │ │ │ │ ├── _swizzle_func.hpp │ │ │ │ ├── _vectorize.hpp │ │ │ │ ├── dummy.cpp │ │ │ │ ├── func_common.hpp │ │ │ │ ├── func_common.inl │ │ │ │ ├── func_common_simd.inl │ │ │ │ ├── func_exponential.hpp │ │ │ │ ├── func_exponential.inl │ │ │ │ ├── func_exponential_simd.inl │ │ │ │ ├── func_geometric.hpp │ │ │ │ ├── func_geometric.inl │ │ │ │ ├── func_geometric_simd.inl │ │ │ │ ├── func_integer.hpp │ │ │ │ ├── func_integer.inl │ │ │ │ ├── func_integer_simd.inl │ │ │ │ ├── func_matrix.hpp │ │ │ │ ├── func_matrix.inl │ │ │ │ ├── func_matrix_simd.inl │ │ │ │ ├── func_packing.hpp │ │ │ │ ├── func_packing.inl │ │ │ │ ├── func_packing_simd.inl │ │ │ │ ├── func_trigonometric.hpp │ │ │ │ ├── func_trigonometric.inl │ │ │ │ ├── func_trigonometric_simd.inl │ │ │ │ ├── func_vector_relational.hpp │ │ │ │ ├── func_vector_relational.inl │ │ │ │ ├── func_vector_relational_simd.inl │ │ │ │ ├── glm.cpp │ │ │ │ ├── precision.hpp │ │ │ │ ├── setup.hpp │ │ │ │ ├── type_float.hpp │ │ │ │ ├── type_gentype.hpp │ │ │ │ ├── type_gentype.inl │ │ │ │ ├── type_half.hpp │ │ │ │ ├── type_half.inl │ │ │ │ ├── type_int.hpp │ │ │ │ ├── type_mat.hpp │ │ │ │ ├── type_mat.inl │ │ │ │ ├── type_mat2x2.hpp │ │ │ │ ├── type_mat2x2.inl │ │ │ │ ├── type_mat2x3.hpp │ │ │ │ ├── type_mat2x3.inl │ │ │ │ ├── type_mat2x4.hpp │ │ │ │ ├── type_mat2x4.inl │ │ │ │ ├── type_mat3x2.hpp │ │ │ │ ├── type_mat3x2.inl │ │ │ │ ├── type_mat3x3.hpp │ │ │ │ ├── type_mat3x3.inl │ │ │ │ ├── type_mat3x4.hpp │ │ │ │ ├── type_mat3x4.inl │ │ │ │ ├── type_mat4x2.hpp │ │ │ │ ├── type_mat4x2.inl │ │ │ │ ├── type_mat4x3.hpp │ │ │ │ ├── type_mat4x3.inl │ │ │ │ ├── type_mat4x4.hpp │ │ │ │ ├── type_mat4x4.inl │ │ │ │ ├── type_mat4x4_simd.inl │ │ │ │ ├── type_vec.hpp │ │ │ │ ├── type_vec.inl │ │ │ │ ├── type_vec1.hpp │ │ │ │ ├── type_vec1.inl │ │ │ │ ├── type_vec2.hpp │ │ │ │ ├── type_vec2.inl │ │ │ │ ├── type_vec3.hpp │ │ │ │ ├── type_vec3.inl │ │ │ │ ├── type_vec4.hpp │ │ │ │ ├── type_vec4.inl │ │ │ │ └── type_vec4_simd.inl │ │ │ │ ├── exponential.hpp │ │ │ │ ├── ext.hpp │ │ │ │ ├── fwd.hpp │ │ │ │ ├── geometric.hpp │ │ │ │ ├── glm.hpp │ │ │ │ ├── gtc │ │ │ │ ├── bitfield.hpp │ │ │ │ ├── bitfield.inl │ │ │ │ ├── color_encoding.inl │ │ │ │ ├── color_space.hpp │ │ │ │ ├── color_space.inl │ │ │ │ ├── constants.hpp │ │ │ │ ├── constants.inl │ │ │ │ ├── epsilon.hpp │ │ │ │ ├── epsilon.inl │ │ │ │ ├── functions.hpp │ │ │ │ ├── functions.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── integer.inl │ │ │ │ ├── matrix_access.hpp │ │ │ │ ├── matrix_access.inl │ │ │ │ ├── matrix_integer.hpp │ │ │ │ ├── matrix_inverse.hpp │ │ │ │ ├── matrix_inverse.inl │ │ │ │ ├── matrix_transform.hpp │ │ │ │ ├── matrix_transform.inl │ │ │ │ ├── noise.hpp │ │ │ │ ├── noise.inl │ │ │ │ ├── packing.hpp │ │ │ │ ├── packing.inl │ │ │ │ ├── quaternion.hpp │ │ │ │ ├── quaternion.inl │ │ │ │ ├── quaternion_simd.inl │ │ │ │ ├── random.hpp │ │ │ │ ├── random.inl │ │ │ │ ├── reciprocal.hpp │ │ │ │ ├── reciprocal.inl │ │ │ │ ├── round.hpp │ │ │ │ ├── round.inl │ │ │ │ ├── type_aligned.hpp │ │ │ │ ├── type_precision.hpp │ │ │ │ ├── type_precision.inl │ │ │ │ ├── type_ptr.hpp │ │ │ │ ├── type_ptr.inl │ │ │ │ ├── ulp.hpp │ │ │ │ ├── ulp.inl │ │ │ │ ├── vec1.hpp │ │ │ │ └── vec1.inl │ │ │ │ ├── gtx │ │ │ │ ├── associated_min_max.hpp │ │ │ │ ├── associated_min_max.inl │ │ │ │ ├── bit.hpp │ │ │ │ ├── bit.inl │ │ │ │ ├── closest_point.hpp │ │ │ │ ├── closest_point.inl │ │ │ │ ├── color_space.hpp │ │ │ │ ├── color_space.inl │ │ │ │ ├── color_space_YCoCg.hpp │ │ │ │ ├── color_space_YCoCg.inl │ │ │ │ ├── common.hpp │ │ │ │ ├── common.inl │ │ │ │ ├── compatibility.hpp │ │ │ │ ├── compatibility.inl │ │ │ │ ├── component_wise.hpp │ │ │ │ ├── component_wise.inl │ │ │ │ ├── dual_quaternion.hpp │ │ │ │ ├── dual_quaternion.inl │ │ │ │ ├── euler_angles.hpp │ │ │ │ ├── euler_angles.inl │ │ │ │ ├── extend.hpp │ │ │ │ ├── extend.inl │ │ │ │ ├── extended_min_max.hpp │ │ │ │ ├── extended_min_max.inl │ │ │ │ ├── fast_exponential.hpp │ │ │ │ ├── fast_exponential.inl │ │ │ │ ├── fast_square_root.hpp │ │ │ │ ├── fast_square_root.inl │ │ │ │ ├── fast_trigonometry.hpp │ │ │ │ ├── fast_trigonometry.inl │ │ │ │ ├── float_notmalize.inl │ │ │ │ ├── gradient_paint.hpp │ │ │ │ ├── gradient_paint.inl │ │ │ │ ├── handed_coordinate_space.hpp │ │ │ │ ├── handed_coordinate_space.inl │ │ │ │ ├── hash.hpp │ │ │ │ ├── hash.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── integer.inl │ │ │ │ ├── intersect.hpp │ │ │ │ ├── intersect.inl │ │ │ │ ├── io.hpp │ │ │ │ ├── io.inl │ │ │ │ ├── log_base.hpp │ │ │ │ ├── log_base.inl │ │ │ │ ├── matrix_cross_product.hpp │ │ │ │ ├── matrix_cross_product.inl │ │ │ │ ├── matrix_decompose.hpp │ │ │ │ ├── matrix_decompose.inl │ │ │ │ ├── matrix_interpolation.hpp │ │ │ │ ├── matrix_interpolation.inl │ │ │ │ ├── matrix_major_storage.hpp │ │ │ │ ├── matrix_major_storage.inl │ │ │ │ ├── matrix_operation.hpp │ │ │ │ ├── matrix_operation.inl │ │ │ │ ├── matrix_query.hpp │ │ │ │ ├── matrix_query.inl │ │ │ │ ├── matrix_transform_2d.hpp │ │ │ │ ├── matrix_transform_2d.inl │ │ │ │ ├── mixed_product.hpp │ │ │ │ ├── mixed_product.inl │ │ │ │ ├── norm.hpp │ │ │ │ ├── norm.inl │ │ │ │ ├── normal.hpp │ │ │ │ ├── normal.inl │ │ │ │ ├── normalize_dot.hpp │ │ │ │ ├── normalize_dot.inl │ │ │ │ ├── number_precision.hpp │ │ │ │ ├── number_precision.inl │ │ │ │ ├── optimum_pow.hpp │ │ │ │ ├── optimum_pow.inl │ │ │ │ ├── orthonormalize.hpp │ │ │ │ ├── orthonormalize.inl │ │ │ │ ├── perpendicular.hpp │ │ │ │ ├── perpendicular.inl │ │ │ │ ├── polar_coordinates.hpp │ │ │ │ ├── polar_coordinates.inl │ │ │ │ ├── projection.hpp │ │ │ │ ├── projection.inl │ │ │ │ ├── quaternion.hpp │ │ │ │ ├── quaternion.inl │ │ │ │ ├── range.hpp │ │ │ │ ├── raw_data.hpp │ │ │ │ ├── raw_data.inl │ │ │ │ ├── rotate_normalized_axis.hpp │ │ │ │ ├── rotate_normalized_axis.inl │ │ │ │ ├── rotate_vector.hpp │ │ │ │ ├── rotate_vector.inl │ │ │ │ ├── scalar_multiplication.hpp │ │ │ │ ├── scalar_relational.hpp │ │ │ │ ├── scalar_relational.inl │ │ │ │ ├── simd_mat4.hpp │ │ │ │ ├── simd_mat4.inl │ │ │ │ ├── simd_quat.hpp │ │ │ │ ├── simd_quat.inl │ │ │ │ ├── simd_vec4.hpp │ │ │ │ ├── simd_vec4.inl │ │ │ │ ├── spline.hpp │ │ │ │ ├── spline.inl │ │ │ │ ├── std_based_type.hpp │ │ │ │ ├── std_based_type.inl │ │ │ │ ├── string_cast.hpp │ │ │ │ ├── string_cast.inl │ │ │ │ ├── transform.hpp │ │ │ │ ├── transform.inl │ │ │ │ ├── transform2.hpp │ │ │ │ ├── transform2.inl │ │ │ │ ├── type_aligned.hpp │ │ │ │ ├── type_aligned.inl │ │ │ │ ├── type_trait.hpp │ │ │ │ ├── type_trait.inl │ │ │ │ ├── vector_angle.hpp │ │ │ │ ├── vector_angle.inl │ │ │ │ ├── vector_query.hpp │ │ │ │ ├── vector_query.inl │ │ │ │ ├── wrap.hpp │ │ │ │ └── wrap.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── mat2x2.hpp │ │ │ │ ├── mat2x3.hpp │ │ │ │ ├── mat2x4.hpp │ │ │ │ ├── mat3x2.hpp │ │ │ │ ├── mat3x3.hpp │ │ │ │ ├── mat3x4.hpp │ │ │ │ ├── mat4x2.hpp │ │ │ │ ├── mat4x3.hpp │ │ │ │ ├── mat4x4.hpp │ │ │ │ ├── matrix.hpp │ │ │ │ ├── packing.hpp │ │ │ │ ├── simd │ │ │ │ ├── common.h │ │ │ │ ├── exponential.h │ │ │ │ ├── geometric.h │ │ │ │ ├── integer.h │ │ │ │ ├── matrix.h │ │ │ │ ├── packing.h │ │ │ │ ├── platform.h │ │ │ │ ├── trigonometric.h │ │ │ │ └── vector_relational.h │ │ │ │ ├── trigonometric.hpp │ │ │ │ ├── vec2.hpp │ │ │ │ ├── vec3.hpp │ │ │ │ ├── vec4.hpp │ │ │ │ └── vector_relational.hpp │ │ └── res │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── raw │ │ │ ├── fshader │ │ │ └── vshader │ │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── weiersyuan │ │ └── nativeglesview │ │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── NativeGLESViewWithEGL ├── .gitignore ├── .idea │ ├── compiler.xml │ ├── copyright │ │ └── profiles_settings.xml │ ├── gradle.xml │ ├── misc.xml │ ├── modules.xml │ └── runConfigurations.xml ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── weiersyuan │ │ │ └── nativeglesviewwithegl │ │ │ └── ExampleInstrumentedTest.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── weiersyuan │ │ │ │ └── nativeglesviewwithegl │ │ │ │ ├── MainActivity.java │ │ │ │ └── MySurfaceView.java │ │ ├── jni │ │ │ ├── Android.mk │ │ │ ├── Application.mk │ │ │ ├── GLUtil.cpp │ │ │ ├── GLUtil.h │ │ │ ├── NativeRenderImp.cpp │ │ │ ├── NativeWithEGL.cpp │ │ │ ├── Renderer.cpp │ │ │ ├── Renderer.h │ │ │ ├── Shape.cpp │ │ │ ├── Shape.h │ │ │ └── glm │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── common.hpp │ │ │ │ ├── detail │ │ │ │ ├── _features.hpp │ │ │ │ ├── _fixes.hpp │ │ │ │ ├── _noise.hpp │ │ │ │ ├── _swizzle.hpp │ │ │ │ ├── _swizzle_func.hpp │ │ │ │ ├── _vectorize.hpp │ │ │ │ ├── dummy.cpp │ │ │ │ ├── func_common.hpp │ │ │ │ ├── func_common.inl │ │ │ │ ├── func_common_simd.inl │ │ │ │ ├── func_exponential.hpp │ │ │ │ ├── func_exponential.inl │ │ │ │ ├── func_exponential_simd.inl │ │ │ │ ├── func_geometric.hpp │ │ │ │ ├── func_geometric.inl │ │ │ │ ├── func_geometric_simd.inl │ │ │ │ ├── func_integer.hpp │ │ │ │ ├── func_integer.inl │ │ │ │ ├── func_integer_simd.inl │ │ │ │ ├── func_matrix.hpp │ │ │ │ ├── func_matrix.inl │ │ │ │ ├── func_matrix_simd.inl │ │ │ │ ├── func_packing.hpp │ │ │ │ ├── func_packing.inl │ │ │ │ ├── func_packing_simd.inl │ │ │ │ ├── func_trigonometric.hpp │ │ │ │ ├── func_trigonometric.inl │ │ │ │ ├── func_trigonometric_simd.inl │ │ │ │ ├── func_vector_relational.hpp │ │ │ │ ├── func_vector_relational.inl │ │ │ │ ├── func_vector_relational_simd.inl │ │ │ │ ├── glm.cpp │ │ │ │ ├── precision.hpp │ │ │ │ ├── setup.hpp │ │ │ │ ├── type_float.hpp │ │ │ │ ├── type_gentype.hpp │ │ │ │ ├── type_gentype.inl │ │ │ │ ├── type_half.hpp │ │ │ │ ├── type_half.inl │ │ │ │ ├── type_int.hpp │ │ │ │ ├── type_mat.hpp │ │ │ │ ├── type_mat.inl │ │ │ │ ├── type_mat2x2.hpp │ │ │ │ ├── type_mat2x2.inl │ │ │ │ ├── type_mat2x3.hpp │ │ │ │ ├── type_mat2x3.inl │ │ │ │ ├── type_mat2x4.hpp │ │ │ │ ├── type_mat2x4.inl │ │ │ │ ├── type_mat3x2.hpp │ │ │ │ ├── type_mat3x2.inl │ │ │ │ ├── type_mat3x3.hpp │ │ │ │ ├── type_mat3x3.inl │ │ │ │ ├── type_mat3x4.hpp │ │ │ │ ├── type_mat3x4.inl │ │ │ │ ├── type_mat4x2.hpp │ │ │ │ ├── type_mat4x2.inl │ │ │ │ ├── type_mat4x3.hpp │ │ │ │ ├── type_mat4x3.inl │ │ │ │ ├── type_mat4x4.hpp │ │ │ │ ├── type_mat4x4.inl │ │ │ │ ├── type_mat4x4_simd.inl │ │ │ │ ├── type_vec.hpp │ │ │ │ ├── type_vec.inl │ │ │ │ ├── type_vec1.hpp │ │ │ │ ├── type_vec1.inl │ │ │ │ ├── type_vec2.hpp │ │ │ │ ├── type_vec2.inl │ │ │ │ ├── type_vec3.hpp │ │ │ │ ├── type_vec3.inl │ │ │ │ ├── type_vec4.hpp │ │ │ │ ├── type_vec4.inl │ │ │ │ └── type_vec4_simd.inl │ │ │ │ ├── exponential.hpp │ │ │ │ ├── ext.hpp │ │ │ │ ├── fwd.hpp │ │ │ │ ├── geometric.hpp │ │ │ │ ├── glm.hpp │ │ │ │ ├── gtc │ │ │ │ ├── bitfield.hpp │ │ │ │ ├── bitfield.inl │ │ │ │ ├── color_encoding.inl │ │ │ │ ├── color_space.hpp │ │ │ │ ├── color_space.inl │ │ │ │ ├── constants.hpp │ │ │ │ ├── constants.inl │ │ │ │ ├── epsilon.hpp │ │ │ │ ├── epsilon.inl │ │ │ │ ├── functions.hpp │ │ │ │ ├── functions.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── integer.inl │ │ │ │ ├── matrix_access.hpp │ │ │ │ ├── matrix_access.inl │ │ │ │ ├── matrix_integer.hpp │ │ │ │ ├── matrix_inverse.hpp │ │ │ │ ├── matrix_inverse.inl │ │ │ │ ├── matrix_transform.hpp │ │ │ │ ├── matrix_transform.inl │ │ │ │ ├── noise.hpp │ │ │ │ ├── noise.inl │ │ │ │ ├── packing.hpp │ │ │ │ ├── packing.inl │ │ │ │ ├── quaternion.hpp │ │ │ │ ├── quaternion.inl │ │ │ │ ├── quaternion_simd.inl │ │ │ │ ├── random.hpp │ │ │ │ ├── random.inl │ │ │ │ ├── reciprocal.hpp │ │ │ │ ├── reciprocal.inl │ │ │ │ ├── round.hpp │ │ │ │ ├── round.inl │ │ │ │ ├── type_aligned.hpp │ │ │ │ ├── type_precision.hpp │ │ │ │ ├── type_precision.inl │ │ │ │ ├── type_ptr.hpp │ │ │ │ ├── type_ptr.inl │ │ │ │ ├── ulp.hpp │ │ │ │ ├── ulp.inl │ │ │ │ ├── vec1.hpp │ │ │ │ └── vec1.inl │ │ │ │ ├── gtx │ │ │ │ ├── associated_min_max.hpp │ │ │ │ ├── associated_min_max.inl │ │ │ │ ├── bit.hpp │ │ │ │ ├── bit.inl │ │ │ │ ├── closest_point.hpp │ │ │ │ ├── closest_point.inl │ │ │ │ ├── color_space.hpp │ │ │ │ ├── color_space.inl │ │ │ │ ├── color_space_YCoCg.hpp │ │ │ │ ├── color_space_YCoCg.inl │ │ │ │ ├── common.hpp │ │ │ │ ├── common.inl │ │ │ │ ├── compatibility.hpp │ │ │ │ ├── compatibility.inl │ │ │ │ ├── component_wise.hpp │ │ │ │ ├── component_wise.inl │ │ │ │ ├── dual_quaternion.hpp │ │ │ │ ├── dual_quaternion.inl │ │ │ │ ├── euler_angles.hpp │ │ │ │ ├── euler_angles.inl │ │ │ │ ├── extend.hpp │ │ │ │ ├── extend.inl │ │ │ │ ├── extended_min_max.hpp │ │ │ │ ├── extended_min_max.inl │ │ │ │ ├── fast_exponential.hpp │ │ │ │ ├── fast_exponential.inl │ │ │ │ ├── fast_square_root.hpp │ │ │ │ ├── fast_square_root.inl │ │ │ │ ├── fast_trigonometry.hpp │ │ │ │ ├── fast_trigonometry.inl │ │ │ │ ├── float_notmalize.inl │ │ │ │ ├── gradient_paint.hpp │ │ │ │ ├── gradient_paint.inl │ │ │ │ ├── handed_coordinate_space.hpp │ │ │ │ ├── handed_coordinate_space.inl │ │ │ │ ├── hash.hpp │ │ │ │ ├── hash.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── integer.inl │ │ │ │ ├── intersect.hpp │ │ │ │ ├── intersect.inl │ │ │ │ ├── io.hpp │ │ │ │ ├── io.inl │ │ │ │ ├── log_base.hpp │ │ │ │ ├── log_base.inl │ │ │ │ ├── matrix_cross_product.hpp │ │ │ │ ├── matrix_cross_product.inl │ │ │ │ ├── matrix_decompose.hpp │ │ │ │ ├── matrix_decompose.inl │ │ │ │ ├── matrix_interpolation.hpp │ │ │ │ ├── matrix_interpolation.inl │ │ │ │ ├── matrix_major_storage.hpp │ │ │ │ ├── matrix_major_storage.inl │ │ │ │ ├── matrix_operation.hpp │ │ │ │ ├── matrix_operation.inl │ │ │ │ ├── matrix_query.hpp │ │ │ │ ├── matrix_query.inl │ │ │ │ ├── matrix_transform_2d.hpp │ │ │ │ ├── matrix_transform_2d.inl │ │ │ │ ├── mixed_product.hpp │ │ │ │ ├── mixed_product.inl │ │ │ │ ├── norm.hpp │ │ │ │ ├── norm.inl │ │ │ │ ├── normal.hpp │ │ │ │ ├── normal.inl │ │ │ │ ├── normalize_dot.hpp │ │ │ │ ├── normalize_dot.inl │ │ │ │ ├── number_precision.hpp │ │ │ │ ├── number_precision.inl │ │ │ │ ├── optimum_pow.hpp │ │ │ │ ├── optimum_pow.inl │ │ │ │ ├── orthonormalize.hpp │ │ │ │ ├── orthonormalize.inl │ │ │ │ ├── perpendicular.hpp │ │ │ │ ├── perpendicular.inl │ │ │ │ ├── polar_coordinates.hpp │ │ │ │ ├── polar_coordinates.inl │ │ │ │ ├── projection.hpp │ │ │ │ ├── projection.inl │ │ │ │ ├── quaternion.hpp │ │ │ │ ├── quaternion.inl │ │ │ │ ├── range.hpp │ │ │ │ ├── raw_data.hpp │ │ │ │ ├── raw_data.inl │ │ │ │ ├── rotate_normalized_axis.hpp │ │ │ │ ├── rotate_normalized_axis.inl │ │ │ │ ├── rotate_vector.hpp │ │ │ │ ├── rotate_vector.inl │ │ │ │ ├── scalar_multiplication.hpp │ │ │ │ ├── scalar_relational.hpp │ │ │ │ ├── scalar_relational.inl │ │ │ │ ├── simd_mat4.hpp │ │ │ │ ├── simd_mat4.inl │ │ │ │ ├── simd_quat.hpp │ │ │ │ ├── simd_quat.inl │ │ │ │ ├── simd_vec4.hpp │ │ │ │ ├── simd_vec4.inl │ │ │ │ ├── spline.hpp │ │ │ │ ├── spline.inl │ │ │ │ ├── std_based_type.hpp │ │ │ │ ├── std_based_type.inl │ │ │ │ ├── string_cast.hpp │ │ │ │ ├── string_cast.inl │ │ │ │ ├── transform.hpp │ │ │ │ ├── transform.inl │ │ │ │ ├── transform2.hpp │ │ │ │ ├── transform2.inl │ │ │ │ ├── type_aligned.hpp │ │ │ │ ├── type_aligned.inl │ │ │ │ ├── type_trait.hpp │ │ │ │ ├── type_trait.inl │ │ │ │ ├── vector_angle.hpp │ │ │ │ ├── vector_angle.inl │ │ │ │ ├── vector_query.hpp │ │ │ │ ├── vector_query.inl │ │ │ │ ├── wrap.hpp │ │ │ │ └── wrap.inl │ │ │ │ ├── integer.hpp │ │ │ │ ├── mat2x2.hpp │ │ │ │ ├── mat2x3.hpp │ │ │ │ ├── mat2x4.hpp │ │ │ │ ├── mat3x2.hpp │ │ │ │ ├── mat3x3.hpp │ │ │ │ ├── mat3x4.hpp │ │ │ │ ├── mat4x2.hpp │ │ │ │ ├── mat4x3.hpp │ │ │ │ ├── mat4x4.hpp │ │ │ │ ├── matrix.hpp │ │ │ │ ├── packing.hpp │ │ │ │ ├── simd │ │ │ │ ├── common.h │ │ │ │ ├── exponential.h │ │ │ │ ├── geometric.h │ │ │ │ ├── integer.h │ │ │ │ ├── matrix.h │ │ │ │ ├── packing.h │ │ │ │ ├── platform.h │ │ │ │ ├── trigonometric.h │ │ │ │ └── vector_relational.h │ │ │ │ ├── trigonometric.hpp │ │ │ │ ├── vec2.hpp │ │ │ │ ├── vec3.hpp │ │ │ │ ├── vec4.hpp │ │ │ │ └── vector_relational.hpp │ │ └── res │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── weiersyuan │ │ └── nativeglesviewwithegl │ │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── OpenGLES_FBO ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── assets │ └── obj.obj ├── bin │ ├── classes │ │ └── org │ │ │ └── obj2openjl │ │ │ ├── boxes.wvo │ │ │ └── v3 │ │ │ ├── Execute_obj2openjlv3.class │ │ │ ├── Obj2OpenJL.class │ │ │ ├── io │ │ │ └── LineReader.class │ │ │ ├── matcher │ │ │ ├── MatchHandler.class │ │ │ ├── MatchHandlerPool.class │ │ │ ├── implementation │ │ │ │ ├── FaceMatcher$FacePropertyExtractor.class │ │ │ │ ├── FaceMatcher.class │ │ │ │ ├── NormalMatcher.class │ │ │ │ ├── TextureMatcher.class │ │ │ │ └── VertexMatcher.class │ │ │ └── primitive │ │ │ │ ├── FloatMatcher.class │ │ │ │ └── ShortMatcher.class │ │ │ ├── model │ │ │ ├── BoundingBox3D.class │ │ │ ├── DirectionalVertex.class │ │ │ ├── Face.class │ │ │ ├── FaceProperty.class │ │ │ ├── Normal.class │ │ │ ├── OpenGLModelData.class │ │ │ ├── RawOpenGLModel.class │ │ │ ├── TexturePoint.class │ │ │ ├── Vertex.class │ │ │ ├── builder │ │ │ │ ├── OpenGLModelBuilder$FaceBuilder.class │ │ │ │ ├── OpenGLModelBuilder.class │ │ │ │ └── VertexManager.class │ │ │ ├── conversion │ │ │ │ ├── DrawArraysConverter.class │ │ │ │ ├── DrawElementsConverter.class │ │ │ │ ├── FloatArrayConvertible.class │ │ │ │ ├── ListConversion.class │ │ │ │ ├── OpenGLModelConverter.class │ │ │ │ └── OpenGLModelConverterImpl.class │ │ │ └── transform │ │ │ │ ├── Transformable.class │ │ │ │ ├── Transformation.class │ │ │ │ ├── array │ │ │ │ ├── ArrayTransformation$Helper.class │ │ │ │ ├── ArrayTransformation.class │ │ │ │ ├── CombineTransformation.class │ │ │ │ ├── DefaultTransformation.class │ │ │ │ ├── RotationTransformation.class │ │ │ │ └── TranslationTransformation.class │ │ │ │ └── matrix │ │ │ │ ├── RotationMatrix.class │ │ │ │ ├── ScalingMatrix.class │ │ │ │ ├── TransformationMatrix.class │ │ │ │ └── TranslationMatrix.class │ │ │ └── util │ │ │ ├── FloatArrayConvertible.class │ │ │ ├── ListUtils.class │ │ │ └── MatrixUtil.class │ ├── dexedLibs │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ └── res │ │ └── crunch │ │ ├── drawable-hdpi │ │ └── icon.png │ │ ├── drawable-ldpi │ │ └── icon.png │ │ └── drawable-mdpi │ │ └── icon.png ├── project.properties ├── res │ ├── drawable-hdpi │ │ ├── icon.png │ │ └── texture.jpg │ ├── drawable-ldpi │ │ └── icon.png │ ├── drawable-mdpi │ │ └── icon.png │ └── values │ │ └── strings.xml └── src │ ├── com │ └── opengles │ │ └── loadobj │ │ ├── MainActivity.java │ │ ├── Shape.java │ │ └── ShapeView.java │ └── org │ └── obj2openjl │ ├── boxes.wvo │ └── v3 │ ├── Execute_obj2openjlv3.java │ ├── Obj2OpenJL.java │ ├── io │ └── LineReader.java │ ├── matcher │ ├── MatchHandler.java │ ├── MatchHandlerPool.java │ ├── implementation │ │ ├── FaceMatcher.java │ │ ├── NormalMatcher.java │ │ ├── TextureMatcher.java │ │ └── VertexMatcher.java │ └── primitive │ │ ├── FloatMatcher.java │ │ └── ShortMatcher.java │ ├── model │ ├── BoundingBox3D.java │ ├── DirectionalVertex.java │ ├── Face.java │ ├── FaceProperty.java │ ├── Normal.java │ ├── OpenGLModelData.java │ ├── RawOpenGLModel.java │ ├── TexturePoint.java │ ├── Vertex.java │ ├── builder │ │ ├── OpenGLModelBuilder.java │ │ └── VertexManager.java │ ├── conversion │ │ ├── DrawArraysConverter.java │ │ ├── DrawElementsConverter.java │ │ ├── FloatArrayConvertible.java │ │ ├── ListConversion.java │ │ ├── OpenGLModelConverter.java │ │ └── OpenGLModelConverterImpl.java │ └── transform │ │ ├── Transformable.java │ │ ├── Transformation.java │ │ ├── array │ │ ├── ArrayTransformation.java │ │ ├── CombineTransformation.java │ │ ├── DefaultTransformation.java │ │ ├── RotationTransformation.java │ │ └── TranslationTransformation.java │ │ └── matrix │ │ ├── RotationMatrix.java │ │ ├── ScalingMatrix.java │ │ ├── TransformationMatrix.java │ │ └── TranslationMatrix.java │ └── util │ ├── FloatArrayConvertible.java │ ├── ListUtils.java │ └── MatrixUtil.java ├── OpenGLES_LoadObj ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── assets │ ├── obj1.obj │ └── obj2.obj ├── bin │ ├── AndroidManifest.xml │ ├── OpenGLES_LoadObj.apk │ ├── classes.dex │ ├── classes │ │ └── org │ │ │ └── obj2openjl │ │ │ ├── boxes.wvo │ │ │ └── v3 │ │ │ ├── Execute_obj2openjlv3.class │ │ │ ├── Obj2OpenJL.class │ │ │ ├── io │ │ │ └── LineReader.class │ │ │ ├── matcher │ │ │ ├── MatchHandler.class │ │ │ ├── MatchHandlerPool.class │ │ │ ├── implementation │ │ │ │ ├── FaceMatcher$FacePropertyExtractor.class │ │ │ │ ├── FaceMatcher.class │ │ │ │ ├── NormalMatcher.class │ │ │ │ ├── TextureMatcher.class │ │ │ │ └── VertexMatcher.class │ │ │ └── primitive │ │ │ │ ├── FloatMatcher.class │ │ │ │ └── ShortMatcher.class │ │ │ ├── model │ │ │ ├── BoundingBox3D.class │ │ │ ├── DirectionalVertex.class │ │ │ ├── Face.class │ │ │ ├── FaceProperty.class │ │ │ ├── Normal.class │ │ │ ├── OpenGLModelData.class │ │ │ ├── RawOpenGLModel.class │ │ │ ├── TexturePoint.class │ │ │ ├── Vertex.class │ │ │ ├── builder │ │ │ │ ├── OpenGLModelBuilder$FaceBuilder.class │ │ │ │ ├── OpenGLModelBuilder.class │ │ │ │ └── VertexManager.class │ │ │ ├── conversion │ │ │ │ ├── DrawArraysConverter.class │ │ │ │ ├── DrawElementsConverter.class │ │ │ │ ├── FloatArrayConvertible.class │ │ │ │ ├── ListConversion.class │ │ │ │ ├── OpenGLModelConverter.class │ │ │ │ └── OpenGLModelConverterImpl.class │ │ │ └── transform │ │ │ │ ├── Transformable.class │ │ │ │ ├── Transformation.class │ │ │ │ ├── array │ │ │ │ ├── ArrayTransformation$Helper.class │ │ │ │ ├── ArrayTransformation.class │ │ │ │ ├── CombineTransformation.class │ │ │ │ ├── DefaultTransformation.class │ │ │ │ ├── RotationTransformation.class │ │ │ │ └── TranslationTransformation.class │ │ │ │ └── matrix │ │ │ │ ├── RotationMatrix.class │ │ │ │ ├── ScalingMatrix.class │ │ │ │ ├── TransformationMatrix.class │ │ │ │ └── TranslationMatrix.class │ │ │ └── util │ │ │ ├── FloatArrayConvertible.class │ │ │ ├── ListUtils.class │ │ │ └── MatrixUtil.class │ ├── dexedLibs │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ ├── jarlist.cache │ ├── res │ │ └── crunch │ │ │ ├── drawable-hdpi │ │ │ └── icon.png │ │ │ ├── drawable-ldpi │ │ │ └── icon.png │ │ │ └── drawable-mdpi │ │ │ └── icon.png │ └── resources.ap_ ├── project.properties ├── res │ ├── drawable-hdpi │ │ ├── icon.png │ │ ├── t1.png │ │ ├── t2.jpg │ │ └── t3.jpg │ ├── drawable-ldpi │ │ └── icon.png │ ├── drawable-mdpi │ │ └── icon.png │ └── values │ │ └── strings.xml └── src │ ├── com │ └── opengles │ │ └── loadobj │ │ ├── MainActivity.java │ │ ├── Shape.java │ │ └── ShapeView.java │ └── org │ └── obj2openjl │ ├── boxes.wvo │ └── v3 │ ├── Execute_obj2openjlv3.java │ ├── Obj2OpenJL.java │ ├── io │ └── LineReader.java │ ├── matcher │ ├── MatchHandler.java │ ├── MatchHandlerPool.java │ ├── implementation │ │ ├── FaceMatcher.java │ │ ├── NormalMatcher.java │ │ ├── TextureMatcher.java │ │ └── VertexMatcher.java │ └── primitive │ │ ├── FloatMatcher.java │ │ └── ShortMatcher.java │ ├── model │ ├── BoundingBox3D.java │ ├── DirectionalVertex.java │ ├── Face.java │ ├── FaceProperty.java │ ├── Normal.java │ ├── OpenGLModelData.java │ ├── RawOpenGLModel.java │ ├── TexturePoint.java │ ├── Vertex.java │ ├── builder │ │ ├── OpenGLModelBuilder.java │ │ └── VertexManager.java │ ├── conversion │ │ ├── DrawArraysConverter.java │ │ ├── DrawElementsConverter.java │ │ ├── FloatArrayConvertible.java │ │ ├── ListConversion.java │ │ ├── OpenGLModelConverter.java │ │ └── OpenGLModelConverterImpl.java │ └── transform │ │ ├── Transformable.java │ │ ├── Transformation.java │ │ ├── array │ │ ├── ArrayTransformation.java │ │ ├── CombineTransformation.java │ │ ├── DefaultTransformation.java │ │ ├── RotationTransformation.java │ │ └── TranslationTransformation.java │ │ └── matrix │ │ ├── RotationMatrix.java │ │ ├── ScalingMatrix.java │ │ ├── TransformationMatrix.java │ │ └── TranslationMatrix.java │ └── util │ ├── FloatArrayConvertible.java │ ├── ListUtils.java │ └── MatrixUtil.java ├── OpenGlES_Blend ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── dexedLibs │ │ ├── android-support-v4-4ae0d28120a9cf95202ae0841bab60a5.jar │ │ ├── android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar │ │ ├── android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ └── res │ │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ └── ic_launcher.png ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_blend │ ├── MainActivity.java │ ├── Shape.java │ └── ShapeView.java ├── OpenGlES_Circle ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── AndroidManifest.xml │ ├── classes │ │ └── com │ │ │ └── example │ │ │ └── opengles_circle │ │ │ ├── BuildConfig.class │ │ │ ├── MainActivity.class │ │ │ ├── R$attr.class │ │ │ ├── R$dimen.class │ │ │ ├── R$drawable.class │ │ │ ├── R$id.class │ │ │ ├── R$layout.class │ │ │ ├── R$menu.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── R.class │ │ │ ├── SixShape.class │ │ │ ├── SixView$MyRender.class │ │ │ └── SixView.class │ └── jarlist.cache ├── gen │ └── com │ │ └── example │ │ └── opengles_circle │ │ ├── BuildConfig.java │ │ └── R.java ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_circle │ ├── MainActivity.java │ ├── SixShape.java │ └── SixView.java ├── OpenGlES_Illumination ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── AndroidManifest.xml │ ├── OpenGlES_Illumination.apk │ ├── classes.dex │ ├── classes │ │ └── com │ │ │ └── example │ │ │ └── opengles_Illumination │ │ │ ├── BuildConfig.class │ │ │ ├── MainActivity.class │ │ │ ├── R$attr.class │ │ │ ├── R$dimen.class │ │ │ ├── R$drawable.class │ │ │ ├── R$id.class │ │ │ ├── R$layout.class │ │ │ ├── R$menu.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── R.class │ │ │ ├── Rectangle.class │ │ │ ├── RectangleView$MyRender.class │ │ │ └── RectangleView.class │ ├── dexedLibs │ │ ├── android-support-v4-83343a4ed49e2cc238b67f931fd376a8.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ ├── jarlist.cache │ ├── res │ │ └── crunch │ │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ │ └── drawable-xxhdpi │ │ │ └── ic_launcher.png │ └── resources.ap_ ├── gen │ └── com │ │ └── example │ │ └── opengles_Illumination │ │ ├── BuildConfig.java │ │ └── R.java ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_Illumination │ ├── MainActivity.java │ ├── Rectangle.java │ └── RectangleView.java ├── OpenGlES_Rectangle ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── AndroidManifest.xml │ ├── OpenGlES_Rectangle.apk │ ├── classes.dex │ ├── classes │ │ └── com │ │ │ └── example │ │ │ └── opengles_rectangle │ │ │ ├── BuildConfig.class │ │ │ ├── MainActivity.class │ │ │ ├── R$attr.class │ │ │ ├── R$dimen.class │ │ │ ├── R$drawable.class │ │ │ ├── R$id.class │ │ │ ├── R$layout.class │ │ │ ├── R$menu.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── R.class │ │ │ ├── Rectangle.class │ │ │ ├── RectangleView$MyRender.class │ │ │ └── RectangleView.class │ ├── dexedLibs │ │ ├── android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ ├── jarlist.cache │ ├── res │ │ └── crunch │ │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ │ └── drawable-xxhdpi │ │ │ └── ic_launcher.png │ └── resources.ap_ ├── gen │ └── com │ │ └── example │ │ └── opengles_rectangle │ │ ├── BuildConfig.java │ │ └── R.java ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_rectangle │ ├── MainActivity.java │ ├── Rectangle.java │ └── RectangleView.java ├── OpenGlES_Rectangle2 ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── AndroidManifest.xml │ ├── classes │ │ └── com │ │ │ └── example │ │ │ └── opengles_rectangle2 │ │ │ ├── BuildConfig.class │ │ │ ├── MainActivity.class │ │ │ ├── R$attr.class │ │ │ ├── R$dimen.class │ │ │ ├── R$drawable.class │ │ │ ├── R$id.class │ │ │ ├── R$layout.class │ │ │ ├── R$menu.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── R.class │ │ │ ├── Rectangle.class │ │ │ ├── RectangleView$MyRender.class │ │ │ └── RectangleView.class │ └── jarlist.cache ├── gen │ └── com │ │ └── example │ │ └── opengles_rectangle2 │ │ ├── BuildConfig.java │ │ └── R.java ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_rectangle2 │ ├── MainActivity.java │ ├── Rectangle.java │ └── RectangleView.java ├── OpenGlES_StencilTest ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── dexedLibs │ │ ├── android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar │ │ ├── android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ └── res │ │ └── crunch │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ └── ic_launcher.png ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_stenciltest │ ├── MainActivity.java │ ├── Shape.java │ └── ShapeView.java ├── OpenGlES_Texture ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── dexedLibs │ │ ├── android-support-v4-1fbe0d3fd1f9f8668ccba2fce7656d54.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ └── res │ │ └── crunch │ │ ├── drawable-hdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png │ │ ├── drawable-mdpi │ │ ├── ic_launcher.png │ │ └── texture.png │ │ ├── drawable-xhdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png │ │ └── drawable-xxhdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png │ ├── drawable-mdpi │ │ ├── ic_launcher.png │ │ └── texture.png │ ├── drawable-xhdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png │ ├── drawable-xxhdpi │ │ ├── android_robot0.png │ │ ├── ic_launcher.png │ │ └── texture.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_texture │ ├── MainActivity.java │ ├── Rectangle.java │ └── RectangleView.java ├── OpenGlES_Texture2 ├── .classpath ├── .project ├── .settings │ └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── README.md ├── bin │ ├── dexedLibs │ │ ├── android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar │ │ ├── android-support-v4-e21a2d538a9301c0e259cdb4929c38ca.jar │ │ └── annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar │ └── res │ │ └── crunch │ │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ └── texture.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ └── drawable-xxhdpi │ │ └── ic_launcher.png ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── proguard-project.txt ├── project.properties ├── res │ ├── drawable-hdpi │ │ ├── ic_launcher.png │ │ └── texture.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ ├── layout │ │ └── activity_main.xml │ ├── menu │ │ └── main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── values-v14 │ │ └── styles.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml └── src │ └── com │ └── example │ └── opengles_texture2 │ ├── MainActivity.java │ ├── Rectangle.java │ └── RectangleView.java ├── README.md └── _config.yml /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.ap_ 4 | 5 | # Files for the ART/Dalvik VM 6 | *.dex 7 | 8 | # Java class files 9 | *.class 10 | 11 | # Generated files 12 | bin/ 13 | gen/ 14 | out/ 15 | 16 | # Gradle files 17 | .gradle/ 18 | build/ 19 | 20 | # Local configuration file (sdk path, etc) 21 | local.properties 22 | 23 | # Proguard folder generated by Eclipse 24 | proguard/ 25 | 26 | # Log Files 27 | *.log 28 | 29 | # Android Studio Navigation editor temp files 30 | .navigation/ 31 | 32 | # Android Studio captures folder 33 | captures/ 34 | 35 | # Intellij 36 | *.iml 37 | .idea/workspace.xml 38 | 39 | # Keystore files 40 | *.jks 41 | 42 | # obj middle files 43 | *.obj 44 | 45 | # lib files 46 | *.so 47 | 48 | .DS_Store -------------------------------------------------------------------------------- /NativeGLESView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /NativeGLESView/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NativeGLESView/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /NativeGLESView/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /NativeGLESView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/java/com/example/weiersyuan/nativeglesview/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.weiersyuan.nativeglesview; 2 | 3 | import android.opengl.GLSurfaceView; 4 | import android.os.Bundle; 5 | import android.support.v7.app.AppCompatActivity; 6 | 7 | public class MainActivity extends AppCompatActivity { 8 | 9 | private GLSurfaceView mGLView; 10 | @Override 11 | public void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new MySurfaceView(this); 14 | setContentView(mGLView); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := NativeGles 6 | 7 | LOCAL_SRC_FILES := GLUtil.cpp NativeGles.cpp Shape.cpp ./glm/detail/*.* ./glm/gtc/*.* ./glm/gtx/*.* ./glm/simd/*.* ./glm/*.* 8 | 9 | LOCAL_LDLIBS := -lGLESv2 -llog 10 | 11 | include $(BUILD_SHARED_LIBRARY) 12 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL :=gnustl_static -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/GLUtil.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by weiersyuan on 2016/11/24. 3 | // 4 | 5 | #ifndef NATIVEGLESVIEW_GLUTIL_H 6 | #define NATIVEGLESVIEW_GLUTIL_H 7 | 8 | #include 9 | #include 10 | #define LOGI(level, ...) __android_log_print(ANDROID_LOG_INFO, "NATIVE_LOG", __VA_ARGS__) 11 | class GLUtil { 12 | 13 | public: 14 | static int compileShader(int type, const char* shaderCode); 15 | static int createProgram(const char * vertexShaderCode, const char * fragmentShaderCode); 16 | }; 17 | 18 | 19 | #endif //NATIVEGLESVIEW_GLUTIL_H 20 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/Shape.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by weiersyuan on 2016/11/24. 3 | // 4 | 5 | #ifndef NATIVEGLESVIEW_SHAPE_H 6 | #define NATIVEGLESVIEW_SHAPE_H 7 | #include 8 | 9 | #define PI 3.1415926 10 | class Shape { 11 | public: 12 | GLint mProgram; 13 | GLint mUMVPMatrixHandle; 14 | GLint mAPositionHandle; 15 | GLint mAColorHandle; 16 | GLfloat* mVertexArray; 17 | GLfloat* mColorArray; 18 | Shape(); 19 | void initVertex(); 20 | void initGL(const char * vertexShaderCode, const char* fragmentShaderCode); 21 | void draw(float mvpMatrix[]); 22 | virtual ~Shape(); 23 | 24 | }; 25 | 26 | 27 | #endif //NATIVEGLESVIEW_SHAPE_H 28 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/common.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/common.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_common.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/_fixes.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/_fixes.hpp 3 | 4 | #include 5 | 6 | //! Workaround for compatibility with other libraries 7 | #ifdef max 8 | #undef max 9 | #endif 10 | 11 | //! Workaround for compatibility with other libraries 12 | #ifdef min 13 | #undef min 14 | #endif 15 | 16 | //! Workaround for Android 17 | #ifdef isnan 18 | #undef isnan 19 | #endif 20 | 21 | //! Workaround for Android 22 | #ifdef isinf 23 | #undef isinf 24 | #endif 25 | 26 | //! Workaround for Chrone Native Client 27 | #ifdef log2 28 | #undef log2 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/func_packing_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/func_packing_simd.inl 3 | 4 | namespace glm{ 5 | namespace detail 6 | { 7 | 8 | }//namespace detail 9 | }//namespace glm 10 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/func_trigonometric_simd.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/jni/glm/detail/func_trigonometric_simd.inl -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/func_vector_relational_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/func_vector_relational_simd.inl 3 | 4 | namespace glm{ 5 | namespace detail 6 | { 7 | 8 | }//namespace detail 9 | }//namespace glm 10 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/type_half.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_half.hpp 3 | 4 | #pragma once 5 | 6 | #include "setup.hpp" 7 | 8 | namespace glm{ 9 | namespace detail 10 | { 11 | typedef short hdata; 12 | 13 | GLM_FUNC_DECL float toFloat32(hdata value); 14 | GLM_FUNC_DECL hdata toFloat16(float const & value); 15 | 16 | }//namespace detail 17 | }//namespace glm 18 | 19 | #include "type_half.inl" 20 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/type_mat.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_mat.inl 3 | 4 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/type_mat4x4_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_mat4x4_sse2.inl 3 | 4 | namespace glm 5 | { 6 | 7 | }//namespace glm 8 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/detail/type_vec.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_vec.inl 3 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/exponential.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/exponential.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_exponential.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/geometric.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/geometric.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_geometric.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtc/type_precision.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_swizzle 2 | /// @file glm/gtc/swizzle.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtc/vec1.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_vec1 2 | /// @file glm/gtc/vec1.inl 3 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/float_notmalize.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_float_normalize 2 | /// @file glm/gtx/float_normalize.inl 3 | 4 | #include 5 | 6 | namespace glm 7 | { 8 | template class vecType> 9 | GLM_FUNC_QUALIFIER vecType floatNormalize(vecType const & v) 10 | { 11 | return vecType(v) / static_cast(std::numeric_limits::max()); 12 | } 13 | 14 | }//namespace glm 15 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/log_base.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_log_base 2 | /// @file glm/gtx/log_base.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER genType log(genType const & x, genType const & base) 8 | { 9 | assert(x != genType(0)); 10 | return glm::log(x) / glm::log(base); 11 | } 12 | 13 | template class vecType> 14 | GLM_FUNC_QUALIFIER vecType log(vecType const & x, vecType const & base) 15 | { 16 | return glm::log(x) / glm::log(base); 17 | } 18 | }//namespace glm 19 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/mixed_product.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_mixed_product 2 | /// @file glm/gtx/mixed_product.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER T mixedProduct 8 | ( 9 | tvec3 const & v1, 10 | tvec3 const & v2, 11 | tvec3 const & v3 12 | ) 13 | { 14 | return dot(cross(v1, v2), v3); 15 | } 16 | }//namespace glm 17 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/normal.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_normal 2 | /// @file glm/gtx/normal.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER tvec3 triangleNormal 8 | ( 9 | tvec3 const & p1, 10 | tvec3 const & p2, 11 | tvec3 const & p3 12 | ) 13 | { 14 | return normalize(cross(p1 - p2, p1 - p3)); 15 | } 16 | }//namespace glm 17 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/normalize_dot.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_normalize_dot 2 | /// @file glm/gtx/normalize_dot.inl 3 | 4 | namespace glm 5 | { 6 | template class vecType> 7 | GLM_FUNC_QUALIFIER T normalizeDot(vecType const & x, vecType const & y) 8 | { 9 | return glm::dot(x, y) * glm::inversesqrt(glm::dot(x, x) * glm::dot(y, y)); 10 | } 11 | 12 | template class vecType> 13 | GLM_FUNC_QUALIFIER T fastNormalizeDot(vecType const & x, vecType const & y) 14 | { 15 | return glm::dot(x, y) * glm::fastInverseSqrt(glm::dot(x, x) * glm::dot(y, y)); 16 | } 17 | }//namespace glm 18 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/number_precision.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_number_precision 2 | /// @file glm/gtx/number_precision.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/optimum_pow.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_optimum_pow 2 | /// @file glm/gtx/optimum_pow.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER genType pow2(genType const & x) 8 | { 9 | return x * x; 10 | } 11 | 12 | template 13 | GLM_FUNC_QUALIFIER genType pow3(genType const & x) 14 | { 15 | return x * x * x; 16 | } 17 | 18 | template 19 | GLM_FUNC_QUALIFIER genType pow4(genType const & x) 20 | { 21 | return (x * x) * (x * x); 22 | } 23 | }//namespace glm 24 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/perpendicular.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_perpendicular 2 | /// @file glm/gtx/perpendicular.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER vecType perp 8 | ( 9 | vecType const & x, 10 | vecType const & Normal 11 | ) 12 | { 13 | return x - proj(x, Normal); 14 | } 15 | }//namespace glm 16 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/projection.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_projection 2 | /// @file glm/gtx/projection.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER vecType proj(vecType const & x, vecType const & Normal) 8 | { 9 | return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal; 10 | } 11 | }//namespace glm 12 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/raw_data.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_raw_data 2 | /// @file glm/gtx/raw_data.inl 3 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/std_based_type.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_std_based_type 2 | /// @file glm/gtx/std_based_type.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/transform.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_transform 2 | /// @file glm/gtx/transform.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER tmat4x4 translate(tvec3 const & v) 8 | { 9 | return translate(tmat4x4(static_cast(1)), v); 10 | } 11 | 12 | template 13 | GLM_FUNC_QUALIFIER tmat4x4 rotate(T angle, tvec3 const & v) 14 | { 15 | return rotate(tmat4x4(static_cast(1)), angle, v); 16 | } 17 | 18 | template 19 | GLM_FUNC_QUALIFIER tmat4x4 scale(tvec3 const & v) 20 | { 21 | return scale(tmat4x4(static_cast(1)), v); 22 | } 23 | 24 | }//namespace glm 25 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/type_aligned.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_type_aligned 2 | /// @file glm/gtc/type_aligned.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/gtx/type_trait.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/jni/glm/gtx/type_trait.inl -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/integer.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/integer.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_integer.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/matrix.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/matrix.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_matrix.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/packing.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/packing.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_packing.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/simd/exponential.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/experimental.h 3 | 4 | #pragma once 5 | 6 | #include "platform.h" 7 | 8 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | 10 | GLM_FUNC_QUALIFIER glm_vec4 glm_vec1_sqrt_lowp(glm_vec4 x) 11 | { 12 | return _mm_mul_ss(_mm_rsqrt_ss(x), x); 13 | } 14 | 15 | GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_sqrt_lowp(glm_vec4 x) 16 | { 17 | return _mm_mul_ps(_mm_rsqrt_ps(x), x); 18 | } 19 | 20 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 21 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/simd/packing.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/packing.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/simd/trigonometric.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/trigonometric.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | 10 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/simd/vector_relational.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/vector_relational.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/trigonometric.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/trigonometric.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_trigonometric.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/vec2.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec2.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec2.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/vec3.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec3.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec3.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/vec4.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec4.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec4.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/jni/glm/vector_relational.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vector_relational.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_vector_relational.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/raw/fshader: -------------------------------------------------------------------------------- 1 | precision mediump float; 2 | varying vec4 vColor; 3 | void main() 4 | { 5 | gl_FragColor = vColor; 6 | } 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/raw/vshader: -------------------------------------------------------------------------------- 1 | attribute vec4 aPosition; 2 | attribute vec4 aColor; 3 | varying vec4 vColor; 4 | uniform mat4 uMVPMatrix; 5 | void main() 6 | { 7 | gl_Position = uMVPMatrix * aPosition; 8 | vColor = aColor; 9 | } 10 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | NativeGLESView 3 | 4 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /NativeGLESView/app/src/test/java/com/example/weiersyuan/nativeglesview/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.weiersyuan.nativeglesview; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /NativeGLESView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /NativeGLESView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /NativeGLESView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /NativeGLESView/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/java/com/example/weiersyuan/nativeglesviewwithegl/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.weiersyuan.nativeglesviewwithegl; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.view.SurfaceView; 6 | 7 | public class MainActivity extends AppCompatActivity { 8 | 9 | private SurfaceView mView; 10 | @Override 11 | public void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mView = new MySurfaceView(this); 14 | setContentView(mView); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := NativeWithEGL 6 | 7 | LOCAL_SRC_FILES := NativeRenderImp.cpp Renderer.cpp NativeWithEGL.cpp GLUtil.cpp Shape.cpp ./glm/detail/*.* ./glm/gtc/*.* ./glm/gtx/*.* ./glm/simd/*.* ./glm/*.* 8 | 9 | LOCAL_LDLIBS := -lGLESv2 -llog -lEGL -landroid 10 | 11 | include $(BUILD_SHARED_LIBRARY) 12 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := stlport_static 2 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/GLUtil.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by weiersyuan on 2016/11/24. 3 | // 4 | 5 | #ifndef NATIVEGLESVIEW_GLUTIL_H 6 | #define NATIVEGLESVIEW_GLUTIL_H 7 | 8 | #include 9 | #include 10 | #define LOGI(level, ...) __android_log_print(ANDROID_LOG_INFO, "NATIVE_LOG", __VA_ARGS__) 11 | class GLUtil { 12 | 13 | public: 14 | static int compileShader(int type, const char* shaderCode); 15 | static int createProgram(const char * vertexShaderCode, const char * fragmentShaderCode); 16 | }; 17 | 18 | 19 | #endif //NATIVEGLESVIEW_GLUTIL_H 20 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/Shape.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by weiersyuan on 2016/11/24. 3 | // 4 | 5 | #ifndef NATIVEGLESVIEW_SHAPE_H 6 | #define NATIVEGLESVIEW_SHAPE_H 7 | #include 8 | 9 | #define PI 3.1415926 10 | class Shape { 11 | public: 12 | GLint mProgram; 13 | GLint mUMVPMatrixHandle; 14 | GLint mAPositionHandle; 15 | GLint mAColorHandle; 16 | GLfloat* mVertexArray; 17 | GLfloat* mColorArray; 18 | Shape(); 19 | void initVertex(); 20 | void initGL(const char * vertexShaderCode, const char* fragmentShaderCode); 21 | void draw(float mvpMatrix[]); 22 | virtual ~Shape(); 23 | 24 | }; 25 | 26 | 27 | #endif //NATIVEGLESVIEW_SHAPE_H 28 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/common.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/common.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_common.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/_fixes.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/_fixes.hpp 3 | 4 | #include 5 | 6 | //! Workaround for compatibility with other libraries 7 | #ifdef max 8 | #undef max 9 | #endif 10 | 11 | //! Workaround for compatibility with other libraries 12 | #ifdef min 13 | #undef min 14 | #endif 15 | 16 | //! Workaround for Android 17 | #ifdef isnan 18 | #undef isnan 19 | #endif 20 | 21 | //! Workaround for Android 22 | #ifdef isinf 23 | #undef isinf 24 | #endif 25 | 26 | //! Workaround for Chrone Native Client 27 | #ifdef log2 28 | #undef log2 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/func_packing_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/func_packing_simd.inl 3 | 4 | namespace glm{ 5 | namespace detail 6 | { 7 | 8 | }//namespace detail 9 | }//namespace glm 10 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/func_trigonometric_simd.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/jni/glm/detail/func_trigonometric_simd.inl -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/func_vector_relational_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/func_vector_relational_simd.inl 3 | 4 | namespace glm{ 5 | namespace detail 6 | { 7 | 8 | }//namespace detail 9 | }//namespace glm 10 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/type_half.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_half.hpp 3 | 4 | #pragma once 5 | 6 | #include "setup.hpp" 7 | 8 | namespace glm{ 9 | namespace detail 10 | { 11 | typedef short hdata; 12 | 13 | GLM_FUNC_DECL float toFloat32(hdata value); 14 | GLM_FUNC_DECL hdata toFloat16(float const & value); 15 | 16 | }//namespace detail 17 | }//namespace glm 18 | 19 | #include "type_half.inl" 20 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/type_mat.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_mat.inl 3 | 4 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/type_mat4x4_simd.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_mat4x4_sse2.inl 3 | 4 | namespace glm 5 | { 6 | 7 | }//namespace glm 8 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/detail/type_vec.inl: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/detail/type_vec.inl 3 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/exponential.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/exponential.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_exponential.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/geometric.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/geometric.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_geometric.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtc/type_precision.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_swizzle 2 | /// @file glm/gtc/swizzle.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtc/vec1.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_vec1 2 | /// @file glm/gtc/vec1.inl 3 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/float_notmalize.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_float_normalize 2 | /// @file glm/gtx/float_normalize.inl 3 | 4 | #include 5 | 6 | namespace glm 7 | { 8 | template class vecType> 9 | GLM_FUNC_QUALIFIER vecType floatNormalize(vecType const & v) 10 | { 11 | return vecType(v) / static_cast(std::numeric_limits::max()); 12 | } 13 | 14 | }//namespace glm 15 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/log_base.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_log_base 2 | /// @file glm/gtx/log_base.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER genType log(genType const & x, genType const & base) 8 | { 9 | assert(x != genType(0)); 10 | return glm::log(x) / glm::log(base); 11 | } 12 | 13 | template class vecType> 14 | GLM_FUNC_QUALIFIER vecType log(vecType const & x, vecType const & base) 15 | { 16 | return glm::log(x) / glm::log(base); 17 | } 18 | }//namespace glm 19 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/mixed_product.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_mixed_product 2 | /// @file glm/gtx/mixed_product.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER T mixedProduct 8 | ( 9 | tvec3 const & v1, 10 | tvec3 const & v2, 11 | tvec3 const & v3 12 | ) 13 | { 14 | return dot(cross(v1, v2), v3); 15 | } 16 | }//namespace glm 17 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/normal.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_normal 2 | /// @file glm/gtx/normal.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER tvec3 triangleNormal 8 | ( 9 | tvec3 const & p1, 10 | tvec3 const & p2, 11 | tvec3 const & p3 12 | ) 13 | { 14 | return normalize(cross(p1 - p2, p1 - p3)); 15 | } 16 | }//namespace glm 17 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/normalize_dot.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_normalize_dot 2 | /// @file glm/gtx/normalize_dot.inl 3 | 4 | namespace glm 5 | { 6 | template class vecType> 7 | GLM_FUNC_QUALIFIER T normalizeDot(vecType const & x, vecType const & y) 8 | { 9 | return glm::dot(x, y) * glm::inversesqrt(glm::dot(x, x) * glm::dot(y, y)); 10 | } 11 | 12 | template class vecType> 13 | GLM_FUNC_QUALIFIER T fastNormalizeDot(vecType const & x, vecType const & y) 14 | { 15 | return glm::dot(x, y) * glm::fastInverseSqrt(glm::dot(x, x) * glm::dot(y, y)); 16 | } 17 | }//namespace glm 18 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/number_precision.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_number_precision 2 | /// @file glm/gtx/number_precision.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/optimum_pow.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_optimum_pow 2 | /// @file glm/gtx/optimum_pow.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER genType pow2(genType const & x) 8 | { 9 | return x * x; 10 | } 11 | 12 | template 13 | GLM_FUNC_QUALIFIER genType pow3(genType const & x) 14 | { 15 | return x * x * x; 16 | } 17 | 18 | template 19 | GLM_FUNC_QUALIFIER genType pow4(genType const & x) 20 | { 21 | return (x * x) * (x * x); 22 | } 23 | }//namespace glm 24 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/perpendicular.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_perpendicular 2 | /// @file glm/gtx/perpendicular.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER vecType perp 8 | ( 9 | vecType const & x, 10 | vecType const & Normal 11 | ) 12 | { 13 | return x - proj(x, Normal); 14 | } 15 | }//namespace glm 16 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/projection.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_projection 2 | /// @file glm/gtx/projection.inl 3 | 4 | namespace glm 5 | { 6 | template 7 | GLM_FUNC_QUALIFIER vecType proj(vecType const & x, vecType const & Normal) 8 | { 9 | return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal; 10 | } 11 | }//namespace glm 12 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/raw_data.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_raw_data 2 | /// @file glm/gtx/raw_data.inl 3 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/std_based_type.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtx_std_based_type 2 | /// @file glm/gtx/std_based_type.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/type_aligned.inl: -------------------------------------------------------------------------------- 1 | /// @ref gtc_type_aligned 2 | /// @file glm/gtc/type_aligned.inl 3 | 4 | namespace glm 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/type_trait.inl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/jni/glm/gtx/type_trait.inl -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/integer.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/integer.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_integer.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/matrix.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/matrix.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_matrix.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/packing.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/packing.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_packing.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/simd/exponential.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/experimental.h 3 | 4 | #pragma once 5 | 6 | #include "platform.h" 7 | 8 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | 10 | GLM_FUNC_QUALIFIER glm_vec4 glm_vec1_sqrt_lowp(glm_vec4 x) 11 | { 12 | return _mm_mul_ss(_mm_rsqrt_ss(x), x); 13 | } 14 | 15 | GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_sqrt_lowp(glm_vec4 x) 16 | { 17 | return _mm_mul_ps(_mm_rsqrt_ps(x), x); 18 | } 19 | 20 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 21 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/simd/packing.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/packing.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/simd/trigonometric.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/trigonometric.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | 10 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/simd/vector_relational.h: -------------------------------------------------------------------------------- 1 | /// @ref simd 2 | /// @file glm/simd/vector_relational.h 3 | 4 | #pragma once 5 | 6 | #if GLM_ARCH & GLM_ARCH_SSE2_BIT 7 | 8 | #endif//GLM_ARCH & GLM_ARCH_SSE2_BIT 9 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/trigonometric.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/trigonometric.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_trigonometric.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/vec2.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec2.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec2.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/vec3.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec3.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec3.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/vec4.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vec4.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/type_vec4.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/jni/glm/vector_relational.hpp: -------------------------------------------------------------------------------- 1 | /// @ref core 2 | /// @file glm/vector_relational.hpp 3 | 4 | #pragma once 5 | 6 | #include "detail/func_vector_relational.hpp" 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | NativeGLESViewWithEGL 3 | 4 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/app/src/test/java/com/example/weiersyuan/nativeglesviewwithegl/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.weiersyuan.nativeglesviewwithegl; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.2.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/NativeGLESViewWithEGL/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /NativeGLESViewWithEGL/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /OpenGLES_FBO/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGLES_FBO/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Wed Jan 05 21:56:15 CST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.6 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.6 13 | -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/Execute_obj2openjlv3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/Execute_obj2openjlv3.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/Obj2OpenJL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/Obj2OpenJL.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/io/LineReader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/io/LineReader.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/MatchHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/MatchHandler.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/MatchHandlerPool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/MatchHandlerPool.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher$FacePropertyExtractor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher$FacePropertyExtractor.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/NormalMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/NormalMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/TextureMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/TextureMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/VertexMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/implementation/VertexMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/primitive/FloatMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/primitive/FloatMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/primitive/ShortMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/matcher/primitive/ShortMatcher.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/BoundingBox3D.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/BoundingBox3D.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/DirectionalVertex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/DirectionalVertex.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Face.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Face.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/FaceProperty.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/FaceProperty.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Normal.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Normal.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/OpenGLModelData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/OpenGLModelData.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/RawOpenGLModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/RawOpenGLModel.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/TexturePoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/TexturePoint.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Vertex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/Vertex.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder$FaceBuilder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder$FaceBuilder.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/VertexManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/builder/VertexManager.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/DrawArraysConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/DrawArraysConverter.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/DrawElementsConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/DrawElementsConverter.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/ListConversion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/ListConversion.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverterImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverterImpl.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/Transformable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/Transformable.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/Transformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/Transformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation$Helper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation$Helper.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/CombineTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/CombineTransformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/DefaultTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/DefaultTransformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/RotationTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/RotationTransformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/TranslationTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/array/TranslationTransformation.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/RotationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/RotationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/TransformationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/TransformationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/FloatArrayConvertible.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/FloatArrayConvertible.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/ListUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/ListUtils.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/MatrixUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/classes/org/obj2openjl/v3/util/MatrixUtil.class -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/res/crunch/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/res/crunch/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/res/crunch/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/res/crunch/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/bin/res/crunch/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/bin/res/crunch/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Indicates whether an apk should be generated for each density. 14 | split.density=false 15 | # Project target. 16 | target=android-15 17 | -------------------------------------------------------------------------------- /OpenGLES_FBO/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/res/drawable-hdpi/texture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/res/drawable-hdpi/texture.jpg -------------------------------------------------------------------------------- /OpenGLES_FBO/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_FBO/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_FBO/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | OpenGLES_FBO 4 | 5 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/com/opengles/loadobj/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.opengles.loadobj; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private ShapeView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new ShapeView(this); 14 | setContentView(mGLView); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/matcher/primitive/FloatMatcher.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.matcher.primitive; 2 | 3 | import java.util.regex.Pattern; 4 | 5 | import org.obj2openjl.v3.matcher.MatchHandler; 6 | 7 | public class FloatMatcher extends MatchHandler { 8 | 9 | private Pattern floatNumberPattern = Pattern.compile("[+-]?[0-9]*\\.[0-9]*"); 10 | 11 | @Override 12 | protected Pattern getPattern() { 13 | return this.floatNumberPattern; 14 | } 15 | 16 | boolean print = false; 17 | 18 | @Override 19 | protected void handleMatch(String group) { 20 | Float f = Float.parseFloat(group); 21 | this.addMatch(f); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/matcher/primitive/ShortMatcher.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.matcher.primitive; 2 | 3 | import java.util.regex.Pattern; 4 | 5 | import org.obj2openjl.v3.matcher.MatchHandler; 6 | 7 | public class ShortMatcher extends MatchHandler { 8 | 9 | private Pattern shortNumberPattern = Pattern.compile("-?[1-9]++[0-9]*"); 10 | 11 | @Override 12 | protected Pattern getPattern() { 13 | return this.shortNumberPattern; 14 | } 15 | 16 | @Override 17 | protected void handleMatch(String group) { 18 | this.addMatch(Short.parseShort(group)); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/Face.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model; 2 | 3 | import java.util.Iterator; 4 | import java.util.List; 5 | 6 | public class Face { 7 | 8 | private List vertices; 9 | 10 | public Face(List vertices) { 11 | this.vertices = vertices; 12 | } 13 | 14 | public List getVertices() { 15 | return vertices; 16 | } 17 | 18 | public String toString() { 19 | Iterator it = this.vertices.iterator(); 20 | 21 | String res = ""; 22 | while(it.hasNext()) { 23 | res += it.next().toString() + "\n"; 24 | } 25 | 26 | return res; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/conversion/DrawArraysConverter.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | import org.obj2openjl.v3.model.DirectionalVertex; 4 | 5 | public class DrawArraysConverter extends OpenGLModelConverterImpl { 6 | 7 | //private short index = 0; 8 | 9 | @Override 10 | protected void handleDirectionalVertex(DirectionalVertex vertex) { 11 | this.addVertex(vertex.getVertex()); 12 | this.addNormal(vertex.getNormal()); 13 | this.addTextureCoordinates(vertex.getTexturePoint()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | public abstract class FloatArrayConvertible { 4 | 5 | public abstract Float[] getFloatValues(); 6 | 7 | } -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | import java.util.List; 4 | 5 | import org.obj2openjl.v3.model.Face; 6 | import org.obj2openjl.v3.model.OpenGLModelData; 7 | 8 | public interface OpenGLModelConverter { 9 | 10 | public OpenGLModelData convert(List faces); 11 | 12 | } -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/transform/Transformable.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform; 2 | 3 | public interface Transformable { 4 | 5 | public float getX(); 6 | public float getY(); 7 | public float getZ(); 8 | public void setX(float x); 9 | public void setY(float y); 10 | public void setZ(float z); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform.matrix; 2 | 3 | 4 | public class ScalingMatrix extends TransformationMatrix { 5 | 6 | public ScalingMatrix(float x, float y, float z) { 7 | super(x, y, z); 8 | } 9 | 10 | @Override 11 | protected double[][] buildMatrix() { 12 | float x = this.x; 13 | float y = this.y; 14 | float z = this.z; 15 | return new double[][] { 16 | {x, 0, 0, 0}, 17 | {0, y, 0, 0}, 18 | {0, 0, z, 0}, 19 | {0, 0, 0, 1} 20 | }; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform.matrix; 2 | 3 | 4 | public class TranslationMatrix extends TransformationMatrix { 5 | 6 | public TranslationMatrix(float x, float y, float z) { 7 | super(x, y, z); 8 | } 9 | 10 | @Override 11 | protected double[][] buildMatrix() { 12 | float x = this.x; 13 | float y = this.y; 14 | float z = this.z; 15 | return new double[][] { 16 | {1, 0, 0, x}, 17 | {0, 1, 0, y}, 18 | {0, 0, 1, z}, 19 | {0, 0, 0, 1} 20 | }; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /OpenGLES_FBO/src/org/obj2openjl/v3/util/FloatArrayConvertible.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.util; 2 | 3 | public abstract class FloatArrayConvertible { 4 | 5 | public abstract Float[] getFloatValues(); 6 | 7 | } -------------------------------------------------------------------------------- /OpenGLES_LoadObj/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | #Wed Jan 05 21:56:15 CST 2011 2 | eclipse.preferences.version=1 3 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.6 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.source=1.6 13 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/OpenGLES_LoadObj.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/OpenGLES_LoadObj.apk -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes.dex -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/Execute_obj2openjlv3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/Execute_obj2openjlv3.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/Obj2OpenJL.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/Obj2OpenJL.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/io/LineReader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/io/LineReader.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/MatchHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/MatchHandler.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/MatchHandlerPool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/MatchHandlerPool.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher$FacePropertyExtractor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher$FacePropertyExtractor.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/FaceMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/NormalMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/NormalMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/TextureMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/TextureMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/VertexMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/implementation/VertexMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/primitive/FloatMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/primitive/FloatMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/primitive/ShortMatcher.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/matcher/primitive/ShortMatcher.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/BoundingBox3D.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/BoundingBox3D.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/DirectionalVertex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/DirectionalVertex.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Face.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Face.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/FaceProperty.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/FaceProperty.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Normal.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Normal.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/OpenGLModelData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/OpenGLModelData.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/RawOpenGLModel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/RawOpenGLModel.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/TexturePoint.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/TexturePoint.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Vertex.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/Vertex.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder$FaceBuilder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder$FaceBuilder.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/OpenGLModelBuilder.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/VertexManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/builder/VertexManager.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/DrawArraysConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/DrawArraysConverter.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/DrawElementsConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/DrawElementsConverter.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/ListConversion.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/ListConversion.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverterImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/conversion/OpenGLModelConverterImpl.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/Transformable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/Transformable.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/Transformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/Transformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation$Helper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation$Helper.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/ArrayTransformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/CombineTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/CombineTransformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/DefaultTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/DefaultTransformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/RotationTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/RotationTransformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/TranslationTransformation.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/array/TranslationTransformation.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/RotationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/RotationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/TransformationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/TransformationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/FloatArrayConvertible.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/FloatArrayConvertible.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/ListUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/ListUtils.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/MatrixUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/classes/org/obj2openjl/v3/util/MatrixUtil.class -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/res/crunch/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/res/crunch/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/res/crunch/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/res/crunch/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/res/crunch/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/res/crunch/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/bin/resources.ap_ -------------------------------------------------------------------------------- /OpenGLES_LoadObj/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Indicates whether an apk should be generated for each density. 14 | split.density=false 15 | # Project target. 16 | target=android-15 17 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-hdpi/t1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-hdpi/t1.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-hdpi/t2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-hdpi/t2.jpg -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-hdpi/t3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-hdpi/t3.jpg -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGLES_LoadObj/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /OpenGLES_LoadObj/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | OpenGLES_LoadObj 4 | 5 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/com/opengles/loadobj/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.opengles.loadobj; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private ShapeView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new ShapeView(this); 14 | setContentView(mGLView); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/matcher/primitive/FloatMatcher.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.matcher.primitive; 2 | 3 | import java.util.regex.Pattern; 4 | 5 | import org.obj2openjl.v3.matcher.MatchHandler; 6 | 7 | public class FloatMatcher extends MatchHandler { 8 | 9 | private Pattern floatNumberPattern = Pattern.compile("[+-]?[0-9]*\\.[0-9]*"); 10 | 11 | @Override 12 | protected Pattern getPattern() { 13 | return this.floatNumberPattern; 14 | } 15 | 16 | boolean print = false; 17 | 18 | @Override 19 | protected void handleMatch(String group) { 20 | Float f = Float.parseFloat(group); 21 | this.addMatch(f); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/matcher/primitive/ShortMatcher.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.matcher.primitive; 2 | 3 | import java.util.regex.Pattern; 4 | 5 | import org.obj2openjl.v3.matcher.MatchHandler; 6 | 7 | public class ShortMatcher extends MatchHandler { 8 | 9 | private Pattern shortNumberPattern = Pattern.compile("-?[1-9]++[0-9]*"); 10 | 11 | @Override 12 | protected Pattern getPattern() { 13 | return this.shortNumberPattern; 14 | } 15 | 16 | @Override 17 | protected void handleMatch(String group) { 18 | this.addMatch(Short.parseShort(group)); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/Face.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model; 2 | 3 | import java.util.Iterator; 4 | import java.util.List; 5 | 6 | public class Face { 7 | 8 | private List vertices; 9 | 10 | public Face(List vertices) { 11 | this.vertices = vertices; 12 | } 13 | 14 | public List getVertices() { 15 | return vertices; 16 | } 17 | 18 | public String toString() { 19 | Iterator it = this.vertices.iterator(); 20 | 21 | String res = ""; 22 | while(it.hasNext()) { 23 | res += it.next().toString() + "\n"; 24 | } 25 | 26 | return res; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/conversion/DrawArraysConverter.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | import org.obj2openjl.v3.model.DirectionalVertex; 4 | 5 | public class DrawArraysConverter extends OpenGLModelConverterImpl { 6 | 7 | //private short index = 0; 8 | 9 | @Override 10 | protected void handleDirectionalVertex(DirectionalVertex vertex) { 11 | this.addVertex(vertex.getVertex()); 12 | this.addNormal(vertex.getNormal()); 13 | this.addTextureCoordinates(vertex.getTexturePoint()); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/conversion/FloatArrayConvertible.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | public abstract class FloatArrayConvertible { 4 | 5 | public abstract Float[] getFloatValues(); 6 | 7 | } -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/conversion/OpenGLModelConverter.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.conversion; 2 | 3 | import java.util.List; 4 | 5 | import org.obj2openjl.v3.model.Face; 6 | import org.obj2openjl.v3.model.OpenGLModelData; 7 | 8 | public interface OpenGLModelConverter { 9 | 10 | public OpenGLModelData convert(List faces); 11 | 12 | } -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/transform/Transformable.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform; 2 | 3 | public interface Transformable { 4 | 5 | public float getX(); 6 | public float getY(); 7 | public float getZ(); 8 | public void setX(float x); 9 | public void setY(float y); 10 | public void setZ(float z); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/transform/matrix/ScalingMatrix.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform.matrix; 2 | 3 | 4 | public class ScalingMatrix extends TransformationMatrix { 5 | 6 | public ScalingMatrix(float x, float y, float z) { 7 | super(x, y, z); 8 | } 9 | 10 | @Override 11 | protected double[][] buildMatrix() { 12 | float x = this.x; 13 | float y = this.y; 14 | float z = this.z; 15 | return new double[][] { 16 | {x, 0, 0, 0}, 17 | {0, y, 0, 0}, 18 | {0, 0, z, 0}, 19 | {0, 0, 0, 1} 20 | }; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/model/transform/matrix/TranslationMatrix.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.model.transform.matrix; 2 | 3 | 4 | public class TranslationMatrix extends TransformationMatrix { 5 | 6 | public TranslationMatrix(float x, float y, float z) { 7 | super(x, y, z); 8 | } 9 | 10 | @Override 11 | protected double[][] buildMatrix() { 12 | float x = this.x; 13 | float y = this.y; 14 | float z = this.z; 15 | return new double[][] { 16 | {1, 0, 0, x}, 17 | {0, 1, 0, y}, 18 | {0, 0, 1, z}, 19 | {0, 0, 0, 1} 20 | }; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /OpenGLES_LoadObj/src/org/obj2openjl/v3/util/FloatArrayConvertible.java: -------------------------------------------------------------------------------- 1 | package org.obj2openjl.v3.util; 2 | 3 | public abstract class FloatArrayConvertible { 4 | 5 | public abstract Float[] getFloatValues(); 6 | 7 | } -------------------------------------------------------------------------------- /OpenGlES_Blend/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Blend/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Blend/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/dexedLibs/android-support-v4-4ae0d28120a9cf95202ae0841bab60a5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/dexedLibs/android-support-v4-4ae0d28120a9cf95202ae0841bab60a5.jar -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/dexedLibs/android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/dexedLibs/android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Blend/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Blend/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Blend/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Blend/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Blend/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | opengles_blend 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Circle/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Circle/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Circle/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_1_CircleShape" 2 | -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/BuildConfig.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/MainActivity.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$attr.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$dimen.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$drawable.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$id.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$layout.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$menu.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$string.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R$style.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/R.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixShape.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixShape.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixView$MyRender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixView$MyRender.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/bin/classes/com/example/opengles_circle/SixView.class -------------------------------------------------------------------------------- /OpenGlES_Circle/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /OpenGlES_Circle/gen/com/example/opengles_circle/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.opengles_circle; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /OpenGlES_Circle/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Circle/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Circle/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Circle/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Circle/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Circle/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Circle/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Circle/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Circle/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Circle 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Circle/src/com/example/opengles_circle/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.opengles_circle; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private SixView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new SixView(this); 14 | setContentView(mGLView); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | "# PerspectiveProjection-" 3 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/OpenGlES_Illumination.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/OpenGlES_Illumination.apk -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes.dex -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/BuildConfig.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/MainActivity.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$attr.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$dimen.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$drawable.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$id.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$layout.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$menu.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$string.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R$style.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/R.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/Rectangle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/Rectangle.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/RectangleView$MyRender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/RectangleView$MyRender.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/RectangleView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/classes/com/example/opengles_Illumination/RectangleView.class -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/dexedLibs/android-support-v4-83343a4ed49e2cc238b67f931fd376a8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/dexedLibs/android-support-v4-83343a4ed49e2cc238b67f931fd376a8.jar -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/bin/resources.ap_ -------------------------------------------------------------------------------- /OpenGlES_Illumination/gen/com/example/opengles_Illumination/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.opengles_Illumination; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /OpenGlES_Illumination/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Illumination/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Illumination/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Illumination 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Illumination/src/com/example/opengles_Illumination/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.opengles_Illumination; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private RectangleView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new RectangleView(this); 14 | setContentView(mGLView); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/OpenGlES_Rectangle.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/OpenGlES_Rectangle.apk -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes.dex -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/BuildConfig.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/MainActivity.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$attr.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$dimen.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$drawable.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$id.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$layout.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$menu.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$string.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R$style.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/R.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/Rectangle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/Rectangle.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/RectangleView$MyRender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/RectangleView$MyRender.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/RectangleView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/classes/com/example/opengles_rectangle/RectangleView.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/bin/resources.ap_ -------------------------------------------------------------------------------- /OpenGlES_Rectangle/gen/com/example/opengles_rectangle/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.opengles_rectangle; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /OpenGlES_Rectangle/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Rectangle/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Circle 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle/src/com/example/opengles_rectangle/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.opengles_rectangle; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private RectangleView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new RectangleView(this); 14 | setContentView(mGLView); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | "# PerspectiveProjection-" 3 | "# OpenGlES" 4 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/BuildConfig.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/MainActivity.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$attr.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$dimen.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$drawable.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$id.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$layout.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$menu.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$string.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R$style.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/R.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/Rectangle.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/Rectangle.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/RectangleView$MyRender.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/RectangleView$MyRender.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/RectangleView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/bin/classes/com/example/opengles_rectangle2/RectangleView.class -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/gen/com/example/opengles_rectangle2/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.opengles_rectangle2; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Rectangle2/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Circle 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Rectangle2/src/com/example/opengles_rectangle2/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.opengles_rectangle2; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | import android.view.MotionEvent; 7 | 8 | public class MainActivity extends Activity { 9 | 10 | private RectangleView mGLView; 11 | @Override 12 | protected void onCreate(Bundle savedInstanceState) { 13 | super.onCreate(savedInstanceState); 14 | mGLView = new RectangleView(this); 15 | setContentView(mGLView); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/dexedLibs/android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/dexedLibs/android-support-v4-7d96236e61662b7e96786d7c0abbde9d.jar -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_StencilTest/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_StencilTest/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_StencilTest/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | StencilTest 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Texture/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Texture/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Texture/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | "# PerspectiveProjection-" 3 | -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/dexedLibs/android-support-v4-1fbe0d3fd1f9f8668ccba2fce7656d54.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/dexedLibs/android-support-v4-1fbe0d3fd1f9f8668ccba2fce7656d54.jar -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-hdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-hdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-hdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-hdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-mdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-mdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xhdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/bin/res/crunch/drawable-xxhdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Texture/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Texture/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-hdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-hdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-hdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-hdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-mdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-mdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xhdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xhdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xhdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xhdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xxhdpi/android_robot0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xxhdpi/android_robot0.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/drawable-xxhdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture/res/drawable-xxhdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Texture/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Texture 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /OpenGlES_Texture/src/com/example/opengles_texture/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.opengles_texture; 2 | 3 | 4 | import android.app.Activity; 5 | import android.os.Bundle; 6 | 7 | public class MainActivity extends Activity { 8 | 9 | private RectangleView mGLView; 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | mGLView = new RectangleView(this); 14 | setContentView(mGLView); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL_2_Rectangle" 2 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/dexedLibs/android-support-v4-8b990e55ec65b0b64404a7ea93da1610.jar -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/dexedLibs/android-support-v4-e21a2d538a9301c0e259cdb4929c38ca.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/dexedLibs/android-support-v4-e21a2d538a9301c0e259cdb4929c38ca.jar -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/dexedLibs/annotations-834f1d7be87c0844b1fcd6a39cc4f01d.jar -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/res/crunch/drawable-hdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/res/crunch/drawable-hdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/ic_launcher-web.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/libs/android-support-v4.jar -------------------------------------------------------------------------------- /OpenGlES_Texture2/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=Google Inc.:Google APIs:15 15 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/drawable-hdpi/texture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/res/drawable-hdpi/texture.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qhyuan1992/OpenGL-ES/2fce5569e916be277a20d8aec2866f48ce67a9cb/OpenGlES_Texture2/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /OpenGlES_Texture2/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenGlES_Texture2 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | "# OpenGL-ES" 2 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-cayman --------------------------------------------------------------------------------