-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathREADME
28 lines (19 loc) · 808 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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