Searched refs:loadShader (Results 1 – 8 of 8) sorted by relevance
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
D | GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { in loadShader() method in GLToolbox 43 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() 47 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
D | GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { in loadShader() method in GLToolbox 40 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() 44 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
D | Triangle.java | 86 int vertexShader = MyGLRenderer.loadShader( in Triangle() 88 int fragmentShader = MyGLRenderer.loadShader( in Triangle()
|
D | Square.java | 93 int vertexShader = MyGLRenderer.loadShader( in Square() 96 int fragmentShader = MyGLRenderer.loadShader( in Square()
|
D | MyGLRenderer.java | 117 public static int loadShader(int type, String shaderCode){ in loadShader() method in MyGLRenderer
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | Gles2ColoredTriangleList.java | 160 private static int loadShader(int type, String shaderCode){ in loadShader() method in Gles2ColoredTriangleList 213 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, VERTEX_SHADER_CODE); in Program() 214 int fragmentShader = loadShader(GLES20.GL_FRAGMENT_SHADER, FRAGMENT_SHADER_CODE); in Program()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | GLES20TriangleRenderer.java | 157 private int loadShader(int shaderType, String source) { in loadShader() method in GLES20TriangleRenderer 175 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() 180 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
D | GLES20TriangleRenderer.java | 155 private int loadShader(int shaderType, String source) { in loadShader() method in GLES20TriangleRenderer 173 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() 178 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
|