/frameworks/base/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 285 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 D | mipmap.cpp | 30 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 D | texture.cpp | 34 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 D | fill_common.cpp | 267 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 D | SurfaceTextureLayer.cpp | 30 SurfaceTextureLayer::SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer) argument 31 : SurfaceTexture(tex, true, GL_TEXTURE_EXTERNAL_OES, false), mLayer(layer) {
|
H A D | SurfaceTextureLayer.h | 38 SurfaceTextureLayer(GLuint tex, const sp<Layer>& layer);
|
/frameworks/base/include/gui/ |
H A D | SurfaceTexture.h | 63 // SurfaceTexture constructs a new SurfaceTexture object. tex indicates the 71 SurfaceTexture(GLuint tex, bool allowSynchronousMode = true,
|
/frameworks/base/libs/gui/ |
H A D | SurfaceTexture.cpp | 117 SurfaceTexture::SurfaceTexture(GLuint tex, bool allowSynchronousMode, argument 130 mTexName(tex),
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 603 float* tex = vtx + 3; local 606 glVertexAttribPointer(mTexcoordAttrSlot, 2, GL_FLOAT, false, 20, tex);
|
/frameworks/base/libs/rs/driver/ |
H A D | rsdShader.cpp | 325 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 D | rsdShader.h | 73 void setupSampler(const android::renderscript::Context *rsc, const android::renderscript::Sampler *s, const android::renderscript::Allocation *tex);
|
/frameworks/base/libs/rs/ |
H A D | rsScriptC_LibGL.cpp | 152 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 D | rs_graphics.rsh | 141 * @param tex texture matrix 144 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
|