Home
last modified time | relevance | path

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

/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DGLToolbox.java23 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/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/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java160 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/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DTriangle.java86 int vertexShader = MyGLRenderer.loadShader( in Triangle()
88 int fragmentShader = MyGLRenderer.loadShader( in Triangle()
DSquare.java93 int vertexShader = MyGLRenderer.loadShader( in Square()
96 int fragmentShader = MyGLRenderer.loadShader( in Square()
DMyGLRenderer.java117 public static int loadShader(int type, String shaderCode){ in loadShader() method in MyGLRenderer
/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()