/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | 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; member in class:UniformTest 52 glUseProgram(mProgram); 58 glGetnUniformfvEXT(mProgram, mUniformFLocation, 4, &f); 62 glGetUniformfv(mProgram, mUniformFLocation, &f); 67 glGetnUniformivEXT(mProgram, mUniformILocatio [all...] |
H A D | TransformFeedbackTest.cpp | 42 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource); 43 if (mProgram == 0) 58 glDeleteProgram(mProgram); 63 GLuint mProgram; member in class:TransformFeedbackTest 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);
|
H A D | ProgramBinaryTest.cpp | 37 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource); 38 if (mProgram == 0) 53 glDeleteProgram(mProgram); 59 GLuint mProgram; member in class:ProgramBinaryTest 67 glUseProgram(mProgram); 75 glGetProgramiv(mProgram, GL_PROGRAM_BINARY_LENGTH_OES, &programLength); 86 glGetProgramiv(mProgram, GL_PROGRAM_BINARY_LENGTH_OES, &newProgramLength);
|
H A D | 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; member in class:BlendMinMaxTest
|
H A D | IncompleteTextureTest.cpp | 47 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource); 48 if (mProgram == 0) 53 mTextureUniformLocation = glGetUniformLocation(mProgram, "tex"); 58 glDeleteProgram(mProgram); 75 GLuint mProgram; member in class:IncompleteTextureTest 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...] |
H A D | OcclusionQueriesTest.cpp | 19 mProgram = 0; 44 mProgram = CompileProgram(passthroughVS, passthroughPS); 45 if (mProgram == 0) 53 glDeleteProgram(mProgram); 58 GLuint mProgram; member in class:OcclusionQueriesTest 68 glUseProgram(mProgram); 69 drawQuad(mProgram, "position", 0.3f); 77 drawQuad(mProgram, "position", 0.8f); // this quad should be occluded by first quad 111 drawQuad(mProgram, "position", 0.8f); // this quad should not be occluded 152 drawQuad(mProgram, "positio [all...] |
H A D | BufferDataTest.cpp | 10 mProgram(0), 51 mProgram = CompileProgram(vsSource, fsSource); 52 ASSERT_NE(mProgram, 0U); 54 mAttribLocation = glGetAttribLocation(mProgram, "in_attrib"); 69 glDeleteProgram(mProgram); 75 GLuint mProgram; member in class:BufferDataTest 122 glUseProgram(mProgram); 127 drawQuad(mProgram, "position", 0.5f); 167 //glUseProgram(mProgram); 171 //drawQuad(mProgram, "positio 271 GLuint mProgram; member in class:IndexedBufferCopyTest [all...] |
H A D | LineLoopTest.cpp | 43 mProgram = CompileProgram(vsSource, fsSource); 44 if (mProgram == 0) 49 mPositionLocation = glGetAttribLocation(mProgram, "position"); 50 mColorLocation = glGetAttribLocation(mProgram, "in_color"); 63 glDeleteProgram(mProgram); 96 glUseProgram(mProgram); 124 GLuint mProgram; member in class:LineLoopTest
|
H A D | ClearTest.cpp | 43 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource); 44 if (mProgram == 0) 56 glDeleteProgram(mProgram); 62 GLuint mProgram; member in class:ClearTest 99 drawQuad(mProgram, "position", 0.5f); 179 drawQuad(mProgram, "position", 0.5f);
|
H A D | IndexedPointsTest.cpp | 55 mProgram = CompileProgram(vertexShaderSource, fragmentShaderSource); 56 if (mProgram == 0) 80 glDeleteProgram(mProgram); 94 GLint vertexLocation = glGetAttribLocation(mProgram, "position"); 100 glUseProgram(mProgram); 120 GLuint mProgram; member in class:IndexedPointsTest
|
H A D | VertexAttributeTest.cpp | 16 mProgram = 0; 47 drawQuad(mProgram, "position", 0.5f); 89 mProgram = CompileProgram(testVertexShaderSource, testFragmentShaderSource); 90 if (mProgram == 0) 95 mTestAttrib = glGetAttribLocation(mProgram, "test"); 96 mExpectedAttrib = glGetAttribLocation(mProgram, "expected"); 98 glUseProgram(mProgram); 109 glDeleteProgram(mProgram); 116 GLuint mProgram; member in class:VertexAttributeTest
|
/external/chromium_org/third_party/angle/samples/angle/hello_triangle/ |
H A D | HelloTriangle.cpp | 47 mProgram = CompileProgram(vs, fs); 48 if (!mProgram) 60 glDeleteProgram(mProgram); 79 glUseProgram(mProgram); 89 GLuint mProgram; member in class:HelloTriangleSample
|
/external/chromium_org/third_party/angle/samples/angle/simple_texture_2d/ |
H A D | 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; member in class:SimpleTexture2DSample
|
/external/chromium_org/third_party/angle/samples/angle/simple_texture_cubemap/ |
H A D | 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; member in class:SimpleTextureCubemapSample
|
/external/chromium_org/third_party/angle/samples/angle/particle_system/ |
H A D | 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); 199 GLuint mProgram; member in class:ParticleSystemSample [all...] |
/external/chromium_org/third_party/angle/samples/angle/mip_map_2d/ |
H A D | 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; member in class:MipMap2DSample
|
/external/chromium_org/third_party/angle/samples/angle/multi_texture/ |
H A D | 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; member in class:MultiTextureSample
|
/external/chromium_org/third_party/angle/samples/angle/texture_wrap/ |
H A D | 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; member in class:TextureWrapSample
|
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/ |
H A D | PostSubBuffer.cpp | 64 mProgram = CompileProgram(vs, fs); 65 if (!mProgram) 71 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); 72 mTexcoordLoc = glGetAttribLocation(mProgram, "a_texcoord"); 75 mMVPMatrixLoc = glGetUniformLocation(mProgram, "u_mvpMatrix"); 97 glDeleteProgram(mProgram); 127 glUseProgram(mProgram); 153 GLuint mProgram; member in class:PostSubBufferSample
|
/external/chromium_org/third_party/angle/samples/angle/simple_vertex_shader/ |
H A D | SimpleVertexShader.cpp | 56 mProgram = CompileProgram(vs, fs); 57 if (!mProgram) 63 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); 64 mTexcoordLoc = glGetAttribLocation(mProgram, "a_texcoord"); 67 mMVPMatrixLoc = glGetUniformLocation(mProgram, "u_mvpMatrix"); 84 glDeleteProgram(mProgram); 114 glUseProgram(mProgram); 130 GLuint mProgram; member in class:SimpleVertexShaderSample
|
/external/chromium_org/third_party/angle/samples/angle/simple_instancing/ |
H A D | SimpleInstancing.cpp | 73 mProgram = CompileProgram(vs, fs); 74 if (!mProgram) 80 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); 81 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord"); 82 mInstancePosLoc = glGetAttribLocation(mProgram, "a_instancePos"); 85 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture"); 126 glDeleteProgram(mProgram); 139 glUseProgram(mProgram); 169 GLuint mProgram; member in class:SimpleInstancingSample
|
/external/chromium_org/third_party/angle/tests/perf_tests/ |
H A D | TexSubImage.cpp | 28 mProgram(0), 87 mProgram = CompileProgram(vs, fs); 88 if (!mProgram) 94 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); 95 mTexCoordLoc = glGetAttribLocation(mProgram, "a_texCoord"); 98 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture"); 147 glDeleteProgram(mProgram); 163 glUseProgram(mProgram);
|
H A D | BufferSubData.h | 36 GLuint mProgram; member in class:BufferSubDataBenchmark
|
H A D | TexSubImage.h | 36 GLuint mProgram; member in class:TexSubImageBenchmark
|
/external/chromium_org/third_party/angle/samples/angle/stencil_operations/ |
H A D | StencilOperations.cpp | 48 mProgram = CompileProgram(vs, fs); 49 if (!mProgram) 55 mPositionLoc = glGetAttribLocation(mProgram, "a_position"); 58 mColorLoc = glGetUniformLocation(mProgram, "u_color"); 78 glDeleteProgram(mProgram); 141 glUseProgram(mProgram); 229 GLuint mProgram; member in class:StencilOperationsSample
|