Home
last modified time | relevance | path

Searched refs:mTextures (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/opengl/libagl/
DTextureObjectManager.cpp257 if (mTextures.indexOfKey(name) >= 0) in createTexture()
262 status_t err = mTextures.add(name, result); in createTexture()
272 const ssize_t index = mTextures.indexOfKey(name); in removeTexture()
274 sp<EGLTextureObject> result(mTextures.valueAt(index)); in removeTexture()
275 mTextures.removeItemsAt(index); in removeTexture()
285 const ssize_t index = mTextures.indexOfKey(name); in replaceTexture()
287 const sp<EGLTextureObject>& old = mTextures.valueAt(index); in replaceTexture()
296 mTextures.removeItemsAt(index); in replaceTexture()
297 mTextures.add(name, tex); in replaceTexture()
310 mTextures.removeItem(t); in deleteTextures()
[all …]
DTextureObjectManager.h104 KeyedVector< GLuint, sp<EGLTextureObject> > mTextures; variable
/frameworks/base/rs/java/android/renderscript/
DProgram.java72 TextureType mTextures[]; field in Program
122 return mTextures[slot]; in getTextureType()
172 mTextures[slot] != TextureType.TEXTURE_CUBE) { in bindTexture()
206 Type mTextures[]; field in Program.BaseProgramBuilder
362 p.mTextures = new TextureType[mTextureCount]; in initProgram()
363 System.arraycopy(mTextureTypes, 0, p.mTextures, 0, mTextureCount); in initProgram()
/frameworks/rs/
DrsProgram.cpp42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; in Program()
90 delete[] mTextures; in ~Program()
140 mTextures = nullptr; in initMemberVars()
194 mTextures[slot].set(a); in bindTexture()
DrsProgram.h74 ObjectBaseRef<Allocation> *mTextures;