Home
last modified time | relevance | path

Searched refs:loadShader (Results 1 – 5 of 5) sorted by relevance

/development/samples/HelloEffects/src/com/example/android/mediafx/
DGLToolbox.java23 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/
Dgl_code.cpp57 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/
DGLES20TriangleRenderer.java155 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/
DGLES20TriangleRenderer.java157 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/
DMyGLSurfaceView.java223 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()