Home
last modified time | relevance | path

Searched refs:glUniform1i (Results 1 – 25 of 96) sorted by relevance

1234

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlRectDrawer.java200 GLES20.glUniform1i(shader.glShader.getUniformLocation("y_tex"), 0); in prepareShader()
201 GLES20.glUniform1i(shader.glShader.getUniformLocation("u_tex"), 1); in prepareShader()
202 GLES20.glUniform1i(shader.glShader.getUniformLocation("v_tex"), 2); in prepareShader()
204 GLES20.glUniform1i(shader.glShader.getUniformLocation("rgb_tex"), 0); in prepareShader()
206 GLES20.glUniform1i(shader.glShader.getUniformLocation("oes_tex"), 0); in prepareShader()
/external/autotest/client/deps/glbench/src/
Dyuvtest.cc97 glUniform1i(textureSampler, 0); in YuvToRgbShaderProgram()
98 glUniform1i(evenLinesSampler, 1); in YuvToRgbShaderProgram()
100 glUniform1i(ySampler, 2); in YuvToRgbShaderProgram()
101 glUniform1i(uSampler, 3); in YuvToRgbShaderProgram()
102 glUniform1i(vSampler, 4); in YuvToRgbShaderProgram()
103 glUniform1i(uvSampler, 5); in YuvToRgbShaderProgram()
Dwindowmanagercompositingtest.cc136 glUniform1i(textureSampler, 0); in BasicTextureShaderProgram()
184 glUniform1i(textureSampler0, 0); in DoubleTextureBlendShaderProgram()
186 glUniform1i(textureSampler1, 1); in DoubleTextureBlendShaderProgram()
248 glUniform1i(textureSampler0, 0); in TripleTextureBlendShaderProgram()
250 glUniform1i(textureSampler1, 1); in TripleTextureBlendShaderProgram()
252 glUniform1i(textureSampler2, 2); in TripleTextureBlendShaderProgram()
Dmain.h43 F(glUniform1i, PFNGLUNIFORM1IPROC) \
83 F(glUniform1i, PFNGLUNIFORM1IPROC) \
Dfillratetest.cc122 glUniform1i(texture_uniform, 0); in Run()
223 glUniform1i(texture_uniform, 0); in Run()
Dtexturetest.cc58 glUniform1i(texture_sampler, 0); in Run()
Dwindowmanagertest.cc122 glUniform1i(texture_sampler, 0); in main()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp1408 glUniform1i(glGetUniformLocation(program, "g_image"), static_cast<GLint>(unit + 1)); in Write()
1590 glUniform1i(glGetUniformLocation(program, "g_image"), static_cast<GLint>(unit + 1)); in Read()
1756 glUniform1i(glGetUniformLocation(program, "g_image0"), 0); in Write()
1757 glUniform1i(glGetUniformLocation(program, "g_image1"), 1); in Write()
1758 glUniform1i(glGetUniformLocation(program, "g_image2"), 2); in Write()
1759 glUniform1i(glGetUniformLocation(program, "g_image3"), 3); in Write()
1992 glUniform1i(glGetUniformLocation(program, "g_image0"), 0); in Read()
1993 glUniform1i(glGetUniformLocation(program, "g_image1"), 1); in Read()
1994 glUniform1i(glGetUniformLocation(program, "g_image2"), 2); in Read()
1995 glUniform1i(glGetUniformLocation(program, "g_image3"), 3); in Read()
[all …]
Dgl4cShaderAtomicCountersTests.cpp2559 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[0]"), 5); in Run()
2560 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[1]"), 2); in Run()
2561 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[2]"), 7); in Run()
2562 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[3]"), 3); in Run()
2563 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[4]"), 0); in Run()
2564 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[5]"), 4); in Run()
2565 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[6]"), 6); in Run()
2566 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[7]"), 1); in Run()
4514 glUniform1i(glGetUniformLocation(prog_, "m_vac"), m_vac); in Run()
4516 glUniform1i(glGetUniformLocation(prog_, "m_fac"), m_fac); in Run()
[all …]
Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp1912 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2d"), 1); in Write()
1913 glUniform1i(glGetUniformLocation(c_program, "g_sampler_3d"), 2); in Write()
1914 glUniform1i(glGetUniformLocation(c_program, "g_sampler_cube"), 3); in Write()
1915 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2darray"), 4); in Write()
2152 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2d"), 1); in Write()
2153 glUniform1i(glGetUniformLocation(c_program, "g_sampler_3d"), 2); in Write()
2154 glUniform1i(glGetUniformLocation(c_program, "g_sampler_cube"), 3); in Write()
2155 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2darray"), 4); in Write()
3721 glUniform1i(glGetUniformLocation(c_program, "g_sampler"), 5); in Run()
3803 glUniform1i(glGetUniformLocation(m_program, "MaxImageUnits"), i); in Run()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp299 glUniform1i(m_SkinnedShaderProgram.auiLoc[ebUseDot3], m_bEnableDOT3); in LoadShaders()
302 glUniform1i(glGetUniformLocation(m_SkinnedShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
303 glUniform1i(glGetUniformLocation(m_SkinnedShaderProgram.uiId, "sNormalMap"), 1); in LoadShaders()
331 glUniform1i(glGetUniformLocation(m_DefaultShaderProgram.uiId, "sTexture"), 0); in LoadShaders()
568 glUniform1i(m_SkinnedShaderProgram.auiLoc[ebUseDot3], m_bEnableDOT3); in RenderScene()
799 glUniform1i(m_SkinnedShaderProgram.auiLoc[eBoneCount], Mesh.sBoneIdx.n); in DrawSkinnedMesh()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_opengles20.cc155 glUniform1i(i, 0); /* Bind Ytex to texture unit 0 */ in Setup()
160 glUniform1i(i, 1); /* Bind Utex to texture unit 1 */ in Setup()
165 glUniform1i(i, 2); /* Bind Vtex to texture unit 2 */ in Setup()
/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()
/external/deqp/framework/egl/
DegluStaticES20Library.inl119 { "glUniform1i", (deFunctionPtr)glUniform1i },
DegluStaticES30Library.inl200 { "glUniform1i", (deFunctionPtr)glUniform1i },
/external/webrtc/webrtc/modules/video_render/ios/
Dopen_gles20.mm109 glUniform1i(i, 0); /* Bind Ytex to texture unit 0 */
112 glUniform1i(i, 1); /* Bind Utex to texture unit 1 */
115 glUniform1i(i, 2); /* Bind Vtex to texture unit 2 */
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp512 glUniform1i(m_ShaderProgram.uiTexture, 0); in RenderScene()
518 glUniform1i(m_ShaderProgram.uiDisMap, 1); in RenderScene()
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderAtomicCountersTests.cpp2314 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[0]"), 0); in Run()
2315 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[1]"), 1); in Run()
2316 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[2]"), 2); in Run()
2317 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[3]"), 3); in Run()
2318 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[4]"), 4); in Run()
2319 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[5]"), 5); in Run()
2320 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[6]"), 6); in Run()
2321 glUniform1i(glGetUniformLocation(prog_, "u_active_counters[7]"), 7); in Run()
3693 glUniform1i(glGetUniformLocation(prog_, "m_vac"), m_vac); in Run()
3695 glUniform1i(glGetUniformLocation(prog_, "m_fac"), m_fac); in Run()
[all …]
Des31cShaderImageLoadStoreTests.cpp1876 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2d"), 1); in Write()
1877 glUniform1i(glGetUniformLocation(c_program, "g_sampler_3d"), 2); in Write()
1878 glUniform1i(glGetUniformLocation(c_program, "g_sampler_cube"), 3); in Write()
1879 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2darray"), 4); in Write()
2113 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2d"), 1); in Write()
2114 glUniform1i(glGetUniformLocation(c_program, "g_sampler_3d"), 2); in Write()
2115 glUniform1i(glGetUniformLocation(c_program, "g_sampler_cube"), 3); in Write()
2116 glUniform1i(glGetUniformLocation(c_program, "g_sampler_2darray"), 4); in Write()
3672 glUniform1i(glGetUniformLocation(c_program, "g_sampler"), 5); in Run()
3754 glUniform1i(glGetUniformLocation(m_program, "MaxImageUnits"), i); in Run()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTBackground.cpp184 glUniform1i(glGetUniformLocation(m_pAPI->m_ui32ProgramObject, "sampler2d"), 0); in Init()
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp981 glUniform1i(-1, 0); in init()
1010 glUniform1i(ivec4_f, 0); in init()
1022 glUniform1i(uvec4_f, 0); in init()
1034 glUniform1i(vec4_v, 0); in init()
1055 glUniform1i(-2, 0); in init()
1065 glUniform1i(-1, 0); in init()
1303 glUniform1i(-2, 0); in init()
1313 glUniform1i(-1, 0); in init()
/external/mesa3d/src/mapi/es2api/
DABI-check208 glUniform1i
/external/deqp/modules/gles2/functional/
Des2fNegativeShaderApiTests.cpp692 glUniform1i(-1, 0); in init()
718 glUniform1i(fUnif, 0); in init()
743 glUniform1i(-2, 0); in init()
753 glUniform1i(-1, 0); in init()
/external/swiftshader/src/OpenGL/libGLESv2/
DlibGLESv2.def116 glUniform1i @114
DlibGLESv2.lds117 glUniform1i;

1234