Home
last modified time | relevance | path

Searched refs:glUniform1i (Results 1 – 25 of 100) 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.cc93 glUniform1i(textureSampler, 0); in YuvToRgbShaderProgram()
94 glUniform1i(evenLinesSampler, 1); in YuvToRgbShaderProgram()
96 glUniform1i(ySampler, 2); in YuvToRgbShaderProgram()
97 glUniform1i(uSampler, 3); in YuvToRgbShaderProgram()
98 glUniform1i(vSampler, 4); in YuvToRgbShaderProgram()
99 glUniform1i(uvSampler, 5); in YuvToRgbShaderProgram()
Dwindowmanagercompositingtest.cc136 glUniform1i(textureSampler, 0); in BasicTextureShaderProgram()
184 glUniform1i(textureSampler0, 0); in DoubleTextureBlendShaderProgram()
186 glUniform1i(textureSampler1, 1); in DoubleTextureBlendShaderProgram()
247 glUniform1i(textureSampler0, 0); in TripleTextureBlendShaderProgram()
249 glUniform1i(textureSampler1, 1); in TripleTextureBlendShaderProgram()
251 glUniform1i(textureSampler2, 2); in TripleTextureBlendShaderProgram()
Dfillratetest.cc117 glUniform1i(texture_uniform, 0); in Run()
218 glUniform1i(texture_uniform, 0); in Run()
Dmain.h54 F(glUniform1i, PFNGLUNIFORM1IPROC) \
Dwindowmanagertest.cc120 glUniform1i(texture_sampler, 0); in main()
Dtexturetest.cc73 glUniform1i(texture_sampler, 0); in Run()
/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 …]
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 …]
/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/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dbackground_renderer.cc92 glUniform1i(uniform_texture_, 1); in Draw()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dbackground_renderer.cc92 glUniform1i(uniform_texture_, 1); in Draw()
Dplane_renderer.cc113 glUniform1i(uniform_texture_, 0); in Draw()
/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 …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTBackground.cpp184 glUniform1i(glGetUniformLocation(m_pAPI->m_ui32ProgramObject, "sampler2d"), 0); in Init()
/external/skqp/src/gpu/gl/egl/
DGrGLMakeNativeInterface_egl.cpp105 M(glUniform1i) in egl_get_gl_proc()
/external/skia/src/gpu/gl/egl/
DGrGLMakeNativeInterface_egl.cpp105 M(glUniform1i) in egl_get_gl_proc()
/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/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()

1234