Home
last modified time | relevance | path

Searched refs:vertexShader (Results 1 – 11 of 11) sorted by relevance

/development/samples/HelloEffects/src/com/example/android/mediafx/
DGLToolbox.java43 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
44 if (vertexShader == 0) { in createProgram()
54 GLES20.glAttachShader(program, vertexShader); in createProgram()
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DGLToolbox.java40 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
41 if (vertexShader == 0) { in createProgram()
51 GLES20.glAttachShader(program, vertexShader); in createProgram()
/development/perftests/panorama/feature_mos/src/mosaic_renderer/
DRenderer.cpp66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
67 if (!vertexShader) in createProgram()
81 glAttachShader(program, vertexShader); in createProgram()
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DTriangle.java86 int vertexShader = MyGLRenderer.loadShader( in Triangle() local
92 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program in Triangle()
DSquare.java93 int vertexShader = MyGLRenderer.loadShader( in Square() local
101 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program in Square()
/development/ndk/platforms/android-5/samples/hello-gl2/jni/
Dgl_code.cpp84 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
85 if (!vertexShader) { in createProgram()
96 glAttachShader(program, vertexShader); in createProgram()
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java173 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
174 if (vertexShader == 0) { in createProgram()
185 GLES20.glAttachShader(program, vertexShader); in createProgram()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20TriangleRenderer.java175 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
176 if (vertexShader == 0) { in createProgram()
187 GLES20.glAttachShader(program, vertexShader); in createProgram()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java213 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, VERTEX_SHADER_CODE); in Program() local
224 GLES20.glAttachShader(mProgramId, vertexShader); in Program()
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java241 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
242 if (vertexShader == 0) { in createProgram()
252 GLES20.glAttachShader(program, vertexShader); in createProgram()
/development/ndk/platforms/android-21/samples/native-codec/src/com/example/nativecodec/
DMyGLSurfaceView.java257 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
258 if (vertexShader == 0) { in createProgram()
268 GLES20.glAttachShader(program, vertexShader); in createProgram()