/cts/tests/openglperf2/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/skia/platform_tools/android/apps/skar_java/src/main/assets/shaders/ |
screenquad.frag | 24 gl_FragColor = texture2D(sTexture, v_TexCoord);
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/assets/shaders/ |
screenquad.frag | 24 gl_FragColor = texture2D(sTexture, v_TexCoord);
|
/external/autotest/client/deps/glbench/src/ |
yuv2rgb_2.glslf | 54 vec2 offset_even = vec2(texture2D(paritySampler, lineCounter).x * 0.5, 0.0); 57 float yChannel = texture2D(textureSampler, yPlane).x; 58 float uChannel = texture2D(textureSampler, uPlane + offset_even).x; 59 float vChannel = texture2D(textureSampler, vPlane + offset_odd).x;
|
yuv2rgb_3.glslf | 49 float yChannel = texture2D(ySampler, yPlane).r; 50 float uChannel = texture2D(uSampler, uvPlane).r; 51 float vChannel = texture2D(vSampler, uvPlane).r;
|
yuv2rgb_4.glslf | 48 float yChannel = texture2D(ySampler, yPlane).r; 49 vec2 uvChannel = texture2D(uvSampler, uvPlane).ra;
|
yuv2rgb_1.glslf | 169 float yChannel = texture2D(textureSampler, y).x; 170 float uChannel = texture2D(textureSampler, u).x; 171 float vChannel = texture2D(textureSampler, v).x;
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemWorkgroupStorageTests.cpp | 96 de::MovePtr<tcu::Texture2D> createTestTexture2D (void); 99 const tcu::Texture2D& texture2D, 101 void calculateRef (tcu::Texture2D& texture2D); 174 de::MovePtr<tcu::Texture2D> WorkgroupStorageTestInstance::createTestTexture2D (void) 178 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.imageHeight)); 180 texture2D->allocLevel(0) [all...] |
vktProtectedMemShaderImageAccessTests.cpp | 231 de::MovePtr<tcu::Texture2D> createTestTexture2D (void); 232 void calculateAtomicRef (tcu::Texture2D& texture2D); 235 const tcu::Texture2D& texture2D, 455 de::MovePtr<tcu::Texture2D> ImageAccessTestInstance::createTestTexture2D (void) 459 de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, IMAGE_WIDTH, IMAGE_HEIGHT)); 462 texture2D->allocLevel(0) [all...] |
vktProtectedMemUtils.cpp | 726 void uploadImage (ProtectedContext& ctx, vk::VkImage image, const tcu::Texture2D& texture2D) 736 const deUint32 width = (deUint32)texture2D.getWidth(); 737 const deUint32 height = (deUint32)texture2D.getHeight(); 738 const deUint32 stagingBufferSize = width * height * tcu::getPixelSize(texture2D.getFormat()); 748 const tcu::ConstPixelBufferAccess& access = texture2D.getLevel(0); [all...] |
vktProtectedMemUtils.hpp | 171 const tcu::Texture2D& texture2D);
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
shadertoy_shader.cpp | 101 vec4 texture2DGrad(sampler2D s, in vec2 uv, vec2 gx, vec2 gy) { return texture2D(s, uv); }
102 vec4 texture2DLod(sampler2D s, in vec2 uv, in float lod) { return texture2D(s, uv); }
|
/external/skia/tests/ |
TextureBindingsResetTest.cpp | 103 GrBackendTexture texture2D = gpu->createTestingOnlyBackendTexture( 106 REPORTER_ASSERT(reporter, texture2D.getGLTextureInfo(&info2D)); 129 gpu->deleteTestingOnlyBackendTexture(texture2D);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderTextureFunctionTests.cpp | 187 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); } 191 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; } 194 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; } 197 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; } 198 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; } 199 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; } 200 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; } 202 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; } 205 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; } 206 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...] |
es2fShaderStructTests.cpp | 82 glu::Texture2D* m_brickTexture; 135 m_brickTexture = glu::Texture2D::create(m_renderCtx, m_ctxInfo, m_testCtx.getArchive(), "data/brick.png"); [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/deqp/external/openglcts/modules/common/ |
glcShaderRenderCase.hpp | 43 class Texture2D; 104 TextureBinding(const glu::Texture2D* tex2D, const tcu::Sampler& sampler); 111 void setTexture(const glu::Texture2D* tex2D); 124 const glu::Texture2D* get2D(void) const 149 const glu::Texture2D* tex2D; 171 const tcu::Texture2D* tex2D; 203 tcu::Vec4 texture2D(int unitNdx, const tcu::Vec2& coords);
|
glcShaderStructTests.cpp | 71 glu::Texture2D* m_gradientTexture; 95 m_gradientTexture = new glu::Texture2D(m_renderCtx, GL_RGBA8, 128, 128); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderDiscardTests.cpp | 173 if (c.texture2D(0, c.coords.swizzle(0,1) * 0.25f + 0.5f).x() < 0.7f)
|
/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)
|
es3fShaderStructTests.cpp | 74 glu::Texture2D* m_brickTexture; 96 m_brickTexture = glu::Texture2D::create(m_renderCtx, m_ctxInfo, m_testCtx.getArchive(), "data/brick.png"); [all...] |
/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);
|