├── .gitignore ├── .idea ├── codeStyleSettings.xml ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── gradle.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── Application ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── assets │ ├── basemap.tga │ ├── fragment_linear_fog.glsl │ ├── fragment_mipmap.glsl │ ├── fragment_multitexture.glsl │ ├── fragment_texture.glsl │ ├── fragment_texture_cube.glsl │ ├── glslIntroduce.glsl │ ├── lightmap.tga │ ├── smoke.tga │ ├── triangleFragment.glsl │ ├── triangleVertex.glsl │ ├── vertex_linear_fog.glsl │ ├── vertex_mipmap.glsl │ ├── vertex_multitexture.glsl │ ├── vertex_texture.glsl │ └── vertex_texture_cube.glsl │ ├── cpp │ ├── gles │ │ ├── EGLLinearFog.cpp │ │ ├── EGLMipMap2D.cpp │ │ ├── EGLMultiTexture.cpp │ │ ├── EGLParticleSystem.cpp │ │ ├── EGLTexture2D.cpp │ │ ├── EGLTextureCube.cpp │ │ ├── EGLTextureWrap.cpp │ │ ├── EGLTriangle.cpp │ │ ├── VertexBufferSample.cpp │ │ └── VertexSample.cpp │ ├── glue │ │ ├── android_native_app_glue.cpp │ │ └── android_native_app_glue.h │ └── util │ │ ├── AndroidUtil.cpp │ │ ├── EGLUtil.cpp │ │ └── EGLUtil.h │ └── res │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ └── values │ ├── colors.xml │ ├── strings.xml │ └── styles.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/codeStyleSettings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/codeStyleSettings.xml -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/copyright/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /Application/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /Application/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/CMakeLists.txt -------------------------------------------------------------------------------- /Application/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/build.gradle -------------------------------------------------------------------------------- /Application/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/proguard-rules.pro -------------------------------------------------------------------------------- /Application/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Application/src/main/assets/basemap.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/basemap.tga -------------------------------------------------------------------------------- /Application/src/main/assets/fragment_linear_fog.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/fragment_linear_fog.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/fragment_mipmap.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/fragment_mipmap.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/fragment_multitexture.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/fragment_multitexture.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/fragment_texture.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/fragment_texture.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/fragment_texture_cube.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/fragment_texture_cube.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/glslIntroduce.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/glslIntroduce.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/lightmap.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/lightmap.tga -------------------------------------------------------------------------------- /Application/src/main/assets/smoke.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/smoke.tga -------------------------------------------------------------------------------- /Application/src/main/assets/triangleFragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/triangleFragment.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/triangleVertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/triangleVertex.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/vertex_linear_fog.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/vertex_linear_fog.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/vertex_mipmap.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/vertex_mipmap.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/vertex_multitexture.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/vertex_multitexture.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/vertex_texture.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/vertex_texture.glsl -------------------------------------------------------------------------------- /Application/src/main/assets/vertex_texture_cube.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/assets/vertex_texture_cube.glsl -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLLinearFog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLLinearFog.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLMipMap2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLMipMap2D.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLMultiTexture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLMultiTexture.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLParticleSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLParticleSystem.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLTexture2D.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLTexture2D.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLTextureCube.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLTextureCube.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLTextureWrap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLTextureWrap.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/EGLTriangle.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/EGLTriangle.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/VertexBufferSample.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/VertexBufferSample.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/gles/VertexSample.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/gles/VertexSample.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/glue/android_native_app_glue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/glue/android_native_app_glue.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/glue/android_native_app_glue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/glue/android_native_app_glue.h -------------------------------------------------------------------------------- /Application/src/main/cpp/util/AndroidUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/util/AndroidUtil.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/util/EGLUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/util/EGLUtil.cpp -------------------------------------------------------------------------------- /Application/src/main/cpp/util/EGLUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/cpp/util/EGLUtil.h -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Application/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /Application/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /Application/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Application/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/Application/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CainKernel/GLESNativeSample/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':Application' 2 | --------------------------------------------------------------------------------