HomeSort by relevance Sort by last modified time
    Searched refs:mProgram (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium_org/third_party/angle/tests/angle_tests/
UniformTest.cpp 27 mProgram = CompileProgram(vertexShader, fragShader);
28 ASSERT_NE(mProgram, 0u);
30 mUniformFLocation = glGetUniformLocation(mProgram, "uniF");
33 mUniformILocation = glGetUniformLocation(mProgram, "uniI");
41 glDeleteProgram(mProgram);
45 GLuint mProgram;
52 glUseProgram(mProgram);
58 glGetnUniformfvEXT(mProgram, mUniformFLocation, 4, &f);
62 glGetUniformfv(mProgram, mUniformFLocation, &f);
67 glGetnUniformivEXT(mProgram, mUniformILocation, 4, &i)
    [all...]
TransformFeedbackTest.cpp 42 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource);
43 if (mProgram == 0)
58 glDeleteProgram(mProgram);
63 GLuint mProgram;
76 glTransformFeedbackVaryings(mProgram, ArraySize(transformFeedbackVaryings), transformFeedbackVaryings, GL_INTERLEAVED_ATTRIBS);
77 glLinkProgram(mProgram);
81 glGetProgramiv(mProgram, GL_LINK_STATUS, &linkStatus);
84 glUseProgram(mProgram);
99 drawQuad(mProgram, "position", 0.5f);
ProgramBinaryTest.cpp 37 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource);
38 if (mProgram == 0)
53 glDeleteProgram(mProgram);
59 GLuint mProgram;
67 glUseProgram(mProgram);
75 glGetProgramiv(mProgram, GL_PROGRAM_BINARY_LENGTH_OES, &programLength);
86 glGetProgramiv(mProgram, GL_PROGRAM_BINARY_LENGTH_OES, &newProgramLength);
BlendMinMaxTest.cpp 16 mProgram = 0;
47 glUseProgram(mProgram);
53 drawQuad(mProgram, "aPosition", 0.5f);
91 mProgram = CompileProgram(testVertexShaderSource, testFragmentShaderSource);
92 if (mProgram == 0)
97 mColorLocation = glGetUniformLocation(mProgram, "color");
99 glUseProgram(mProgram);
125 glDeleteProgram(mProgram);
132 GLuint mProgram;
IncompleteTextureTest.cpp 47 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource);
48 if (mProgram == 0)
53 mTextureUniformLocation = glGetUniformLocation(mProgram, "tex");
58 glDeleteProgram(mProgram);
75 GLuint mProgram;
86 glUseProgram(mProgram);
97 drawQuad(mProgram, "position", 0.5f);
102 drawQuad(mProgram, "position", 0.5f);
107 drawQuad(mProgram, "position", 0.5f);
120 glUseProgram(mProgram);
    [all...]
  /external/chromium_org/third_party/angle/samples/angle/hello_triangle/
HelloTriangle.cpp 47 mProgram = CompileProgram(vs, fs);
48 if (!mProgram)
60 glDeleteProgram(mProgram);
79 glUseProgram(mProgram);
89 GLuint mProgram;
  /development/ndk/platforms/android-18/samples/gles3jni/jni/
RendererES2.cpp 54 GLuint mProgram;
76 mProgram(0),
85 mProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER);
86 if (!mProgram)
88 mPosAttrib = glGetAttribLocation(mProgram, "pos");
89 mColorAttrib = glGetAttribLocation(mProgram, "color");
90 mScaleRotUniform = glGetUniformLocation(mProgram, "scaleRot");
91 mOffsetUniform = glGetUniformLocation(mProgram, "offset");
111 glDeleteProgram(mProgram);
129 glUseProgram(mProgram);
    [all...]
  /development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
Triangle.java 49 private final int mProgram;
91 mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program
92 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program
93 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program
94 GLES20.glLinkProgram(mProgram); // create OpenGL program executables
106 GLES20.glUseProgram(mProgram);
109 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition");
121 mColorHandle = GLES20.glGetUniformLocation(mProgram, "vColor");
127 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
Square.java 51 private final int mProgram;
100 mProgram = GLES20.glCreateProgram(); // create empty OpenGL Program
101 GLES20.glAttachShader(mProgram, vertexShader); // add the vertex shader to program
102 GLES20.glAttachShader(mProgram, fragmentShader); // add the fragment shader to program
103 GLES20.glLinkProgram(mProgram); // create OpenGL program executables
114 GLES20.glUseProgram(mProgram);
117 mPositionHandle = GLES20.glGetAttribLocation(mProgram, "vPosition");
129 mColorHandle = GLES20.glGetUniformLocation(mProgram, "vColor");
135 mMVPMatrixHandle = GLES20.glGetUniformLocation(mProgram, "uMVPMatrix");
  /cts/tests/tests/opengl/src/android/opengl/cts/
