Searched refs:shader (Results 1 – 6 of 6) sorted by relevance
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
D | GLToolbox.java | 24 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 25 if (shader != 0) { in loadShader() 26 GLES20.glShaderSource(shader, source); in loadShader() 27 GLES20.glCompileShader(shader); in loadShader() 29 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 31 String info = GLES20.glGetShaderInfoLog(shader); in loadShader() 32 GLES20.glDeleteShader(shader); in loadShader() 33 shader = 0; in loadShader() 38 return shader; in loadShader()
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
D | GLToolbox.java | 24 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 25 if (shader != 0) { in loadShader() 26 GLES20.glShaderSource(shader, source); in loadShader() 27 GLES20.glCompileShader(shader); in loadShader() 29 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 31 String info = GLES20.glGetShaderInfoLog(shader); in loadShader() 32 GLES20.glDeleteShader(shader); in loadShader() 36 return shader; in loadShader()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | GLES20TriangleRenderer.java | 158 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 159 if (shader != 0) { in loadShader() 160 GLES20.glShaderSource(shader, source); in loadShader() 161 GLES20.glCompileShader(shader); in loadShader() 163 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 166 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 167 GLES20.glDeleteShader(shader); in loadShader() 168 shader = 0; in loadShader() 171 return shader; in loadShader()
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
D | GLES20TriangleRenderer.java | 156 int shader = GLES20.glCreateShader(shaderType); in loadShader() local 157 if (shader != 0) { in loadShader() 158 GLES20.glShaderSource(shader, source); in loadShader() 159 GLES20.glCompileShader(shader); in loadShader() 161 GLES20.glGetShaderiv(shader, GLES20.GL_COMPILE_STATUS, compiled, 0); in loadShader() 164 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 165 GLES20.glDeleteShader(shader); in loadShader() 166 shader = 0; in loadShader() 169 return shader; in loadShader()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | MyGLRenderer.java | 121 int shader = GLES20.glCreateShader(type); in loadShader() local 124 GLES20.glShaderSource(shader, shaderCode); in loadShader() 125 GLES20.glCompileShader(shader); in loadShader() 127 return shader; in loadShader()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | Gles2ColoredTriangleList.java | 162 int shader = GLES20.glCreateShader(type); in loadShader() local 164 if (shader == 0) { in loadShader() 169 GLES20.glShaderSource(shader, shaderCode); in loadShader() 171 GLES20.glCompileShader(shader); in loadShader() 174 return shader; in loadShader()
|