/external/chromium_org/third_party/angle/samples/angle/simple_texture_cubemap/ |
H A D | SimpleTextureCubemap.cpp | 51 gl_FragColor = textureCube(s_texture, v_normal);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | validationES3.cpp | 99 gl::TextureCubeMap *textureCube = context->getTextureCubeMap(); local 100 if (textureCube) 102 textureCompressed = textureCube->isCompressed(target, level); 103 textureInternalFormat = textureCube->getInternalFormat(target, level); 104 textureLevelWidth = textureCube->getWidth(target, level); 105 textureLevelHeight = textureCube->getHeight(target, level); 107 texture = textureCube;
|
H A D | validationES.cpp | 1180 gl::TextureCubeMap *textureCube = context->getTextureCubeMap(); local 1181 if (textureCube) 1183 textureInternalFormat = textureCube->getInternalFormat(target, level); 1184 textureCompressed = textureCube->isCompressed(target, level); 1186 textureLevelWidth = textureCube->getWidth(target, level); 1187 textureLevelHeight = textureCube->getHeight(target, level); 1189 texture = textureCube;
|
H A D | libGLESv2.cpp | 2119 gl::TextureCubeMap *textureCube = static_cast<gl::TextureCubeMap *>(texture); local 2120 if (!textureCube->isCubeComplete()) 5133 gl::TextureCubeMap *textureCube = context->getTextureCubeMap(); local 5134 textureCube->storage(levels, internalformat, width); 9646 gl::TextureCubeMap *textureCube = context->getTextureCubeMap(); local 9647 textureCube->storage(levels, internalformat, width);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 193 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } function in namespace:deqp::gles2::Functional 197 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } 200 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 208 static void evalTextureCubeLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 435 const char* baseFuncName = m_textureSpec.type == TEXTURETYPE_2D ? "texture2D" : "textureCube";
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderTextureFunctionTests.cpp | 343 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } function in namespace:deqp::gles3::Functional 360 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; } 365 static void evalTextureCubeBias (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod+c.in[1].x())*p.scale + p.bias; } 377 static void evalTextureCubeLod (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), c.in[1].x())*p.scale + p.bias; } 438 static void evalTextureCubeGrad (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), computeLodFromGradCube(c))*p.scale + p.bias; }
|