Home
last modified time | relevance | path

Searched refs:bindTexture (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/
DTexture.h62 inline void setWrap(GLenum wrap, bool bindTexture = false, bool force = false) {
63 setWrapST(wrap, wrap, bindTexture, force);
66 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
69 inline void setFilter(GLenum filter, bool bindTexture = false, bool force = false) {
70 setFilterMinMag(filter, filter, bindTexture, force);
73 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
DTexture.cpp54 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force) { in setWrapST() argument
59 if (bindTexture) { in setWrapST()
60 mCaches.textureState().bindTexture(mTarget, mId); in setWrapST()
68 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force) { in setFilterMinMag() argument
73 if (bindTexture) { in setFilterMinMag()
74 mCaches.textureState().bindTexture(mTarget, mId); in setFilterMinMag()
130 mCaches.textureState().bindTexture(GL_TEXTURE_2D, mId); in upload()
349 mCaches.textureState().bindTexture(mTarget, mId); in upload()
DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() function
60 caches->textureState().bindTexture(texture->target(), texture->id()); in bindTexture()
187 bindTexture(&caches, data.gradientTexture, data.wrapST, data.wrapST); in applyGradient()
253 bindTexture(&caches, data.bitmapTexture, data.wrapS, data.wrapT); in applyBitmap()
DImage.cpp40 Caches::getInstance().textureState().bindTexture(mTexture); in Image()
DGlLayer.cpp62 caches.textureState().bindTexture(texture.target(), texture.mId); in setRenderTarget()
DOpenGLReadback.cpp182 caches.textureState().bindTexture(texture); in copyTextureInto()
255 caches.textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId); in copyImageInto()
DBakedOpRenderer.cpp109 mCaches.textureState().bindTexture(buffer->texture.id()); in copyToLayer()
DFontRenderer.cpp440 caches.textureState().bindTexture(lastTextureId); in checkTextureUpdateForCache()
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp95 void TextureState::bindTexture(GLuint texture) { in bindTexture() function in android::uirenderer::TextureState
102 void TextureState::bindTexture(GLenum target, GLuint texture) { in bindTexture() function in android::uirenderer::TextureState
104 bindTexture(texture); in bindTexture()
DTextureState.h52 void bindTexture(GLuint texture);
59 void bindTexture(GLenum target, GLuint texture);
DRenderState.cpp318 mCaches->textureState().bindTexture(texture.texture->target(), texture.texture->id()); in render()
/frameworks/rs/
DrsProgram.cpp119 bindTexture(nullptr, ct, nullptr); in freeChildren()
181 void Program::bindTexture(Context *rsc, uint32_t slot, Allocation *a) { in bindTexture() function in android::renderscript::Program
219 p->bindTexture(rsc, slot, static_cast<Allocation *>(a)); in rsi_ProgramBindTexture()
DrsProgram.h70 void bindTexture(Context *, uint32_t slot, Allocation *);
DrsScriptC_LibGL.cpp48 pf->bindTexture(rsc, slot, a); in rsrBindTexture()
DrsFont.cpp479 mFontShaderF->bindTexture(mRSC, 0, mTextTexture.get()); in cacheBitmap()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBallsRS.java110 mPFPoints.bindTexture(loadTexture(R.drawable.flares), 0); in init()
/frameworks/base/rs/java/android/renderscript/
DProgram.java165 public void bindTexture(Allocation va, int slot) in bindTexture() method in Program
/frameworks/native/opengl/libagl/
Dtexture.cpp83 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
142 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_lock_textures()
161 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_unlock_textures()
292 ggl->bindTexture(ggl, &src); in copyPixels()
776 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in drawTexiOES()
1531 ggl->bindTexture(ggl, &readSurface); // source is read-buffer in glReadPixels()
/frameworks/base/libs/hwui/renderthread/
DOpenGLPipeline.cpp332 caches.textureState().bindTexture(mTexture); in AutoGlTexture()
/frameworks/base/config/
Dhiddenapi-private-dex.txt75026 Landroid/renderscript/Program;->bindTexture(Landroid/renderscript/Allocation;I)V