/external/angle/src/tests/gl_tests/ |
D | UniformTest.cpp | 44 GLint uniformLocation = glGetUniformLocation(program, "uniF"); in TEST_P() 67 GLint uniformLocation = glGetUniformLocation(program, "uniI"); in TEST_P() 91 GLint uniformLocation = glGetUniformLocation(program, "uniVec2"); in TEST_P() 115 GLint uniformLocation = glGetUniformLocation(program, "uniVec3"); in TEST_P() 139 GLint uniformLocation = glGetUniformLocation(program, "uniVec4"); in TEST_P() 163 GLint uniformLocation = glGetUniformLocation(program, "umat2"); in TEST_P() 187 GLint uniformLocation = glGetUniformLocation(program, "umat3"); in TEST_P() 211 GLint uniformLocation = glGetUniformLocation(program, "umat4"); in TEST_P() 241 GLint uniformLocation = glGetUniformLocation(program, locationName.c_str()); in TEST_P() 272 GLint uniformLocation = glGetUniformLocation(program, locationName.c_str()); in TEST_P() [all …]
|
D | ClipDistanceTest.cpp | 92 glUniform4f(glGetUniformLocation(programRed, "u_plane"), 1, 0, 0, 0.5); in TEST_P() 120 glUniform4f(glGetUniformLocation(programRed, "u_plane"), -1, 0, 0, -0.5); in TEST_P() 195 glUniform4f(glGetUniformLocation(programRed, "u_plane[0]"), 1, 0, 0, 0.5); in TEST_P() 197 glUniform4f(glGetUniformLocation(programRed, "u_plane[1]"), -1, 0, 0, 0.5); in TEST_P() 199 glUniform4f(glGetUniformLocation(programRed, "u_plane[2]"), -1, -1, 0, 1); in TEST_P() 335 glUniform4f(glGetUniformLocation(programRed, "u_plane[0]"), 1, 0, 0, 0.5); in TEST_P() 337 glUniform4f(glGetUniformLocation(programRed, "u_plane[1]"), -1, 0, 0, 0.5); in TEST_P() 339 glUniform4f(glGetUniformLocation(programRed, "u_plane[2]"), -1, -1, 0, 1); in TEST_P() 533 glUniform4f(glGetUniformLocation(programRed, "u_plane"), 1, 0, 0, 0.5); in TEST_P() 557 glUniform4f(glGetUniformLocation(programRed, "u_plane"), -1, 0, 0, -0.5); in TEST_P() [all …]
|
D | ProgramBinaryTest.cpp | 443 int location = glGetUniformLocation(program.get(), "u_var[0].m0"); in TEST_P() 446 location = glGetUniformLocation(program.get(), "u_var[0].m1"); in TEST_P() 449 location = glGetUniformLocation(program.get(), "u_var[1].m0"); in TEST_P() 452 location = glGetUniformLocation(program.get(), "u_var[1].m1"); in TEST_P() 455 location = glGetUniformLocation(program.get(), "u_var[2].m0"); in TEST_P() 458 location = glGetUniformLocation(program.get(), "u_var[2].m1"); in TEST_P() 489 location = glGetUniformLocation(binaryProgram.get(), "u_var[0].m0"); in TEST_P() 492 location = glGetUniformLocation(binaryProgram.get(), "u_var[0].m1"); in TEST_P() 495 location = glGetUniformLocation(binaryProgram.get(), "u_var[1].m0"); in TEST_P() 498 location = glGetUniformLocation(binaryProgram.get(), "u_var[1].m1"); in TEST_P() [all …]
|
D | VulkanUniformUpdatesTest.cpp | 123 GLint posUniformLocation = glGetUniformLocation(program, "uniPosModifier"); in TEST_P() 125 GLint colorUniformLocation = glGetUniformLocation(program, "uniColor"); in TEST_P() 162 GLint texLoc = glGetUniformLocation(program, "tex"); in TEST_P() 204 GLint texLoc = glGetUniformLocation(program, "tex"); in TEST_P() 207 GLint colorMaskLoc = glGetUniformLocation(program, "colorMask"); in TEST_P() 291 GLint texLoc = glGetUniformLocation(program, "tex"); in TEST_P() 294 GLint colorMaskLoc = glGetUniformLocation(program, "colorMask"); in TEST_P() 366 GLint colorMaskLoc1 = glGetUniformLocation(program1, "colorMask"); in TEST_P() 368 GLint colorMaskLoc2 = glGetUniformLocation(program2, "colorMask"); in TEST_P() 508 GLint uniformVSLocation = glGetUniformLocation(program, "uniformVS"); in TEST_P() [all …]
|
D | BindUniformLocationTest.cpp | 321 EXPECT_EQ(-1, glGetUniformLocation(mProgram, "u_colorU")); in TEST_P() 325 EXPECT_NE(colorULocation, glGetUniformLocation(mProgram, "u_colorA")); in TEST_P() 326 EXPECT_NE(colorULocation, glGetUniformLocation(mProgram, "u_colorC")); in TEST_P() 327 EXPECT_NE(nonexistingLocation, glGetUniformLocation(mProgram, "u_colorA")); in TEST_P() 328 EXPECT_NE(nonexistingLocation, glGetUniformLocation(mProgram, "u_colorC")); in TEST_P() 481 EXPECT_EQ(static_cast<GLint>(texLocation), glGetUniformLocation(mProgram, "tex")); in TEST_P() 512 EXPECT_EQ(static_cast<GLint>(shaderTexLocation), glGetUniformLocation(mProgram, "tex")); in TEST_P()
|
D | GLSLTest.cpp | 2141 GLint nearIndex = glGetUniformLocation(program.get(), "gl_DepthRange.near"); in TEST_P() 2498 GLint uniformLocation = glGetUniformLocation(program.get(), uniformName.str().c_str()); in TEST_P() 2619 GLint iloc = glGetUniformLocation(program, "i"); in TEST_P() 2620 GLint uloc = glGetUniformLocation(program, "u"); in TEST_P() 2657 GLint floc = glGetUniformLocation(program, "f"); in TEST_P() 2707 GLint floc = glGetUniformLocation(program, "f"); in TEST_P() 2708 GLint iloc = glGetUniformLocation(program, "i"); in TEST_P() 2709 GLint uloc = glGetUniformLocation(program, "u"); in TEST_P() 2790 GLint floc = glGetUniformLocation(program, "f"); in TEST_P() 2791 GLint iloc = glGetUniformLocation(program, "i"); in TEST_P() [all …]
|
D | FramebufferFetchTest.cpp | 371 GLint colorLocation = glGetUniformLocation(program, "u_color"); in BasicTest() 418 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetTest() 472 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleRenderTargetArrayTest() 507 GLint colorLocation = glGetUniformLocation(program, "u_color"); in MultipleDrawTest() 543 GLint colorLocationNonFetch = glGetUniformLocation(programNonFetch, "u_color"); in DrawNonFetchDrawFetchTest() 557 GLint colorLocationFetch = glGetUniformLocation(programFetch, "u_color"); in DrawNonFetchDrawFetchTest() 609 GLint colorLocationFetch = glGetUniformLocation(programFetch, "u_color"); in DrawFetchDrawNonFetchTest() 622 GLint colorLocationNonFetch = glGetUniformLocation(programNonFetch, "u_color"); in DrawFetchDrawNonFetchTest() 672 GLint colorLocationNonFetch = glGetUniformLocation(programNonFetch, "u_color"); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() 713 GLint colorLocation = glGetUniformLocation(programFetch, "u_color"); in DrawNonFetchDrawFetchWithDifferentAttachmentsTest() [all …]
|
D | ExternalWrapTest.cpp | 164 glUniform2f(glGetUniformLocation(mProgram, "u_offset"), 0.0, 0.0); in TEST_P() 191 glUniform2f(glGetUniformLocation(mProgram, "u_offset"), 0.5, 0.5); in TEST_P() 219 glUniform2f(glGetUniformLocation(mProgram, "u_offset"), 0.5, 0.5); in TEST_P() 251 glUniform2f(glGetUniformLocation(mProgram, "u_offset"), 0.5, 0.5); in TEST_P()
|
D | ActiveTextureCacheTest.cpp | 51 m2DTextureLocation = glGetUniformLocation(mProgram, "tex2D"); in testSetUp() 54 mCubeTextureLocation = glGetUniformLocation(mProgram, "texCube"); in testSetUp()
|
D | ShaderNonConstGlobalInitializerTest.cpp | 114 glUniform1f(glGetUniformLocation(program, "nondeterministic_uniform"), 1.0f); in TEST_P() 160 glUniform1f(glGetUniformLocation(program, "nondeterministic_uniform"), 1.0f); in TEST_P()
|
D | PointSpritesTest.cpp | 63 GLint pointSizeLoc = glGetUniformLocation(program, "uPointSize"); in testPointCoordAndPointSizeCompliance() 245 GLint pointSizeLoc = glGetUniformLocation(program, "u_pointSize"); in TEST_P() 341 GLint pointSizeLoc = glGetUniformLocation(program, "pointSize"); in TEST_P() 456 GLint pointSizeLoc = glGetUniformLocation(pointProgram, "u_pointSize"); in TEST_P() 517 GLint pointSizeLoc = glGetUniformLocation(program, "uPointSize"); in TEST_P()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 1796 location = glGetUniformLocation(program.getProgram(), "floatUniform"); in test() 1800 location = glGetUniformLocation(program.getProgram(), "float2Uniform"); in test() 1804 location = glGetUniformLocation(program.getProgram(), "float3Uniform"); in test() 1808 location = glGetUniformLocation(program.getProgram(), "float4Uniform"); in test() 1855 location = glGetUniformLocation(program.getProgram(), "intUniform"); in test() 1859 location = glGetUniformLocation(program.getProgram(), "int2Uniform"); in test() 1863 location = glGetUniformLocation(program.getProgram(), "int3Uniform"); in test() 1867 location = glGetUniformLocation(program.getProgram(), "int4Uniform"); in test() 1916 location = glGetUniformLocation(program.getProgram(), "boolUniform"); in test() 1920 location = glGetUniformLocation(program.getProgram(), "bool2Uniform"); in test() [all …]
|
D | es2fNegativeShaderApiTests.cpp | 375 glGetUniformLocation(programEmpty, "test"); in init() 381 glGetUniformLocation(-2, "test"); in init() 500 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init() 501 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init() 502 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init() 588 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init() 589 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init() 590 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init() 661 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init() 706 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init() [all …]
|
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/ |
D | plane_renderer.cc | 73 uniform_mvp_mat_ = glGetUniformLocation(shader_program_, "mvp"); in InitializeGlContent() 74 uniform_texture_ = glGetUniformLocation(shader_program_, "texture"); in InitializeGlContent() 75 uniform_model_mat_ = glGetUniformLocation(shader_program_, "model_mat"); in InitializeGlContent() 76 uniform_normal_vec_ = glGetUniformLocation(shader_program_, "normal"); in InitializeGlContent() 77 uniform_color_ = glGetUniformLocation(shader_program_, "color"); in InitializeGlContent()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderImageLoadStoreTests.cpp | 1453 glUniform1i(glGetUniformLocation(program, "g_image"), static_cast<GLint>(unit + 1)); in Write() 1635 glUniform1i(glGetUniformLocation(program, "g_image"), static_cast<GLint>(unit + 1)); in Read() 1801 glUniform1i(glGetUniformLocation(program, "g_image0"), 0); in Write() 1802 glUniform1i(glGetUniformLocation(program, "g_image1"), 1); in Write() 1803 glUniform1i(glGetUniformLocation(program, "g_image2"), 2); in Write() 1804 glUniform1i(glGetUniformLocation(program, "g_image3"), 3); in Write() 2037 glUniform1i(glGetUniformLocation(program, "g_image0"), 0); in Read() 2038 glUniform1i(glGetUniformLocation(program, "g_image1"), 1); in Read() 2039 glUniform1i(glGetUniformLocation(program, "g_image2"), 2); in Read() 2040 glUniform1i(glGetUniformLocation(program, "g_image3"), 3); in Read() [all …]
|
D | gl4cComputeShaderTests.cpp | 992 glUniform1i(glGetUniformLocation(m_program, name), i); in RunIteration() 1199 glUniform1i(glGetUniformLocation(m_program, "g_image1"), 0); in RunIteration() 1200 glUniform1i(glGetUniformLocation(m_program, "g_image2"), 1); in RunIteration() 1303 glUniform1i(glGetUniformLocation(m_draw_program, "g_image1"), 0); in Run() 1304 glUniform1i(glGetUniformLocation(m_draw_program, "g_image2"), 1); in Run() 1789 glProgramUniform1f(m_program, glGetUniformLocation(m_program, "g_0"), 1.0f); in Run() 1790 glProgramUniform2f(m_program, glGetUniformLocation(m_program, "g_1"), 2.0f, 3.0f); in Run() 1791 glProgramUniform3f(m_program, glGetUniformLocation(m_program, "g_2"), 4.0f, 5.0f, 6.0f); in Run() 1792 glProgramUniform4f(m_program, glGetUniformLocation(m_program, "g_3"), 7.0f, 8.0f, 9.0f, 10.0f); in Run() 1797 glProgramUniformMatrix2fv(m_program, glGetUniformLocation(m_program, "g_4"), 1, GL_FALSE, value); in Run() [all …]
|
/external/angle/samples/particle_system/ |
D | ParticleSystem.cpp | 84 mTimeLoc = glGetUniformLocation(mProgram, "u_time"); in initialize() 85 mCenterPositionLoc = glGetUniformLocation(mProgram, "u_centerPosition"); in initialize() 86 mColorLoc = glGetUniformLocation(mProgram, "u_color"); in initialize() 87 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture"); in initialize()
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeShaderApiTests.cpp | 670 glGetUniformLocation(programEmpty, "test"); in init() 676 glGetUniformLocation(-2, "test"); in init() 774 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init() 775 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init() 776 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init() 777 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init() 869 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init() 870 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init() 871 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init() 872 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init() [all …]
|
D | es3fShaderStateQueryTests.cpp | 3014 location = glGetUniformLocation(program,"floatUniform"); in test() 3018 location = glGetUniformLocation(program,"float2Uniform"); in test() 3022 location = glGetUniformLocation(program,"float3Uniform"); in test() 3026 location = glGetUniformLocation(program,"float4Uniform"); in test() 3085 location = glGetUniformLocation(program,"intUniform"); in test() 3089 location = glGetUniformLocation(program,"int2Uniform"); in test() 3093 location = glGetUniformLocation(program,"int3Uniform"); in test() 3097 location = glGetUniformLocation(program,"int4Uniform"); in test() 3156 location = glGetUniformLocation(program,"uintUniform"); in test() 3160 location = glGetUniformLocation(program,"uint2Uniform"); in test() [all …]
|
/external/angle/samples/multiview/ |
D | Multiview.cpp | 155 mMultiviewPersperiveUniformLoc = glGetUniformLocation(mMultiviewProgram, "uPerspective"); in initialize() 157 glGetUniformLocation(mMultiviewProgram, "uCameraLeftEye"); in initialize() 159 glGetUniformLocation(mMultiviewProgram, "uCameraRightEye"); in initialize() 160 mMultiviewTranslationUniformLoc = glGetUniformLocation(mMultiviewProgram, "uTranslation"); in initialize() 344 glUniform1i(glGetUniformLocation(mCombineProgram, "uMultiviewTex"), 0); in draw()
|
/external/webrtc/sdk/objc/components/renderer/opengl/ |
D | RTCDefaultShader.mm | 95 GLint ySampler = glGetUniformLocation(_i420Program, "s_textureY"); 96 GLint uSampler = glGetUniformLocation(_i420Program, "s_textureU"); 97 GLint vSampler = glGetUniformLocation(_i420Program, "s_textureV"); 120 GLint ySampler = glGetUniformLocation(_nv12Program, "s_textureY"); 121 GLint uvSampler = glGetUniformLocation(_nv12Program, "s_textureUV");
|
/external/libkmsxx/kmscube/ |
D | cube-gles2.cpp | 186 m_modelviewmatrix = glGetUniformLocation(program, "modelviewMatrix"); in GlScene() 187 m_modelviewprojectionmatrix = glGetUniformLocation(program, "modelviewprojectionMatrix"); in GlScene() 188 m_normalmatrix = glGetUniformLocation(program, "normalMatrix"); in GlScene()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/ |
D | ProjectionRenderer.java | 124 mvpMatrixHandle = GLES20.glGetUniformLocation(program, "uMvpMatrix"); in init() 125 uTexMatrixHandle = GLES20.glGetUniformLocation(program, "uTexMatrix"); in init() 128 textureHandle = GLES20.glGetUniformLocation(program, "uTexture"); in init()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cProgramInterfaceQueryTests.cpp | 1054 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "repos", glGetUniformLocation(program, "repo… in Run() 1055 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "recolor", glGetUniformLocation(program, "re… in Run() 1071 …GLint expected[] = { 6, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 0, 1, glGetUniformLocation(program, "r… in Run() 1074 …GLint expected2[] = { 8, 35666, 1, -1, -1, -1, -1, 0, -1, 0, 1, 0, glGetUniformLocation(program, "… in Run() 1198 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a", glGetUniformLocation(program, "a"), err… in Run() 1199 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b", glGetUniformLocation(program, "b"), err… in Run() 1200 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "c", glGetUniformLocation(program, "c"), err… in Run() 1201 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d", glGetUniformLocation(program, "d"), err… in Run() 1202 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "e", glGetUniformLocation(program, "e"), err… in Run() 1203 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "f", glGetUniformLocation(program, "f"), err… in Run() [all …]
|
/external/angle/samples/mip_map_2d/ |
D | MipMap2D.cpp | 58 mSamplerLoc = glGetUniformLocation(mProgram, "s_texture"); in initialize() 61 mOffsetLoc = glGetUniformLocation(mProgram, "u_offset"); in initialize()
|