Home
last modified time | relevance | path

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

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DFragmentShader.java66 public Builder addShaderTexture(Program.TextureType texType, String name) { in addShaderTexture() argument
68 mShader.mShaderTextureTypes.add(texType); in addShaderTexture()
72 public Builder addTexture(Program.TextureType texType, String name) { in addTexture() argument
74 mShader.mTextureTypes.add(texType); in addTexture()
/frameworks/base/graphics/java/android/renderscript/
DProgram.java327 public BaseProgramBuilder addTexture(TextureType texType) throws IllegalArgumentException { in addTexture() argument
328 addTexture(texType, "Tex" + mTextureCount); in addTexture()
341 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
346 mTextureTypes[mTextureCount] = texType; in addTexture()
/frameworks/rs/
DrsFont.cpp547 ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), in initTextTexture() local
552 Allocation *cacheAlloc = Allocation::createAllocation(mRSC, texType.get(), in initTextTexture()
558 mCacheLines.push(new CacheTextureLine(16, texType->getDimX(), nextLine, 0)); in initTextTexture()
560 mCacheLines.push(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
562 mCacheLines.push(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
564 mCacheLines.push(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
566 mCacheLines.push(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
568 mCacheLines.push(new CacheTextureLine(40, texType->getDimX(), nextLine, 0)); in initTextTexture()
570 …mCacheLines.push(new CacheTextureLine(texType->getDimY() - nextLine, texType->getDimX(), nextLine,… in initTextTexture()
/frameworks/rs/driver/
DrsdShader.cpp82 uint32_t texType = 0; in getExistingState() local
86 texType = GL_TEXTURE_EXTERNAL_OES; in getExistingState()
88 texType = GL_TEXTURE_2D; in getExistingState()
91 texType = GL_TEXTURE_CUBE_MAP; in getExistingState()
93 if (texType != returnKey->mTextureTargets[ct]) { in getExistingState()