Searched refs:tex_params_ (Results 1 – 2 of 2) sorted by relevance
119 if (value != tex_params_[pname]) { in SetTextureParameter()123 tex_params_[pname] = value; in SetTextureParameter()134 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, tex_params_[GL_TEXTURE_MAG_FILTER]); in UpdateTexParameters()135 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, tex_params_[GL_TEXTURE_MIN_FILTER]); in UpdateTexParameters()136 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, tex_params_[GL_TEXTURE_WRAP_S]); in UpdateTexParameters()137 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, tex_params_[GL_TEXTURE_WRAP_T]); in UpdateTexParameters()142 return tex_params_[GL_TEXTURE_MAG_FILTER] != GL_LINEAR in TexParametersModifed()143 || tex_params_[GL_TEXTURE_MIN_FILTER] != GL_LINEAR in TexParametersModifed()144 || tex_params_[GL_TEXTURE_WRAP_S] != GL_CLAMP_TO_EDGE in TexParametersModifed()145 || tex_params_[GL_TEXTURE_WRAP_T] != GL_CLAMP_TO_EDGE; in TexParametersModifed()[all …]
207 std::map<GLenum, GLint> tex_params_; variable