Home
last modified time | relevance | path

Searched refs:texType (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/rs/java/android/renderscript/
DProgram.java341 public BaseProgramBuilder addTexture(TextureType texType) throws IllegalArgumentException { in addTexture() argument
342 addTexture(texType, "Tex" + mTextureCount); in addTexture()
355 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
360 mTextureTypes[mTextureCount] = texType; in addTexture()
/frameworks/rs/
DrsFont.cpp551 … ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), mCacheWidth, mCacheHeight); in initTextTexture() local
556 Allocation *cacheAlloc = Allocation::createAllocation(mRSC, texType.get(), in initTextTexture()
562 mCacheLines.push_back(new CacheTextureLine(16, texType->getDimX(), nextLine, 0)); in initTextTexture()
564 mCacheLines.push_back(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
566 mCacheLines.push_back(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
568 mCacheLines.push_back(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
570 mCacheLines.push_back(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
572 mCacheLines.push_back(new CacheTextureLine(40, texType->getDimX(), nextLine, 0)); in initTextTexture()
574 …mCacheLines.push_back(new CacheTextureLine(texType->getDimY() - nextLine, texType->getDimX(), next… in initTextTexture()
/frameworks/rs/driver/
DrsdShader.cpp86 uint32_t texType = 0; in getExistingState() local
90 texType = GL_TEXTURE_EXTERNAL_OES; in getExistingState()
92 texType = GL_TEXTURE_2D; in getExistingState()
95 texType = GL_TEXTURE_CUBE_MAP; in getExistingState()
97 if (texType != returnKey->mTextureTargets[ct]) { in getExistingState()