Home
last modified time | relevance | path

Searched refs:texCube (Results 1 – 19 of 19) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp235 deUint32 texCube = 2; in validTexCubeAttachmentsTest() local
236 context.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in validTexCubeAttachmentsTest()
241 …amebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], cubeTargets[targetNdx], texCube, 0); in validTexCubeAttachmentsTest()
307 deUint32 texCube = 2; in invalidTexCubeAttachmentTest() local
308 context.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in invalidTexCubeAttachmentTest()
309 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in invalidTexCubeAttachmentTest()
313 context.deleteTextures(1, &texCube); in invalidTexCubeAttachmentTest()
314 …ebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCube, 0); in invalidTexCubeAttachmentTest()
459 deUint32 texCube = 1; in deleteTexCubeAttachedToBoundFboTest() local
460 ctx.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in deleteTexCubeAttachedToBoundFboTest()
[all …]
Des2fNegativeBufferApiTests.cpp319 GLuint texCube; in init()
324 glGenTextures(1, &texCube); in init()
325 glBindTexture(GL_TEXTURE_CUBE_MAP, texCube); in init()
365 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in init()
367 glDeleteTextures(1, &texCube); in init()
Des2fShaderTextureFunctionTests.cpp188 …Context& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.texture… in textureCube()
582 …static const TextureSpec texCube (TEXTURETYPE_CUBE_MAP, GL_RGBA, GL_UNSIGNED_BYTE, 256, 256, 1, s… in init() local
598 …f, 1.01f, 0.0f), Vec4( 1.0f, 1.0f, 1.01f, 0.0f), false, 0.0f, 0.0f, texCube, evalTextureCube… in init()
Des2fTextureUnitTests.cpp516 m_uniforms[2*unitNdx].sampler.texCube->sample4(texSamples, transformedTexCoords); in shadeFragments()
Des2fTextureSpecificationTests.cpp319 m_uniforms[0].sampler.texCube->sample4(colors, texCoords); in shadeFragments()
/external/deqp/modules/gles3/functional/
Des3fFboApiTests.cpp211 deUint32 texCube = 2; in validTexCubeAttachmentsTest() local
212 context.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in validTexCubeAttachmentsTest()
217 …amebufferTexture2D(GL_FRAMEBUFFER, attachmentPoints[pointNdx], cubeTargets[targetNdx], texCube, 0); in validTexCubeAttachmentsTest()
283 deUint32 texCube = 2; in invalidTexCubeAttachmentTest() local
284 context.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in invalidTexCubeAttachmentTest()
285 context.framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in invalidTexCubeAttachmentTest()
289 context.deleteTextures(1, &texCube); in invalidTexCubeAttachmentTest()
290 …ebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCube, 0); in invalidTexCubeAttachmentTest()
435 deUint32 texCube = 1; in deleteTexCubeAttachedToBoundFboTest() local
436 ctx.bindTexture(GL_TEXTURE_CUBE_MAP, texCube); in deleteTexCubeAttachedToBoundFboTest()
[all …]
Des3fNegativeBufferApiTests.cpp989 GLuint texCube; in init()
994 glGenTextures(1, &texCube); in init()
995 glBindTexture(GL_TEXTURE_CUBE_MAP, texCube); in init()
1016 …rTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCube, maxSize); in init()
1030 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in init()
1032 glDeleteTextures(1, &texCube); in init()
Des3fFboTestUtil.cpp535 const sglr::rc::TextureCube* tex = m_uniforms[1].sampler.texCube; in shadeFragments()
Des3fShaderTextureFunctionTests.cpp271 float d = (float)c.textures[0].texCube->getSize(); in computeLodFromGradCube()
280 …Context& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.texture… in textureCube()
285 … float ref, float s, float t, float r, float lod) { return c.textures[0].texCube->sampleCompare(c.… in textureCubeShadow()
Des3fTextureUnitTests.cpp666 …case GL_TEXTURE_CUBE_MAP: m_uniforms[4*unitNdx].sampler.texCube->sample4(texSamples, coords3D); b… in shadeFragments()
/external/deqp/modules/glshared/
DglsShaderRenderCase.hpp89 TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler);
96 void setTexture (const glu::TextureCube* texCube);
103 …Cube* getCube (void) const { DE_ASSERT(getType() == TYPE_CUBE_MAP); return m_binding.texCube; } in getCube()
113 const glu::TextureCube* texCube; member
135 const tcu::TextureCube* texCube; member
141 , texCube (DE_NULL) in ShaderSampler()
DglsShaderRenderCase.cpp76 TextureBinding::TextureBinding (const glu::TextureCube* texCube, const tcu::Sampler& sampler) in TextureBinding() argument
80 m_binding.texCube = texCube; in TextureBinding()
114 void TextureBinding::setTexture (const glu::TextureCube* texCube) in setTexture() argument
117 m_binding.texCube = texCube; in setTexture()
284 …case TextureBinding::TYPE_CUBE_MAP: textures[ndx].texCube = &binding.getCube()->getRefTexture(); … in ShaderEvalContext()
DglsRandomShaderCase.hpp68 void bindTexture (int unit, const glu::TextureCube* texCube);
DglsRandomShaderCase.cpp97 void TextureManager::bindTexture (int unit, const glu::TextureCube* texCube) in bindTexture() argument
99 m_texCube[unit] = texCube; in bindTexture()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp1203 GLuint texCube = 0x1234; in framebuffer_texture2d() local
1213 ctx.glGenTextures(1, &texCube); in framebuffer_texture2d()
1214 ctx.glBindTexture(GL_TEXTURE_CUBE_MAP, texCube); in framebuffer_texture2d()
1243 …rTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCube, maxSize); in framebuffer_texture2d()
1252 …2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, texCube, maxTexCubeSize +… in framebuffer_texture2d()
1254 …bufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, texCube, -1); in framebuffer_texture2d()
1270 ctx.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in framebuffer_texture2d()
1275 ctx.glDeleteTextures(1, &texCube); in framebuffer_texture2d()
1559 deUint32 texCube = 0x1234; in framebuffer_texture_layer() local
1650 ctx.glGenTextures (1, &texCube); in framebuffer_texture_layer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.hpp121 const tcu::TextureCube* texCube; member
127 , texCube (DE_NULL) in ShaderSampler()
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.hpp212 const rc::TextureCube* texCube; member
DsglrReferenceContext.hpp803 void setTexCubeBinding (int unit, rc::TextureCube* texCube);
DsglrReferenceContext.cpp2196 const TextureCube* texCube = static_cast<const TextureCube*>(texture); in checkFramebufferStatus() local
2200 if (texCube->hasFace(attachment.level, face)) in checkFramebufferStatus()
2201 level = texCube->getFace(attachment.level, face); in checkFramebufferStatus()
4463 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = tex; in drawWithReference()
4466 m_currentProgram->m_program->m_uniforms[uniformNdx].sampler.texCube = &m_emptyTexCube; in drawWithReference()