Searched refs:loadShader (Results 1 – 5 of 5) 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/ndk/platforms/android-5/samples/hello-gl2/jni/ |
D | gl_code.cpp | 57 GLuint loadShader(GLenum shaderType, const char* pSource) { in loadShader() function 84 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() 89 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pFragmentSource); 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()
|
/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/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 223 private int loadShader(int shaderType, String source) { in loadShader() method in MyRenderer 241 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() 245 int pixelShader = loadShader(GLES20.GL_FRAGMENT_SHADER, fragmentSource); in createProgram()
|