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/rs/java/android/renderscript/
DProgram.java328 public BaseProgramBuilder addTexture(TextureType texType) throws IllegalArgumentException { in addTexture() argument
329 addTexture(texType, "Tex" + mTextureCount); in addTexture()
342 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
347 mTextureTypes[mTextureCount] = texType; in addTexture()
/frameworks/rs/
DrsFont.cpp552 … ObjectBaseRef<Type> texType = Type::getTypeRef(mRSC, alphaElem.get(), mCacheWidth, mCacheHeight); in initTextTexture() local
557 Allocation *cacheAlloc = Allocation::createAllocation(mRSC, texType.get(), in initTextTexture()
563 mCacheLines.push(new CacheTextureLine(16, texType->getDimX(), nextLine, 0)); in initTextTexture()
565 mCacheLines.push(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
567 mCacheLines.push(new CacheTextureLine(24, texType->getDimX(), nextLine, 0)); in initTextTexture()
569 mCacheLines.push(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
571 mCacheLines.push(new CacheTextureLine(32, texType->getDimX(), nextLine, 0)); in initTextTexture()
573 mCacheLines.push(new CacheTextureLine(40, texType->getDimX(), nextLine, 0)); in initTextTexture()
575 …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()