Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdShader.cpp97 if (texType != returnKey->mTextureTargets[ct]) { in getExistingState()
206 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_EXTERNAL_OES; in appendTextures()
209 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_2D; in appendTextures()
213 mCurrentState->mTextureTargets[ct] = GL_TEXTURE_CUBE_MAP; in appendTextures()
489 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], 0); in setupTextures()
495 if (mCurrentState->mTextureTargets[ct] != GL_TEXTURE_2D && in setupTextures()
496 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_CUBE_MAP && in setupTextures()
497 mCurrentState->mTextureTargets[ct] != GL_TEXTURE_EXTERNAL_OES) { in setupTextures()
502 RSD_CALL_GL(glBindTexture, mCurrentState->mTextureTargets[ct], drvTex->textureID); in setupTextures()
508 RSD_CALL_GL(glTexParameteri, mCurrentState->mTextureTargets[ct], in setupTextures()
[all …]
DrsdShader.h75 mTextureTargets = new uint32_t[texCount]; in StateBasedKey()
78 delete[] mTextureTargets; in ~StateBasedKey()
81 uint32_t *mTextureTargets; variable