RendererFiveShaderTest.java 35 mProgram = GLES20.glCreateProgram();
38 GLES20.glAttachShader(mProgram, shaderOne);
39 GLES20.glAttachShader(mProgram, shaderTwo);
42 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0);
RendererSixShaderTest.java 33 mProgram = GLES20.glCreateProgram();
36 GLES20.glAttachShader(mProgram, shaderOne);
37 GLES20.glAttachShader(mProgram, shaderTwo);
40 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0);
RendererThreeShaderTest.java 47 GLES20.glUseProgram(mProgram);
55 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0);
65 mProgram = GLES20.glCreateProgram();
67 GLES20.glAttachShader(mProgram, vertexShaderOne);
68 GLES20.glAttachShader(mProgram, vertexShaderTwo);
70 GLES20.glAttachShader(mProgram, fragmentShader);
71 GLES20.glLinkProgram(mProgram);
73 GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linkStatus, 0);
RendererOneShaderTest.java 48 GLES20.glUseProgram(mProgram);
56 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0);
65 mProgram = GLES20.glCreateProgram();
66 GLES20.glAttachShader(mProgram, vertexShaderOne);
67 GLES20.glAttachShader(mProgram, fragmentShader);
68 GLES20.glLinkProgram(mProgram);
70 GLES20.glGetProgramiv(mProgram, GLES20.GL_LINK_STATUS, linkStatus, 0);
RendererElevenShaderTest.java 35 mProgram = GLES20.glCreateProgram();
37 GLES20.glAttachShader(mProgram, fragmentShader);
38 GLES20.glLinkProgram(mProgram);
RendererFourShaderTest.java 35 mProgram = GLES20.glCreateProgram();
39 GLES20.glGetAttachedShaders(mProgram, 10, mShaderCount, 0, shaders, 0);
44 GLES20.glLinkProgram(mProgram);
RendererSevenShaderTest.java 33 mProgram = GLES20.glCreateProgram();
36 GLES20.glAttachShader(mProgram, shaderOne);
37 GLES20.glAttachShader(mProgram, shaderTwo);
RendererTenShaderTest.java 34 mProgram = GLES20.glCreateProgram();
36 GLES20.glAttachShader(mProgram, fragmentShader);
37 GLES20.glLinkProgram(mProgram);
RendererTwelveShaderTest.java 36 mProgram = 0;
38 GLES20.glAttachShader(mProgram, fragmentShader);
39 GLES20.glLinkProgram(mProgram);
  /external/chromium_org/third_party/angle/samples/angle/simple_texture_2d/
SimpleTexture2D.cpp 53 mProgram = CompileProgram(vs, fs);
54 if (!mProgram)
60 mPositionLoc = glGetAttribLocation(mProgram, "a_position");
61 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord");
64 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture");
76 glDeleteProgram(mProgram);
102 glUseProgram(mProgram);
124 GLuint mProgram;
  /external/chromium_org/third_party/angle/samples/angle/simple_texture_cubemap/
SimpleTextureCubemap.cpp 55 mProgram = CompileProgram(vs, fs);
56 if (!mProgram)
62 mPositionLoc = glGetAttribLocation(mProgram, "a_position");
63 mNormalLoc = glGetAttribLocation(mProgram, "a_normal");
66 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture");
83 glDeleteProgram(mProgram);
96 glUseProgram(mProgram);
118 GLuint mProgram;
  /external/chromium_org/third_party/angle/samples/angle/particle_system/
ParticleSystem.cpp 77 mProgram = CompileProgram(vs, fs);
78 if (!mProgram)
84 mLifetimeLoc = glGetAttribLocation(mProgram, "a_lifetime");
85 mStartPositionLoc = glGetAttribLocation(mProgram, "a_startPosition");
86 mEndPositionLoc = glGetAttribLocation(mProgram, "a_endPosition");
89 mTimeLoc = glGetUniformLocation(mProgram, "u_time");
90 mCenterPositionLoc = glGetUniformLocation(mProgram, "u_centerPosition");
91 mColorLoc = glGetUniformLocation(mProgram, "u_color");
92 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture");
132 glDeleteProgram(mProgram);
    [all...]
  /external/chromium_org/third_party/angle/samples/angle/mip_map_2d/
MipMap2D.cpp 55 mProgram = CompileProgram(vs, fs);
56 if (!mProgram)
62 mPositionLoc = glGetAttribLocation(mProgram, "a_position");
63 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord");
66 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture");
69 mOffsetLoc = glGetUniformLocation(mProgram, "u_offset");
84 glDeleteProgram(mProgram);
110 glUseProgram(mProgram);
147 GLuint mProgram;
  /external/chromium_org/third_party/angle/samples/angle/multi_texture/
MultiTexture.cpp 71 mProgram = CompileProgram(vs, fs);
72 if (!mProgram)
78 mPositionLoc = glGetAttribLocation(mProgram, "a_position");
79 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord");
82 mBaseMapLoc = glGetUniformLocation(mProgram, "s_baseMap");
83 mLightMapLoc = glGetUniformLocation(mProgram, "s_lightMap");
98 glDeleteProgram(mProgram);
125 glUseProgram(mProgram);
154 GLuint mProgram;
  /external/chromium_org/third_party/angle/samples/angle/texture_wrap/
TextureWrap.cpp 55 mProgram = CompileProgram(vs, fs);
56 if (!mProgram)
62 mPositionLoc = glGetAttribLocation(mProgram, "a_position");
63 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord");
66 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture");
69 mOffsetLoc = glGetUniformLocation(mProgram, "u_offset");
81 glDeleteProgram(mProgram);
106 glUseProgram(mProgram);
140 GLuint mProgram;
  /cts/suite/cts/deviceTests/opengl/jni/graphics/
ProgramNode.cpp 18 mProgram(program) {
30 SceneGraphNode::draw(mProgram, model, view, projection);

Completed in 471 milliseconds

1 2 3