Home
last modified time | relevance | path

Searched refs:tex (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DTextureRenderTarget.java35 public TextureRenderTarget(Allocation tex) { in TextureRenderTarget() argument
37 setTexture(tex); in TextureRenderTarget()
40 public void setTexture(Allocation tex) { in setTexture() argument
41 mData.texture = tex; in setTexture()
DTexture2D.java39 public Texture2D(Allocation tex) { in Texture2D() argument
41 setTexture(tex); in Texture2D()
67 public void setTexture(Allocation tex) { in setTexture() argument
68 mData.texture = tex != null ? tex : SceneManager.getDefaultTex2D(); in setTexture()
DTextureCube.java40 public TextureCube(Allocation tex) { in TextureCube() argument
42 setTexture(tex); in TextureCube()
68 public void setTexture(Allocation tex) { in setTexture() argument
69 mData.texture = tex != null ? tex : SceneManager.getDefaultTexCube(); in setTexture()
DTextureBase.java34 TextureBase tex = objects[0]; in doInBackground() local
35 tex.load(); in doInBackground()
DRenderable.java143 TextureBase tex = p.getTexture(); in updateTextures() local
144 if (tex != null) { in updateTextures()
145 mData.pf_textures[paramIndex++] = tex.getRsData(false).getAllocation(); in updateTextures()
DColladaParser.java335 Texture2D tex = getTexture(samplerName); in extractParams() local
337 texP.setTexture(tex); in extractParams()
479 Texture2D tex = new Texture2D(); in convertImage() local
480 tex.setFileName(file); in convertImage()
481 tex.setFileDir(mRootDir); in convertImage()
482 mScene.appendTextures(tex); in convertImage()
483 mImages.put(id, tex); in convertImage()
Dparams.rsh101 const SgTexture *tex = NULL;
103 tex = rsGetElementAt(pData->texture, 0);
110 rsgBindTexture(shader->program, p->bufferOffset, tex->texture);
Drender.rs89 const SgTexture *tex = rsGetElementAt(obj->pf_textures[i], 0);
90 rsgBindTexture(pf->program, i, tex->texture);
DScene.java192 public void appendTextures(Texture2D tex) { in appendTextures() argument
193 if (tex == null) { in appendTextures()
196 mTextures.add(tex); in appendTextures()
/frameworks/native/opengl/libagl/
Dtexture.cpp33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
310 sp<EGLTextureObject> tex; in getAndBindActiveTextureObject() local
323 tex = c->textures.defaultTexture; in getAndBindActiveTextureObject()
325 if (c->textures.tmu[i].texture == tex.get()) in getAndBindActiveTextureObject()
330 tex = c->surfaceManager->replaceTexture(name); in getAndBindActiveTextureObject()
335 u.texture = tex.get(); in getAndBindActiveTextureObject()
339 return tex; in getAndBindActiveTextureObject()
343 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) in bindTextureTmu() argument
345 if (tex.get() == c->textures.tmu[tmu].texture) in bindTextureTmu()
355 u.texture = tex.get(); in bindTextureTmu()
[all …]
DTextureObjectManager.cpp283 sp<EGLTextureObject> tex; in replaceTexture() local
291 tex = old; in replaceTexture()
294 tex = new EGLTextureObject(); in replaceTexture()
295 tex->copyParameters(old); in replaceTexture()
297 mTextures.add(name, tex); in replaceTexture()
300 return tex; in replaceTexture()
Dmipmap.cpp30 status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex) in buildAPyramid() argument
33 const GGLSurface* base = &tex->surface; in buildAPyramid()
47 if (tex->reallocate(level, w, h, w, in buildAPyramid()
54 GGLSurface& cur = tex->editMip(level); in buildAPyramid()
/frameworks/native/services/surfaceflinger/
DSurfaceFlingerConsumer.h30 SurfaceFlingerConsumer(const sp<BufferQueue>& bq, uint32_t tex) in SurfaceFlingerConsumer() argument
31 : GLConsumer(bq, tex, GLConsumer::TEXTURE_EXTERNAL, false) in SurfaceFlingerConsumer()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp267 static void doSingleTest(uint32_t pgmNum, int tex) { in doSingleTest() argument
281 glBindTexture(GL_TEXTURE_2D, tex); in doSingleTest()
283 glBindTexture(GL_TEXTURE_2D, tex); in doSingleTest()
294 sprintf(gCurrentTestName, "%s, %i, %i, 1", gFragmentTests[pgmNum]->name, pgmNum, tex); in doSingleTest()
/frameworks/native/include/gui/
DGLConsumer.h85 uint32_t tex, uint32_t texureTarget = TEXTURE_EXTERNAL,
225 status_t attachToContext(uint32_t tex);
/frameworks/compile/mclinker/unittests/
Dtest3.txt83 taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
102 gdb-tar: $(DEVO_SUPPORT)OH(SUPPORT_FILES) texinfo/texinfo.tex
121 gdb-taz: gdb-tar $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
132 do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
191 ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
240 TEXINFO_SUPPORT= texinfo/texinfo.tex
/frameworks/rs/driver/
DrsdShader.cpp384 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { in setupSampler() argument
406 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv; in setupSampler()
414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler()
415 if (tex->getHasGraphicsMipmaps() && in setupSampler()
441 if (tex->getHasGraphicsMipmaps()) { in setupSampler()
DrsdShader.h99 const android::renderscript::Allocation *tex);
DrsdGL.cpp542 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; in rsdGLDrawQuadTexCoords() local
546 attribs[1].set(GL_FLOAT, 2, 8, false, (uint32_t)tex, "ATTRIB_texture0"); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp281 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; in SC_DrawQuadTexCoords() local
285 attribs[1].set(GL_FLOAT, 2, 8, false, (uint32_t)tex, "ATTRIB_texture0"); in SC_DrawQuadTexCoords()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java98 public abstract void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh() argument
/frameworks/native/libs/gui/
DGLConsumer.cpp119 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in GLConsumer() argument
130 mTexName(tex), in GLConsumer()
568 status_t GLConsumer::attachToContext(uint32_t tex) { in attachToContext() argument
599 glBindTexture(mTexTarget, GLuint(tex)); in attachToContext()
613 mTexName = tex; in attachToContext()
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp306 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) in SurfaceTexture_attachToGLContext() argument
309 return surfaceTexture->attachToContext((GLuint)tex); in SurfaceTexture_attachToGLContext()
/frameworks/rs/scriptc/
Drs_graphics.rsh145 * @param tex texture matrix
148 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
/frameworks/base/core/res/assets/webkit/
Dhyph_en_US.dic4765 3tex
8844 .3tex