Home
last modified time | relevance | path

Searched refs:textureUnitIndex (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.h159 SamplerFormat getSamplerFormatForTextureUnitIndex(size_t textureUnitIndex) const in getSamplerFormatForTextureUnitIndex() argument
161 return mActiveSamplerFormats[textureUnitIndex]; in getSamplerFormatForTextureUnitIndex()
163 const ShaderBitSet getSamplerShaderBitsForTextureUnitIndex(size_t textureUnitIndex) const in getSamplerShaderBitsForTextureUnitIndex() argument
165 return mActiveSamplerShaderBits[textureUnitIndex]; in getSamplerShaderBitsForTextureUnitIndex()
342 void setSamplerUniformTextureTypeAndFormat(size_t textureUnitIndex,
DProgramExecutable.cpp835 size_t textureUnitIndex, in setSamplerUniformTextureTypeAndFormat() argument
849 if (textureUnit == textureUnitIndex) in setSamplerUniformTextureTypeAndFormat()
877 mActiveSamplerTypes[textureUnitIndex] = foundType; in setSamplerUniformTextureTypeAndFormat()
878 mActiveSamplerYUV[textureUnitIndex] = foundYUV; in setSamplerUniformTextureTypeAndFormat()
879 mActiveSamplerFormats[textureUnitIndex] = foundFormat; in setSamplerUniformTextureTypeAndFormat()
DState.cpp3324 for (size_t textureUnitIndex : mExecutable->getActiveSamplersMask()) in syncTexturesInit() local
3326 Texture *texture = mActiveTexturesCache[textureUnitIndex]; in syncTexturesInit()
3605 void State::setTextureDirty(size_t textureUnitIndex) in setTextureDirty() argument
3608 mDirtyTextures.set(textureUnitIndex); in setTextureDirty()
DContext.h589 void onSamplerUniformChange(size_t textureUnitIndex);
DProgram.h375 void setSamplerUniformTextureTypeAndFormat(size_t textureUnitIndex);
DState.h739 void setTextureDirty(size_t textureUnitIndex);
DProgram.cpp4126 void ProgramState::setSamplerUniformTextureTypeAndFormat(size_t textureUnitIndex) in setSamplerUniformTextureTypeAndFormat() argument
4128 mExecutable->setSamplerUniformTextureTypeAndFormat(textureUnitIndex, in setSamplerUniformTextureTypeAndFormat()
DContext.cpp7230 void Context::onSamplerUniformChange(size_t textureUnitIndex) in onSamplerUniformChange() argument
7232 mState.onActiveTextureChange(this, textureUnitIndex); in onSamplerUniformChange()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp251 for (size_t textureUnitIndex = 0; textureUnitIndex < textureVector.size(); in deleteTexture() local
252 textureUnitIndex++) in deleteTexture()
254 if (textureVector[textureUnitIndex] == texture) in deleteTexture()
256 activeTexture(textureUnitIndex); in deleteTexture()
919 for (size_t textureUnitIndex : activeTextures) in updateProgramTextureBindings() local
921 gl::TextureType textureType = textureTypes[textureUnitIndex]; in updateProgramTextureBindings()
922 gl::Texture *texture = textures[textureUnitIndex]; in updateProgramTextureBindings()
936 activeTexture(textureUnitIndex); in updateProgramTextureBindings()
941 activeTexture(textureUnitIndex); in updateProgramTextureBindings()