Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaShader.cpp121 GLuint* textureUnit, ProgramDescription* description, in tryStoreGradient() argument
164 outData->gradientSampler = (*textureUnit)++; in tryStoreGradient()
180 outData->ditherSampler = (*textureUnit)++; in tryStoreGradient()
203 GLuint* textureUnit, ProgramDescription* description, in tryStoreBitmap() argument
220 outData->bitmapSampler = (*textureUnit)++; in tryStoreBitmap()
282 const Matrix4& modelViewMatrix, GLuint* textureUnit, in storeCompose() argument
285 textureUnit, description, &outData->bitmapData), in storeCompose()
288 textureUnit, description, &outData->gradientData), in storeCompose()
293 GLuint* textureUnit, ProgramDescription* description, in tryStoreCompose() argument
311 transform, textureUnit, description, outData); in tryStoreCompose()
[all …]
DDither.cpp88 void Dither::setupProgram(Program& program, GLuint* textureUnit) { in setupProgram() argument
89 GLuint textureSlot = (*textureUnit)++; in setupProgram()
DDither.h43 void setupProgram(Program& program, GLuint* textureUnit);
DSkiaShader.h91 GLuint* textureUnit, ProgramDescription* description,
DGlopBuilder.cpp650 GLuint textureUnit = mOutGlop->fill.texture.texture ? 1 : 0; in build() local
665 &textureUnit, &mDescription, &(mOutGlop->fill.skiaShaderData)); in build()
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp87 void TextureState::activateTexture(GLuint textureUnit) { in activateTexture() argument
88 LOG_ALWAYS_FATAL_IF(textureUnit >= kTextureUnitsCount, in activateTexture()
90 textureUnit, kTextureUnitsCount); in activateTexture()
91 if (mTextureUnit != textureUnit) { in activateTexture()
92 glActiveTexture(kTextureUnits[textureUnit]); in activateTexture()
93 mTextureUnit = textureUnit; in activateTexture()
DTextureState.h41 void activateTexture(GLuint textureUnit);