Searched refs:tex (Results 1 - 20 of 20) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.h38 uint32_t tex)
39 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false),
37 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t tex) argument
/frameworks/native/opengl/libagl/
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.cpp33 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
310 sp<EGLTextureObject> tex; local
323 tex = c->textures.defaultTexture;
325 if (c->textures.tmu[i].texture == tex.get())
330 tex = c->surfaceManager->replaceTexture(name);
335 u.texture = tex.get();
339 return tex;
343 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex)
345 if (tex.get() == c->textures.tmu[tmu].texture)
355 u.texture = tex
342 bindTextureTmu( ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex) argument
385 EGLTextureObject* tex = c->textures.tmu[active].texture; local
396 sp<EGLTextureObject> tex = getAndBindActiveTextureObject(c); local
621 EGLTextureObject* tex = c->textures.tmu[active].texture; local
874 sp<EGLTextureObject> tex; local
[all...]
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);
/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/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/native/include/gui/
H A DGLConsumer.h60 // the tex parameter is used, tex indicates the name of the OpenGL ES
74 // If the constructor with the tex parameter is used, the GLConsumer is
82 // If the constructor without the tex parameter is used, the GLConsumer is
86 uint32_t tex, uint32_t texureTarget, bool useFenceSync,
227 // The tex argument specifies the OpenGL ES texture object name in the
232 status_t attachToContext(uint32_t tex);
/frameworks/rs/driver/
H A DrsdShader.h99 const android::renderscript::Allocation *tex);
H A DrsdShader.cpp386 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument
408 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv;
416 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) {
417 if (tex->getHasGraphicsMipmaps() &&
443 if (tex->getHasGraphicsMipmaps()) {
460 rsdGLCheckError(rsc, "Sampler::setup tex env");
499 rsdGLCheckError(rsc, "ProgramFragment::setup tex bind");
512 rsdGLCheckError(rsc, "ProgramFragment::setup basic tex env");
H A DrsdGL.cpp541 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4};
546 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
H A DrsdRuntimeStubs.cpp814 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local
818 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
/frameworks/native/libs/gui/
H A DGLConsumer.cpp152 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex,
164 mTexName(tex),
636 status_t GLConsumer::attachToContext(uint32_t tex) { argument
667 glBindTexture(mTexTarget, GLuint(tex));
671 mTexName = tex;
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp351 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument
354 return surfaceTexture->attachToContext((GLuint)tex);
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h194 const float* verts, const float* tex, const int* colors,
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.h193 const float* verts, const float* tex, const int* colors,
H A DRecordingCanvas.h172 const float* verts, const float* tex, const int* colors,
H A DSkiaCanvas.cpp134 const float* verts, const float* tex, const int* colors,
/frameworks/rs/scriptc/
H A Drs_graphics.rsh1278 * tex: texture matrix
1287 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4* tex);
/frameworks/rs/api/
H A Drs_graphics.spec840 arg: const rs_matrix4x4* tex, "texture matrix"

Completed in 6400 milliseconds