Home
last modified time | relevance | path

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

/frameworks/native/opengl/libagl/
Dtexture.cpp36 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
303 sp<EGLTextureObject> tex; in getAndBindActiveTextureObject() local
316 tex = c->textures.defaultTexture; in getAndBindActiveTextureObject()
318 if (c->textures.tmu[i].texture == tex.get()) in getAndBindActiveTextureObject()
323 tex = c->surfaceManager->replaceTexture(name); in getAndBindActiveTextureObject()
328 u.texture = tex.get(); in getAndBindActiveTextureObject()
332 return tex; in getAndBindActiveTextureObject()
336 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) in bindTextureTmu() argument
338 if (tex.get() == c->textures.tmu[tmu].texture) in bindTextureTmu()
348 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/base/native/android/
Dsurface_texture.cpp58 int ASurfaceTexture_attachToGLContext(ASurfaceTexture* st, uint32_t tex) { in ASurfaceTexture_attachToGLContext() argument
59 return st->consumer->attachToContext(tex); in ASurfaceTexture_attachToGLContext()
/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/base/libs/hwui/surfacetexture/
DSurfaceTexture.h87 SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, uint32_t texureTarget,
259 status_t attachToContext(uint32_t tex);
DSurfaceTexture.cpp38 SurfaceTexture::SurfaceTexture(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in SurfaceTexture() argument
51 , mTexName(tex) in SurfaceTexture()
183 status_t SurfaceTexture::attachToContext(uint32_t tex) { in attachToContext() argument
205 return mEGLConsumer.attachToContext(tex, *this); in attachToContext()
DEGLConsumer.h89 status_t attachToContext(uint32_t tex, SurfaceTexture& st);
DEGLConsumer.cpp429 status_t EGLConsumer::attachToContext(uint32_t tex, SurfaceTexture& st) { in attachToContext() argument
454 glBindTexture(st.mTexTarget, GLuint(tex)); in attachToContext()
458 st.mTexName = tex; in attachToContext()
/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp92 uint32_t tex = shaderKey.getTextureTarget(); in primeCache() local
93 if (tex != Key::TEXTURE_OFF && tex != Key::TEXTURE_EXT && tex != Key::TEXTURE_2D) { in primeCache()
/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/native/libs/gui/include/gui/
DGLConsumer.h86 uint32_t tex, uint32_t texureTarget, bool useFenceSync,
234 status_t attachToContext(uint32_t tex);
/frameworks/rs/driver/
DrsdShader.cpp390 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { in setupSampler() argument
412 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv; in setupSampler()
420 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler()
421 if (tex->getHasGraphicsMipmaps() && in setupSampler()
447 if (tex->getHasGraphicsMipmaps()) { in setupSampler()
DrsdShader.h100 const android::renderscript::Allocation *tex);
DrsdGL.cpp547 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; in rsdGLDrawQuadTexCoords() local
552 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0"); in rsdGLDrawQuadTexCoords()
DrsdRuntimeStubs.cpp875 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local
879 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
/frameworks/native/libs/gui/
DGLConsumer.cpp105 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, in GLConsumer() argument
118 mTexName(tex), in GLConsumer()
593 status_t GLConsumer::attachToContext(uint32_t tex) { in attachToContext() argument
624 glBindTexture(mTexTarget, GLuint(tex)); in attachToContext()
628 mTexName = tex; in attachToContext()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java96 public abstract void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, in drawMesh() argument
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp353 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) in SurfaceTexture_attachToGLContext() argument
356 return surfaceTexture->attachToContext((GLuint)tex); in SurfaceTexture_attachToGLContext()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.h78 uint32_t tex, Layer* layer);
DBufferLayerConsumer.cpp57 renderengine::RenderEngine& engine, uint32_t tex, in BufferLayerConsumer() argument
74 mTexName(tex), in BufferLayerConsumer()
/frameworks/rs/script_api/
Drs_graphics.spec840 arg: const rs_matrix4x4* tex, "texture matrix"
/frameworks/rs/script_api/include/
Drs_graphics.rsh1278 * tex: texture matrix
1287 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4* tex);