/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
basic | 18 gl_FragColor = texture2D(u_Texture, v_TexCoordinate);
|
perspective | 28 gl_FragColor = (diffuse * texture2D(u_Texture, v_TexCoordinate));
|
water | 25 vec3 map1 = texture2D(u_Texture1, v_TexCoordinate + offset).xyz * 2.0 - 1.0; 26 vec3 map2 = texture2D(u_Texture2, v_TexCoordinate + offset).xyz * 2.0 - 1.0;
|
blur | 34 color += texture2D(u_Texture, coords) * weights[i];
|
/external/chromium_org/third_party/angle/samples/angle/multi_texture/ |
MultiTexture.cpp | 65 baseColor = texture2D(s_baseMap, v_texCoord); 66 lightColor = texture2D(s_lightMap, v_texCoord);
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
TextureTest.cpp | 53 gl_FragColor = texture2D(tex, texcoord); 66 gl_FragColor = texture2D(tex2D, texcoord);
|
CompressedTextureTest.cpp | 43 gl_FragColor = texture2D(tex, texcoord);
|
IncompleteTextureTest.cpp | 43 gl_FragColor = texture2D(tex, texcoord);
|
MaxTextureSizeTest.cpp | 41 gl_FragColor = texture2D(tex, texcoord);
|
SwizzleTest.cpp | 73 gl_FragColor = texture2D(tex, texcoord);
|
UnpackAlignmentTest.cpp | 42 gl_FragColor = texture2D(tex, vec2(0.0, 1.0));
|
/external/chromium_org/third_party/angle/samples/angle/simple_texture_2d/ |
SimpleTexture2D.cpp | 49 gl_FragColor = texture2D(s_texture, v_texCoord);
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
shaders.cc | 182 float y_raw = texture2D(y_texture, y_texCoord).x; 183 float u_unsigned = texture2D(u_texture, uv_texCoord).x; 184 float v_unsigned = texture2D(v_texture, uv_texCoord).x; 199 vec4 texColor = texture2D(s_texture, 216 vec4 texColor = texture2D(s_texture, v_texCoord);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderTextureFunctionTests.cpp | 192 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 196 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 199 static void evalTexture2DBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod+c.in[1].x())*p.scale + p.bias; } 202 static void evalTexture2DProj3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod)*p.scale + p.bias; } 203 static void evalTexture2DProj3Bias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 204 static void evalTexture2DProj (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod)*p.scale + p.bias; } 205 static void evalTexture2DProjBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), p.lod+c.in[1].x())*p.scale + p.bias; } 207 static void evalTexture2DLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), c.in[1].x())*p.scale + p.bias; } 210 static void evalTexture2DProjLod3 (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].z(), c.in[0].y()/c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 211 static void evalTexture2DProjLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x()/c.in[0].w(), c.in[0].y()/c.in[0].w(), c.in[1].x())*p.scale + p.bias; [all...] |
es2fShaderDiscardTests.cpp | 71 glu::Texture2D* m_brickTexture; 118 m_brickTexture = glu::Texture2D::create(m_renderCtx, m_ctxInfo, m_testCtx.getArchive(), "data/brick.png"); 176 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f) 353 case DISCARDMODE_TEXTURE: params["DISCARD"] = "if (texture2D(ut_brick, v_coords.xy*0.25+0.5).x < 0.7) discard"; break;
|
/external/chromium_org/third_party/angle/samples/angle/mip_map_2d/ |
MipMap2D.cpp | 51 gl_FragColor = texture2D(s_texture, v_texCoord);
|
/external/chromium_org/third_party/angle/samples/angle/texture_wrap/ |
TextureWrap.cpp | 51 gl_FragColor = texture2D(s_texture, v_texCoord);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
RenderTarget11.cpp | 34 ID3D11Texture2D *texture2D = d3d11::DynamicCastComObject<ID3D11Texture2D>(resource); 35 if (texture2D) 38 texture2D->GetDesc(&texDesc); 39 SafeRelease(texture2D); 84 mipSlice = rtvDesc.Texture2D.MipSlice; 145 mipSlice = dsvDesc.Texture2D.MipSlice; 337 srvDesc.Texture2D.MostDetailedMip = 0; 338 srvDesc.Texture2D.MipLevels = 1; 355 dsvDesc.Texture2D.MipSlice = 0; 374 rtvDesc.Texture2D.MipSlice = 0 [all...] |
/external/chromium_org/third_party/angle/samples/angle/particle_system/ |
ParticleSystem.cpp | 71 texColor = texture2D(s_texture, gl_PointCoord);
|
/external/chromium_org/third_party/angle/samples/angle/simple_instancing/ |
SimpleInstancing.cpp | 69 gl_FragColor = texture2D(s_texture, v_texCoord);
|
/external/chromium_org/third_party/angle/tests/perf_tests/ |
TexSubImage.cpp | 83 gl_FragColor = texture2D(s_texture, v_texCoord);
|
/external/chromium_org/gpu/command_buffer/tests/ |
compressed_texture_test.cc | 175 gl_FragColor = texture2D(u_texture, v_texcoord);
|
gl_depth_texture_unittest.cc | 85 gl_FragColor = texture2D(u_texture, texcoord);
|
/external/deqp/modules/gles3/functional/ |
es3fShaderDiscardTests.cpp | 65 glu::Texture2D* m_brickTexture; 97 m_brickTexture = glu::Texture2D::create(m_renderCtx, m_ctxInfo, m_testCtx.getArchive(), "data/brick.png"); 156 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
|
/external/deqp/modules/glshared/ |
glsShaderRenderCase.hpp | 42 class Texture2D; 88 TextureBinding (const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 95 void setTexture (const glu::Texture2D* tex2D); 102 const glu::Texture2D* get2D (void) const { DE_ASSERT(getType() == TYPE_2D); return m_binding.tex2D; } 112 const glu::Texture2D* tex2D; 134 const tcu::Texture2D* tex2D; 167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
|