Searched refs:tex (Results 1 - 13 of 13) sorted by last modified time

/frameworks/base/opengl/libagl/
H A DTextureObjectManager.cpp285 sp<EGLTextureObject> tex; local
293 tex = old;
296 tex = new EGLTextureObject();
297 tex->copyParameters(old);
299 mTextures.add(name, tex);
302 return tex;
H A Dmipmap.cpp30 status_t buildAPyramid(ogles_context_t* c, EGLTextureObject* tex) argument
33 const GGLSurface* base = &tex->surface;
47 if (tex->reallocate(level, w, h, w,
54 GGLSurface& cur = tex->editMip(level);
H A Dtexture.cpp34 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
311 sp<EGLTextureObject> tex; local
324 tex = c->textures.defaultTexture;
326 if (c->textures.tmu[i].texture == tex.get())
331 tex = c->surfaceManager->replaceTexture(name);
336 u.texture = tex.get();
340 return tex;
344 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex)
346 if (tex.get() == c->textures.tmu[tmu].texture)
356 u.texture = tex
343 bindTextureTmu( ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) argument
386 EGLTextureObject* tex = c->textures.tmu[active].texture; local
397 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local
622 EGLTextureObject* tex = c->textures.tmu[active].texture; local
875 sp<EGLTextureObject> tex; local
[all...]
/frameworks/base/opengl/tests/gl_perf/
H A Dfill_common.cpp267 static void doSingleTest(uint32_t pgmNum, int tex) { argument
281 glBindTexture(GL_TEXTURE_2D, tex);
283 glBindTexture(GL_TEXTURE_2D, tex);
294 sprintf(gCurrentTestName, "%s, %i, %i, 1", gFragmentTests[pgmNum]->name, pgmNum, tex);
/frameworks/base/services/surfaceflinger/
H A DSurfaceTextureLayer.cpp30 SurfaceTextureLayer::SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer) argument
31 : SurfaceTexture(tex, true, GL_TEXTURE_EXTERNAL_OES, false), mLayer(layer) {
H A DSurfaceTextureLayer.h38 SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer);
/frameworks/base/include/gui/
H A DSurfaceTexture.h63 // SurfaceTexture constructs a new SurfaceTexture object. tex indicates the
71 SurfaceTexture(GLuint tex, bool allowSynchronousMode = true,
/frameworks/base/libs/gui/
H A DSurfaceTexture.cpp117 SurfaceTexture::SurfaceTexture(GLuint tex, bool allowSynchronousMode, argument
130 mTexName(tex),
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp603 float* tex = vtx + 3; local
606 glVertexAttribPointer(mTexcoordAttrSlot, 2, GL_FLOAT, false, 20, tex);
/frameworks/base/libs/rs/driver/
H A DrsdShader.cpp325 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument
347 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv;
350 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) {
351 if (tex->getHasGraphicsMipmaps() &&
377 if (tex->getHasGraphicsMipmaps()) {
394 rsdGLCheckError(rsc, "Sampler::setup tex env");
429 rsdGLCheckError(rsc, "ProgramFragment::setup tex bind");
438 rsdGLCheckError(rsc, "ProgramFragment::setup tex env");
H A DrsdShader.h73 void setupSampler(const android::renderscript::Context *rsc, const android::renderscript::Sampler *s, const android::renderscript::Allocation *tex);
/frameworks/base/libs/rs/
H A DrsScriptC_LibGL.cpp152 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local
156 attribs[1].set(GL_FLOAT, 2, 8, false, (uint32_t)tex, "ATTRIB_texture0");
/frameworks/base/libs/rs/scriptc/
H A Drs_graphics.rsh141 * @param tex texture matrix
144 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);

Completed in 167 milliseconds