Home
last modified time | relevance | path

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

12

/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
70 if (!vertexShader) { in createProgram()
81 glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp69 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
70 if (!vertexShader) { in createProgram()
81 glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java113 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
114 if (vertexShader == 0) { in createProgram()
125 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java229 public ImageShader(String vertexShader, String fragmentShader) { in ImageShader() argument
230 mProgram = createProgram(vertexShader, fragmentShader); in ImageShader()
238 public static ImageShader createIdentity(String vertexShader) { in createIdentity() argument
239 return new ImageShader(vertexShader, mIdentityShader); in createIdentity()
705 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
706 if (vertexShader == 0) { in createProgram()
718 GLES20.glAttachShader(program, vertexShader); in createProgram()
733 GLES20.glDeleteShader(vertexShader); in createProgram()
/frameworks/native/libs/gui/tests/
DGLTest.cpp297 GLuint vertexShader, fragmentShader; in createProgram() local
301 &vertexShader)); in createProgram()
312 glAttachShader(program, vertexShader); in createProgram()
335 glDeleteShader(vertexShader); in createProgram()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java187 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
188 if (vertexShader == 0) { in createProgram()
199 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp66 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
67 if (!vertexShader) { in createProgram()
78 glAttachShader(program, vertexShader); in createProgram()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DShaderProgram.java60 public ShaderProgram(FilterContext context, String vertexShader, String fragmentShader) { in ShaderProgram() argument
62 allocate(mGLEnvironment, vertexShader, fragmentShader); in ShaderProgram()
255 String vertexShader, in allocate() argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java281 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER); in buildProgram() local
282 if (vertexShader == 0) return 0; in buildProgram()
288 glAttachShader(program, vertexShader); in buildProgram()
302 glDeleteShader(vertexShader); in buildProgram()
DGLDepthTestActivity.java282 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
283 if (vertexShader == 0) { in createProgram()
294 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java234 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER); in buildProgram() local
235 if (vertexShader == 0) return 0; in buildProgram()
241 glAttachShader(program, vertexShader); in buildProgram()
255 glDeleteShader(vertexShader); in buildProgram()
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java253 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
254 if (vertexShader == 0) { in createProgram()
264 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp112 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
113 if (!vertexShader) { in createProgram()
124 glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp119 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
120 if (!vertexShader) { in createProgram()
131 glAttachShader(program, vertexShader); in createProgram()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp103 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, pVertexSource); in createProgram() local
104 if (!vertexShader) { in createProgram()
115 glAttachShader(program, vertexShader); in createProgram()
/frameworks/av/cmds/screenrecord/
DProgram.cpp112 status_t Program::createProgram(GLuint* outPgm, const char* vertexShader, in createProgram() argument
117 err = compileShader(GL_VERTEX_SHADER, vertexShader, &vs); in createProgram()
DProgram.h76 status_t createProgram(GLuint* outPgm, const char* vertexShader,
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java215 int vertexShader = GenImage.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode); in Triangle() local
219 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program in Triangle()
/frameworks/native/cmds/flatland/
DGLHelper.h33 const char* vertexShader[MAX_SHADER_LINES]; member
DMain.cpp209 .vertexShader={
243 .vertexShader={
DGLHelper.cpp400 shaderDescs[i].vertexShader, &vs); in setUpShaders()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java400 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
401 if (vertexShader == 0) { in createProgram()
411 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java620 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
621 if (vertexShader == 0) { in createProgram()
631 GLES20.glAttachShader(program, vertexShader); in createProgram()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java139 int vertexShader = BasicGLRenderer.loadShader(GLES20.GL_VERTEX_SHADER, vertexShaderCode); in Swarm() local
143 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program in Swarm()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java220 int vertexShader = loadShader(GLES20.GL_VERTEX_SHADER, vertexSource); in createProgram() local
221 if (vertexShader == 0) { in createProgram()
234 GLES20.glAttachShader(program, vertexShader); in createProgram()

12