Searched refs:unit_ (Results 1 – 2 of 2) sorted by relevance
97 : gl_(gl), unit_(unit) { in ScopedSetActiveTexture()100 if (unit_ != GL_TEXTURE0) in ScopedSetActiveTexture()101 GLC(gl_, gl_->ActiveTexture(unit_)); in ScopedSetActiveTexture()106 if (unit_ != GL_TEXTURE0) in ~ScopedSetActiveTexture()112 GLenum unit_; member in cc::__anonbc26005a0111::ScopedSetActiveTexture814 unit_(GL_TEXTURE0), in ScopedSamplerGL()815 target_(resource_provider->BindForSampling(resource_id, unit_, filter)) { in ScopedSamplerGL()824 unit_(unit), in ScopedSamplerGL()825 target_(resource_provider->BindForSampling(resource_id, unit_, filter)) { in ScopedSamplerGL()
240 GLenum unit_;