Home
last modified time | relevance | path

Searched refs:glGetUniformLocation (Results 1 – 25 of 139) sorted by relevance

123456

/external/autotest/client/deps/glbench/src/
Dyuvtest.cc81 int imageWidthUniform = glGetUniformLocation(program, "imageWidth"); in YuvToRgbShaderProgram()
82 int imageHeightUniform = glGetUniformLocation(program, "imageHeight"); in YuvToRgbShaderProgram()
84 int textureSampler = glGetUniformLocation(program, "textureSampler"); in YuvToRgbShaderProgram()
85 int evenLinesSampler = glGetUniformLocation(program, "paritySampler"); in YuvToRgbShaderProgram()
86 int ySampler = glGetUniformLocation(program, "ySampler"); in YuvToRgbShaderProgram()
87 int uSampler = glGetUniformLocation(program, "uSampler"); in YuvToRgbShaderProgram()
88 int vSampler = glGetUniformLocation(program, "vSampler"); in YuvToRgbShaderProgram()
89 int uvSampler = glGetUniformLocation(program, "uvSampler"); in YuvToRgbShaderProgram()
108 int conversion = glGetUniformLocation(program, "conversion"); in YuvToRgbShaderProgram()
Dfillratetest.cc92 GLint color_uniform = glGetUniformLocation(program, "color"); in Run()
116 GLuint texture_uniform = glGetUniformLocation(program, "texture"); in Run()
119 GLuint scale_uniform = glGetUniformLocation(program, "scale"); in Run()
217 GLuint texture_uniform = glGetUniformLocation(program, "texture"); in Run()
219 GLuint scale_uniform = glGetUniformLocation(program, "scale"); in Run()
Dwindowmanagercompositingtest.cc135 int textureSampler = glGetUniformLocation(program, "texture_sampler"); in BasicTextureShaderProgram()
183 int textureSampler0 = glGetUniformLocation(program, "texture_sampler_0"); in DoubleTextureBlendShaderProgram()
185 int textureSampler1 = glGetUniformLocation(program, "texture_sampler_1"); in DoubleTextureBlendShaderProgram()
246 int textureSampler0 = glGetUniformLocation(program, "texture_sampler_0"); in TripleTextureBlendShaderProgram()
248 int textureSampler1 = glGetUniformLocation(program, "texture_sampler_1"); in TripleTextureBlendShaderProgram()
250 int textureSampler2 = glGetUniformLocation(program, "texture_sampler_2"); in TripleTextureBlendShaderProgram()
Dwindowmanagertest.cc119 int texture_sampler = glGetUniformLocation(program, "tex"); in main()
122 int display_color = glGetUniformLocation(program, "color"); in main()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1796 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 …]
Des2fNegativeShaderApiTests.cpp375 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/
Dplane_renderer.cc73 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()
Dpoint_cloud_renderer.cc45 uniform_mvp_mat_ = glGetUniformLocation(shader_program_, "mvp"); in InitializeGlContent()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dplane_renderer.cc73 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()
Dpoint_cloud_renderer.cc45 uniform_mvp_mat_ = glGetUniformLocation(shader_program_, "mvp"); in InitializeGlContent()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp1453 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 …]
Dgl4cComputeShaderTests.cpp992 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 …]
Dgl4cProgramInterfaceQueryTests.cpp1293 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "repos", glGetUniformLocation(program, "repo… in Run()
1294 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "recolor", glGetUniformLocation(program, "re… in Run()
1314 …6, GL_FLOAT_VEC4, 1, -1, -1, -1, -1, 0, -1, 0, 0, 0, 0, 0, 1, glGetUniformLocation(program, "repos… in Run()
1319 …8, GL_FLOAT_VEC4, 1, -1, -1, -1, -1, 0, -1, 0, 1, 0, 0, 0, 0, glGetUniformLocation(program, "recol… in Run()
1448 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "a", glGetUniformLocation(program, "a"), err… in Run()
1449 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "b", glGetUniformLocation(program, "b"), err… in Run()
1450 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "c", glGetUniformLocation(program, "c"), err… in Run()
1451 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "d", glGetUniformLocation(program, "d"), err… in Run()
1452 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "e", glGetUniformLocation(program, "e"), err… in Run()
1453 …VerifyGetProgramResourceLocation(program, GL_UNIFORM, "f", glGetUniformLocation(program, "f"), err… in Run()
[all …]
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp670 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 …]
Des3fShaderStateQueryTests.cpp3014 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/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp264 glUniform1i(glGetUniformLocation(m_PostShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
265 glUniform1i(glGetUniformLocation(m_PostShaderProgram.uiId, "sColourLUT"), 1); in LoadShaders()
282 glUniform1i(glGetUniformLocation(m_BackgroundShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
303 glUniform1i(glGetUniformLocation(m_SceneShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
306 …m_SceneShaderProgram.uiMVPMatrixLoc = glGetUniformLocation(m_SceneShaderProgram.uiId, "MVPMatrix"… in LoadShaders()
307 …m_SceneShaderProgram.uiLightDirLoc = glGetUniformLocation(m_SceneShaderProgram.uiId, "LightDirect… in LoadShaders()
308 …m_SceneShaderProgram.uiMaterialBiasLoc = glGetUniformLocation(m_SceneShaderProgram.uiId, "Material… in LoadShaders()
309 …m_SceneShaderProgram.uiMaterialScaleLoc = glGetUniformLocation(m_SceneShaderProgram.uiId, "Materia… in LoadShaders()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp233 m_ShaderProgram.uiMVPMatrixLoc = glGetUniformLocation(m_ShaderProgram.uiId, "MVPMatrix"); in LoadShaders()
234 m_ShaderProgram.uiLightDirLoc = glGetUniformLocation(m_ShaderProgram.uiId, "LightDirection"); in LoadShaders()
235 …m_ShaderProgram.uiDisplacementFactor = glGetUniformLocation(m_ShaderProgram.uiId, "DisplacementFac… in LoadShaders()
237 m_ShaderProgram.uiTexture = glGetUniformLocation(m_ShaderProgram.uiId, "sTexture"); in LoadShaders()
238 m_ShaderProgram.uiDisMap = glGetUniformLocation(m_ShaderProgram.uiId, "sDisMap"); in LoadShaders()
/external/libkmsxx/kmscube/
Dcube-gles2.cpp187 m_modelviewmatrix = glGetUniformLocation(program, "modelviewMatrix"); in GlScene()
188 m_modelviewprojectionmatrix = glGetUniformLocation(program, "modelviewprojectionMatrix"); in GlScene()
189 m_normalmatrix = glGetUniformLocation(program, "normalMatrix"); in GlScene()
/external/deqp/external/openglcts/modules/gles31/
Des31cProgramInterfaceQueryTests.cpp1054 …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 …]
Des31cComputeShaderTests.cpp977 glUniform1i(glGetUniformLocation(m_program, name), i); in RunIteration()
1275 glUniform1i(glGetUniformLocation(m_draw_program, "g_image1"), 0); in Run()
1276 glUniform1i(glGetUniformLocation(m_draw_program, "g_image2"), 1); in Run()
1557 glUniform1f(glGetUniformLocation(m_program, "g_0"), 1.0f); in Run()
1558 glUniform2f(glGetUniformLocation(m_program, "g_1"), 2.0f, 3.0f); in Run()
1559 glUniform3f(glGetUniformLocation(m_program, "g_2"), 4.0f, 5.0f, 6.0f); in Run()
1560 glUniform4f(glGetUniformLocation(m_program, "g_3"), 7.0f, 8.0f, 9.0f, 10.0f); in Run()
1565 glUniformMatrix2fv(glGetUniformLocation(m_program, "g_4"), 1, GL_FALSE, value); in Run()
1570 glUniformMatrix2x3fv(glGetUniformLocation(m_program, "g_5"), 1, GL_FALSE, value); in Run()
1575 glUniformMatrix2x4fv(glGetUniformLocation(m_program, "g_6"), 1, GL_FALSE, value); in Run()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp887 ctx.glGetUniformLocation(programEmpty, "test"); in get_uniform_location()
893 ctx.glGetUniformLocation(notAProgram, "test"); in get_uniform_location()
1003 GLint vec4_v = ctx.glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in uniformf_incompatible_type()
1004 GLint ivec4_f = ctx.glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in uniformf_incompatible_type()
1005 GLint uvec4_f = ctx.glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in uniformf_incompatible_type()
1006 GLint sampler_f = ctx.glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in uniformf_incompatible_type()
1100 GLint vec4_v = ctx.glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in uniformfv_incompatible_type()
1101 GLint ivec4_f = ctx.glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in uniformfv_incompatible_type()
1102 GLint uvec4_f = ctx.glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in uniformfv_incompatible_type()
1103 GLint sampler_f = ctx.glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in uniformfv_incompatible_type()
[all …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dimportgl.h87 FNDEF(int, glGetUniformLocation, (GLuint program, const char* name));
134 #define glGetUniformLocation FNPTR(glGetUniformLocation) macro
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp296 …m_SkinnedShaderProgram.auiLoc[i] = glGetUniformLocation(m_SkinnedShaderProgram.uiId, g_aszSkinnedU… in LoadShaders()
302 glUniform1i(glGetUniformLocation(m_SkinnedShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
303 glUniform1i(glGetUniformLocation(m_SkinnedShaderProgram.uiId, "sNormalMap"), 1); in LoadShaders()
327 …m_DefaultShaderProgram.auiLoc[i] = glGetUniformLocation(m_DefaultShaderProgram.uiId, g_aszDefaultU… in LoadShaders()
331 glUniform1i(glGetUniformLocation(m_DefaultShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_opengles20.cc153 int i = glGetUniformLocation(_program, "Ytex"); in Setup()
158 i = glGetUniformLocation(_program, "Utex"); in Setup()
163 i = glGetUniformLocation(_program, "Vtex"); in Setup()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPFXParserAPI.cpp524 nLocation = glGetUniformLocation(uiProgram, aParams[j].pszName); in GetSemantics()
532 nLocation = glGetUniformLocation(uiProgram, szTmpUniformName); in GetSemantics()
831 GLint nLocation = glGetUniformLocation(m_uiProgram, pszName); in SetDefaultUniformValue()
839 nLocation = glGetUniformLocation(m_uiProgram, szTmpUniformName); in SetDefaultUniformValue()

123456