Home
last modified time | relevance | path

Searched refs:textureUnit (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp40 void TextureState::activateTexture(GLuint textureUnit) { in activateTexture() argument
41 LOG_ALWAYS_FATAL_IF(textureUnit >= kTextureUnitsCount, in activateTexture()
43 textureUnit, kTextureUnitsCount); in activateTexture()
44 if (mTextureUnit != textureUnit) { in activateTexture()
45 glActiveTexture(kTextureUnits[textureUnit]); in activateTexture()
46 mTextureUnit = textureUnit; in activateTexture()
DTextureState.h36 void activateTexture(GLuint textureUnit);
/frameworks/base/libs/hwui/
DSkiaShader.cpp116 GLuint* textureUnit, ProgramDescription* description, in tryStoreGradient() argument
159 outData->gradientSampler = (*textureUnit)++; in tryStoreGradient()
175 outData->ditherSampler = (*textureUnit)++; in tryStoreGradient()
198 GLuint* textureUnit, ProgramDescription* description, in tryStoreBitmap() argument
215 outData->bitmapSampler = (*textureUnit)++; in tryStoreBitmap()
277 const Matrix4& modelViewMatrix, GLuint* textureUnit, in storeCompose() argument
280 textureUnit, description, &outData->bitmapData), in storeCompose()
283 textureUnit, description, &outData->gradientData), in storeCompose()
288 GLuint* textureUnit, ProgramDescription* description, in tryStoreCompose() argument
306 transform, textureUnit, description, outData); in tryStoreCompose()
[all …]
DDither.cpp90 void Dither::setupProgram(Program& program, GLuint* textureUnit) { in setupProgram() argument
91 GLuint textureSlot = (*textureUnit)++; in setupProgram()
DDither.h43 void setupProgram(Program& program, GLuint* textureUnit);
DSkiaShader.h91 GLuint* textureUnit, ProgramDescription* description,
DGlopBuilder.cpp606 GLuint textureUnit = mOutGlop->fill.texture.texture ? 1 : 0; in build() local
621 &textureUnit, &mDescription, &(mOutGlop->fill.skiaShaderData)); in build()