/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | TextureRenderTarget.java | 35 public TextureRenderTarget(Allocation tex) { argument 37 setTexture(tex); 40 public void setTexture(Allocation tex) { argument 41 mData.texture = tex;
|
H A D | Texture2D.java | 39 public Texture2D(Allocation tex) { argument 41 setTexture(tex); 67 public void setTexture(Allocation tex) { argument 68 mData.texture = tex != null ? tex : SceneManager.getDefaultTex2D();
|
H A D | TextureCube.java | 40 public TextureCube(Allocation tex) { argument 42 setTexture(tex); 68 public void setTexture(Allocation tex) { argument 69 mData.texture = tex != null ? tex : SceneManager.getDefaultTexCube();
|
H A D | TextureBase.java | 34 TextureBase tex = objects[0]; 35 tex.load();
|
H A D | Renderable.java | 143 TextureBase tex = p.getTexture(); 144 if (tex != null) { 145 mData.pf_textures[paramIndex++] = tex.getRsData(false).getAllocation();
|
H A D | ColladaParser.java | 335 Texture2D tex = getTexture(samplerName);
337 texP.setTexture(tex);
339 //Log.v(TAG, "Extracted texture " + tex);
479 Texture2D tex = new Texture2D();
480 tex.setFileName(file);
481 tex.setFileDir(mRootDir);
482 mScene.appendTextures(tex);
483 mImages.put(id, tex);
|
H A D | Scene.java | 192 public void appendTextures(Texture2D tex) { argument 193 if (tex == null) { 196 mTextures.add(tex);
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlingerConsumer.h | 36 uint32_t tex) 37 : GLConsumer(consumer, tex, GLConsumer::TEXTURE_EXTERNAL, false, false), 35 SurfaceFlingerConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t tex) argument
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 283 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 D | texture.cpp | 33 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 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);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.cpp | 100 uint32_t tex = shaderKey.getTextureTarget(); local 101 if (tex != Key::TEXTURE_OFF && 102 tex != Key::TEXTURE_EXT && 103 tex != Key::TEXTURE_2D) {
|
/frameworks/native/include/gui/ |
H A D | GLConsumer.h | 60 // 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, 224 // The tex argument specifies the OpenGL ES texture object name in the 229 status_t attachToContext(uint32_t tex);
|
/frameworks/native/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/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 96 public abstract void drawMesh(BasicTexture tex, int x, int y, int xyBuffer, argument
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 109 const float* verts, const float* tex, const int* colors,
|
/frameworks/rs/driver/ |
H A D | rsdShader.h | 99 const android::renderscript::Allocation *tex);
|
H A D | rsdShader.cpp | 384 void RsdShader::setupSampler(const Context *rsc, const Sampler *s, const Allocation *tex) { argument 406 DrvAllocation *drvTex = (DrvAllocation *)tex->mHal.drv; 414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { 415 if (tex->getHasGraphicsMipmaps() && 441 if (tex->getHasGraphicsMipmaps()) { 458 rsdGLCheckError(rsc, "Sampler::setup tex env"); 497 rsdGLCheckError(rsc, "ProgramFragment::setup tex bind"); 510 rsdGLCheckError(rsc, "ProgramFragment::setup basic tex env");
|
H A D | rsdGL.cpp | 541 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 D | rsdRuntimeStubs.cpp | 327 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; local 331 attribs[1].set(GL_FLOAT, 2, 8, false, (size_t)tex, "ATTRIB_texture0");
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 317 static jint SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument 320 return surfaceTexture->attachToContext((GLuint)tex);
|
H A D | SkiaCanvas.cpp | 108 const float* verts, const float* tex, const int* colors,
|
/frameworks/native/libs/gui/ |
H A D | GLConsumer.cpp | 119 GLConsumer::GLConsumer(const sp<IGraphicBufferConsumer>& bq, uint32_t tex, 130 mTexName(tex), 585 status_t GLConsumer::attachToContext(uint32_t tex) { argument 616 glBindTexture(mTexTarget, GLuint(tex)); 620 mTexName = tex;
|
/frameworks/rs/scriptc/ |
H A D | rs_graphics.rsh | 149 * @param tex texture matrix 152 rsgProgramVertexLoadTextureMatrix(const rs_matrix4x4 *tex);
|