Home
last modified time | relevance | path

Searched refs:mTextureTargets (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/driver/
DrsdShader.cpp93 if (texType != returnKey->mTextureTargets[ct]) { in getExistingState()
202 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures()
205 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D; in appendTextures()
209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP; in appendTextures()
483 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], 0); in setupTextures()
489 if (mCurrentState->mTextureTargets[ct] != GL_TEXTURE_2D && in setupTextures()
490 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_CUBE_MAP && in setupTextures()
491 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_EXTERNAL_OES) { in setupTextures()
496 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], drvTex->textureID); in setupTextures()
502 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct], in setupTextures()
[all …]
DrsdShader.h74 mTextureTargets = new uint32_t[texCount]; in StateBasedKey()
77 delete[] mTextureTargets; in ~StateBasedKey()
80 uint32_t *mTextureTargets; variable