Searched refs:vertexShader (Results 1 - 25 of 28) sorted by relevance

12

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

Completed in 33 milliseconds

12