Searched defs:tex (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.h42 uint32_t tex, Layer* layer)
43 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false),
41 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t tex, Layer* layer) argument
/frameworks/native/opengl/libagl/
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 DTextureObjectManager.cpp283 sp<EGLTextureObject> tex; local
291 tex = old;
294 tex = new EGLTextureObject();
295 tex->copyParameters(old);
297 mTextures.add(name, tex);
300 return tex;
H A Dtexture.cpp36 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
303 sp<EGLTextureObject> tex; local
316 tex = c->textures.defaultTexture;
318 if (c->textures.tmu[i].texture == tex.get())
323 tex = c->surfaceManager->replaceTexture(name);
328 u.texture = tex.get();
332 return tex;
336 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex)
338 if (tex.get() == c->textures.tmu[tmu].texture)
348 u.texture = tex
335 bindTextureTmu( ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) argument
378 EGLTextureObject* tex = c->textures.tmu[active].texture; local
389 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local
614 EGLTextureObject* tex = c->textures.tmu[active].texture; local
867 sp<EGLTextureObject> tex; local
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp100 uint32_t tex = shaderKey.getTextureTarget(); local
101 if (tex != Key::TEXTURE_OFF &&
102 tex != Key::TEXTURE_EXT &&
103 tex != Key::TEXTURE_2D) {
/frameworks/native/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/core/jni/android/graphics/
H A DSurfaceTexture.cpp352 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument
355 return surfaceTexture->attachToContext((GLuint)tex);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java96 public abstract void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, argument
/frameworks/rs/driver/
H A DrsdShader.cpp390 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument
412 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv;
420 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) {
421 if (tex->getHasGraphicsMipmaps() &&
447 if (tex->getHasGraphicsMipmaps()) {
464 rsdGLCheckError(rsc, "Sampler::setup tex env");
503 rsdGLCheckError(rsc, "ProgramFragment::setup tex bind");
516 rsdGLCheckError(rsc, "ProgramFragment::setup basic tex env");
H A 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/
H A DGLConsumer.cpp151 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex,
164 mTexName(tex),
642 status_t GLConsumer::attachToContext(uint32_t tex) { argument
673 glBindTexture(mTexTarget, GLuint(tex));
677 mTexName = tex;

Completed in 472 milliseconds