Skip to content

compute shader basic code with OpenGL ES 3.2 (Android & Linux)

Notifications You must be signed in to change notification settings

guoyejun/gles32_compute_shader_basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I searched and did not find a complete code example of compute shader, so I publicized here when I finished it. And it is also a record in case that I myself may need it some time later.


To build within Linux, just run 'make'.
If there's build issue, try to install the necessary libraries, such as the following:
apt-get install libgles2-mesa-dev libegl1-mesa-dev


Steps to build within Andriod source tree.
1. cd your_path_to_android/frameworks/native/opengl/tests/

2. modify Android.bp as:
--- a/opengl/tests/Android.bp
+++ b/opengl/tests/Android.bp
@@ -1,6 +1,7 @@
 
 subdirs = [
     "angeles",
+    "gles32_compute_shader_basic",
     "configdump",
     "EGLTest",
     "fillrate",

3. git clone https://github.com/guoyejun/gles32_compute_shader_basic.git

4. cd gles32_compute_shader_basic

5. mm

About

compute shader basic code with OpenGL ES 3.2 (Android & Linux)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published