Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTexture.h44 inline void setWrap(GLenum wrap, bool bindTexture = false, bool force = false,
46 setWrapST(wrap, wrap, bindTexture, force, renderTarget);
49 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false,
52 inline void setFilter(GLenum filter, bool bindTexture = false, bool force = false,
54 setFilterMinMag(filter, filter, bindTexture, force, renderTarget);
57 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false,
DTexture.cpp47 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, in setWrapST() argument
54 if (bindTexture) { in setWrapST()
55 mCaches.textureState().bindTexture(renderTarget, mId); in setWrapST()
63 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag() argument
70 if (bindTexture) { in setFilterMinMag()
71 mCaches.textureState().bindTexture(renderTarget, mId); in setFilterMinMag()
113 mCaches.textureState().bindTexture(GL_TEXTURE_2D, mId); in upload()
235 mCaches.textureState().bindTexture(mId); in upload()
DAssetAtlas.cpp82 virtual void setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture = false, in setWrapST()
84 mDelegate->setWrapST(wrapS, wrapT, bindTexture, force, renderTarget); in setWrapST()
87 virtual void setFilterMinMag(GLenum min, GLenum mag, bool bindTexture = false, in setFilterMinMag()
89 mDelegate->setFilterMinMag(min, mag, bindTexture, force, renderTarget); in setFilterMinMag()
DLayer.h223 void setWrap(GLenum wrap, bool bindTexture = false, bool force = false) {
224 texture.setWrap(wrap, bindTexture, force, renderTarget);
227 void setFilter(GLenum filter, bool bindTexture = false, bool force = false) {
228 texture.setFilter(filter, bindTexture, force, renderTarget);
267 void bindTexture() const;
DDither.cpp36 mCaches.textureState().bindTexture(mDitherTexture); in bindDitherTexture()
73 mCaches.textureState().bindTexture(mDitherTexture); in bindDitherTexture()
DSkiaShader.cpp59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture() function
60 caches->textureState().bindTexture(texture->id()); in bindTexture()
187 bindTexture(&caches, data.gradientTexture, data.wrapST, data.wrapST); in applyGradient()
250 bindTexture(&caches, data.bitmapTexture, data.wrapS, data.wrapT); in applyBitmap()
350 data.layer->bindTexture(); in applyLayer()
DLayer.cpp123 bindTexture(); in resize()
181 void Layer::bindTexture() const { in bindTexture() function in android::uirenderer::Layer
183 caches.textureState().bindTexture(renderTarget, texture.mId); in bindTexture()
DReadback.cpp90 caches.textureState().bindTexture(texture); in copySurfaceInto()
145 Caches::getInstance().textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId); in copySurfaceInto()
DImage.cpp40 Caches::getInstance().textureState().bindTexture(mTexture); in Image()
DLayerRenderer.cpp232 layer->bindTexture(); in createRenderLayer()
302 layer->bindTexture(); in updateTextureLayer()
412 caches.textureState().bindTexture(texture); in copyLayer()
DLayerCache.cpp112 layer->bindTexture(); in get()
DBakedOpRenderer.cpp109 mCaches.textureState().bindTexture(buffer->texture.id()); in copyToLayer()
DFontRenderer.cpp442 caches.textureState().bindTexture(lastTextureId); in checkTextureUpdateForCache()
DOpenGLRenderer.cpp651 layer->bindTexture(); in createLayer()
690 layer->bindTexture(); in createFboLayer()
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp101 void TextureState::bindTexture(GLuint texture) { in bindTexture() function in android::uirenderer::TextureState
108 void TextureState::bindTexture(GLenum target, GLuint texture) { in bindTexture() function in android::uirenderer::TextureState
110 bindTexture(texture); in bindTexture()
DTextureState.h53 void bindTexture(GLuint texture);
60 void bindTexture(GLenum target, GLuint texture);
DRenderState.cpp307 mCaches->textureState().bindTexture(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 Program
222 p->bindTexture(rsc, slot, static_cast<Allocation *>(a)); in rsi_ProgramBindTexture()
DrsProgram.h70 void bindTexture(Context *, uint32_t slot, Allocation *);
DrsScriptC_LibGL.cpp52 pf->bindTexture(rsc, slot, a); in rsrBindTexture()
DrsFont.cpp480 mFontShaderF->bindTexture(mRSC, 0, mTextTexture.get()); in cacheBitmap()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBallsRS.java110 mPFPoints.bindTexture(loadTexture(R.drawable.flares), 0); in init()
/frameworks/native/opengl/libagl/
Dtexture.cpp80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in validate_tmu()
145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_lock_textures()
168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in ogles_unlock_textures()
299 ggl->bindTexture(ggl, &src); in copyPixels()
787 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); in drawTexiOES()
1544 ggl->bindTexture(ggl, &readSurface); // source is read-buffer in glReadPixels()
/frameworks/base/rs/java/android/renderscript/
DProgram.java165 public void bindTexture(Allocation va, int slot) in bindTexture() method in Program