Lines Matching refs:samplerObject
1298 Sampler* samplerObject = getSampler(sampler); in bindSampler() local
1300 mState.sampler[unit] = samplerObject; in bindSampler()
1302 return !!samplerObject; in bindSampler()
1764 Sampler *samplerObject = getSampler(sampler); in samplerParameteri() local
1765 ASSERT(samplerObject); in samplerParameteri()
1769 …case GL_TEXTURE_MIN_FILTER: samplerObject->setMinFilter(static_cast<GLenum>(param)); … in samplerParameteri()
1770 …case GL_TEXTURE_MAG_FILTER: samplerObject->setMagFilter(static_cast<GLenum>(param)); … in samplerParameteri()
1771 …case GL_TEXTURE_WRAP_S: samplerObject->setWrapS(static_cast<GLenum>(param)); … in samplerParameteri()
1772 …case GL_TEXTURE_WRAP_T: samplerObject->setWrapT(static_cast<GLenum>(param)); … in samplerParameteri()
1773 …case GL_TEXTURE_WRAP_R: samplerObject->setWrapR(static_cast<GLenum>(param)); … in samplerParameteri()
1774 …case GL_TEXTURE_MIN_LOD: samplerObject->setMinLod(static_cast<GLfloat>(param)); … in samplerParameteri()
1775 …case GL_TEXTURE_MAX_LOD: samplerObject->setMaxLod(static_cast<GLfloat>(param)); … in samplerParameteri()
1776 …case GL_TEXTURE_COMPARE_MODE: samplerObject->setCompareMode(static_cast<GLenum>(param)); … in samplerParameteri()
1777 …case GL_TEXTURE_COMPARE_FUNC: samplerObject->setCompareFunc(static_cast<GLenum>(param)); … in samplerParameteri()
1778 …case GL_TEXTURE_MAX_ANISOTROPY_EXT: samplerObject->setMaxAnisotropy(static_cast<GLfloat>(param)); … in samplerParameteri()
1787 Sampler *samplerObject = getSampler(sampler); in samplerParameterf() local
1788 ASSERT(samplerObject); in samplerParameterf()
1792 …case GL_TEXTURE_MIN_FILTER: samplerObject->setMinFilter(static_cast<GLenum>(roundf(param))… in samplerParameterf()
1793 …case GL_TEXTURE_MAG_FILTER: samplerObject->setMagFilter(static_cast<GLenum>(roundf(param))… in samplerParameterf()
1794 …case GL_TEXTURE_WRAP_S: samplerObject->setWrapS(static_cast<GLenum>(roundf(param))); … in samplerParameterf()
1795 …case GL_TEXTURE_WRAP_T: samplerObject->setWrapT(static_cast<GLenum>(roundf(param))); … in samplerParameterf()
1796 …case GL_TEXTURE_WRAP_R: samplerObject->setWrapR(static_cast<GLenum>(roundf(param))); … in samplerParameterf()
1797 …case GL_TEXTURE_MIN_LOD: samplerObject->setMinLod(param); … in samplerParameterf()
1798 …case GL_TEXTURE_MAX_LOD: samplerObject->setMaxLod(param); … in samplerParameterf()
1799 …case GL_TEXTURE_COMPARE_MODE: samplerObject->setCompareMode(static_cast<GLenum>(roundf(param… in samplerParameterf()
1800 …case GL_TEXTURE_COMPARE_FUNC: samplerObject->setCompareFunc(static_cast<GLenum>(roundf(param… in samplerParameterf()
1801 …case GL_TEXTURE_MAX_ANISOTROPY_EXT: samplerObject->setMaxAnisotropy(param); … in samplerParameterf()
1810 Sampler *samplerObject = getSampler(sampler); in getSamplerParameteri() local
1811 ASSERT(samplerObject); in getSamplerParameteri()
1815 case GL_TEXTURE_MIN_FILTER: return static_cast<GLint>(samplerObject->getMinFilter()); in getSamplerParameteri()
1816 case GL_TEXTURE_MAG_FILTER: return static_cast<GLint>(samplerObject->getMagFilter()); in getSamplerParameteri()
1817 case GL_TEXTURE_WRAP_S: return static_cast<GLint>(samplerObject->getWrapS()); in getSamplerParameteri()
1818 case GL_TEXTURE_WRAP_T: return static_cast<GLint>(samplerObject->getWrapT()); in getSamplerParameteri()
1819 case GL_TEXTURE_WRAP_R: return static_cast<GLint>(samplerObject->getWrapR()); in getSamplerParameteri()
1820 case GL_TEXTURE_MIN_LOD: return static_cast<GLint>(roundf(samplerObject->getMinLod())); in getSamplerParameteri()
1821 case GL_TEXTURE_MAX_LOD: return static_cast<GLint>(roundf(samplerObject->getMaxLod())); in getSamplerParameteri()
1822 case GL_TEXTURE_COMPARE_MODE: return static_cast<GLint>(samplerObject->getCompareMode()); in getSamplerParameteri()
1823 case GL_TEXTURE_COMPARE_FUNC: return static_cast<GLint>(samplerObject->getCompareFunc()); in getSamplerParameteri()
1824 case GL_TEXTURE_MAX_ANISOTROPY_EXT: return static_cast<GLint>(samplerObject->getMaxAnisotropy()); in getSamplerParameteri()
1833 Sampler *samplerObject = getSampler(sampler); in getSamplerParameterf() local
1834 ASSERT(samplerObject); in getSamplerParameterf()
1838 case GL_TEXTURE_MIN_FILTER: return static_cast<GLfloat>(samplerObject->getMinFilter()); in getSamplerParameterf()
1839 case GL_TEXTURE_MAG_FILTER: return static_cast<GLfloat>(samplerObject->getMagFilter()); in getSamplerParameterf()
1840 case GL_TEXTURE_WRAP_S: return static_cast<GLfloat>(samplerObject->getWrapS()); in getSamplerParameterf()
1841 case GL_TEXTURE_WRAP_T: return static_cast<GLfloat>(samplerObject->getWrapT()); in getSamplerParameterf()
1842 case GL_TEXTURE_WRAP_R: return static_cast<GLfloat>(samplerObject->getWrapR()); in getSamplerParameterf()
1843 case GL_TEXTURE_MIN_LOD: return samplerObject->getMinLod(); in getSamplerParameterf()
1844 case GL_TEXTURE_MAX_LOD: return samplerObject->getMaxLod(); in getSamplerParameterf()
1845 case GL_TEXTURE_COMPARE_MODE: return static_cast<GLfloat>(samplerObject->getCompareMode()); in getSamplerParameterf()
1846 case GL_TEXTURE_COMPARE_FUNC: return static_cast<GLfloat>(samplerObject->getCompareFunc()); in getSamplerParameterf()
1847 case GL_TEXTURE_MAX_ANISOTROPY_EXT: return samplerObject->getMaxAnisotropy(); in getSamplerParameterf()
3160 Sampler *samplerObject = mState.sampler[textureUnit]; in applyTextures() local
3162 if(texture->isSamplerComplete(samplerObject)) in applyTextures()
3167 if(samplerObject) in applyTextures()
3169 wrapS = samplerObject->getWrapS(); in applyTextures()
3170 wrapT = samplerObject->getWrapT(); in applyTextures()
3171 wrapR = samplerObject->getWrapR(); in applyTextures()
3172 minFilter = samplerObject->getMinFilter(); in applyTextures()
3173 magFilter = samplerObject->getMagFilter(); in applyTextures()
3174 minLOD = samplerObject->getMinLod(); in applyTextures()
3175 maxLOD = samplerObject->getMaxLod(); in applyTextures()
3176 compFunc = samplerObject->getCompareFunc(); in applyTextures()
3177 compMode = samplerObject->getCompareMode(); in applyTextures()
3178 maxAnisotropy = samplerObject->getMaxAnisotropy(); in applyTextures()