Lines Matching defs:texObj
623 Texture* texObj = m_textures.find(texture);
625 if (texObj)
640 RC_IF_ERROR(texObj->getType() != expectedType, GL_INVALID_OPERATION, RC_RET_VOID);
647 case GL_TEXTURE_1D: texObj = new Texture1D (texture); break;
648 case GL_TEXTURE_2D: texObj = new Texture2D (texture); break;
649 case GL_TEXTURE_CUBE_MAP: texObj = new TextureCube (texture); break;
650 case GL_TEXTURE_2D_ARRAY: texObj = new Texture2DArray (texture); break;
651 case GL_TEXTURE_3D: texObj = new Texture3D (texture); break;
652 case GL_TEXTURE_CUBE_MAP_ARRAY: texObj = new TextureCubeArray (texture); break;
657 m_textures.insert(texObj);
662 case GL_TEXTURE_1D: setTex1DBinding (unitNdx, static_cast<Texture1D*> (texObj)); break;
663 case GL_TEXTURE_2D: setTex2DBinding (unitNdx, static_cast<Texture2D*> (texObj)); break;
664 case GL_TEXTURE_CUBE_MAP: setTexCubeBinding (unitNdx, static_cast<TextureCube*> (texObj)); break;
665 case GL_TEXTURE_2D_ARRAY: setTex2DArrayBinding (unitNdx, static_cast<Texture2DArray*> (texObj)); break;
666 case GL_TEXTURE_3D: setTex3DBinding (unitNdx, static_cast<Texture3D*> (texObj)); break;
667 case GL_TEXTURE_CUBE_MAP_ARRAY: setTexCubeArrayBinding (unitNdx, static_cast<TextureCubeArray*> (texObj)); break;
1980 Texture* texObj = DE_NULL;
1998 texObj = m_textures.find(texture);
2000 RC_IF_ERROR(!texObj, GL_INVALID_OPERATION, RC_RET_VOID);
2003 if (texObj->getType() == Texture::TYPE_2D)
2007 TCU_CHECK(texObj->getType() == Texture::TYPE_CUBE_MAP);
2018 if (texObj)
2021 fboAttachment.name = texObj->getName();
2042 Texture* texObj = DE_NULL;
2059 texObj = m_textures.find(texture);
2061 RC_IF_ERROR(!texObj, GL_INVALID_OPERATION, RC_RET_VOID);
2064 RC_IF_ERROR(texObj->getType() != Texture::TYPE_2D_ARRAY &&
2065 texObj->getType() != Texture::TYPE_3D &&
2066 texObj->getType() != Texture::TYPE_CUBE_MAP_ARRAY, GL_INVALID_OPERATION, RC_RET_VOID);
2068 if (texObj->getType() == Texture::TYPE_2D_ARRAY || texObj->getType() == Texture::TYPE_CUBE_MAP_ARRAY)
2073 else if (texObj->getType() == Texture::TYPE_3D)
2085 if (texObj)
2088 fboAttachment.name = texObj->getName();
2089 fboAttachment.texTarget = texLayeredTypeToTarget(texObj->getType());