Home
last modified time | relevance | path

Searched refs:texName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java105 public SurfaceTexture(int texName) { in SurfaceTexture() argument
106 init(texName, false); in SurfaceTexture()
126 public SurfaceTexture(int texName, boolean singleBufferMode) { in SurfaceTexture() argument
127 init(texName, singleBufferMode); in SurfaceTexture()
212 public void attachToGLContext(int texName) { in attachToGLContext() argument
213 int err = nativeAttachToGLContext(texName); in attachToGLContext()
318 … private void init(int texName, boolean singleBufferMode) throws Surface.OutOfResourcesException { in init() argument
327 nativeInit(texName, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in init()
330 private native void nativeInit(int texName, boolean singleBufferMode, Object weakSelf) in nativeInit() argument
339 private native int nativeAttachToGLContext(int texName); in nativeAttachToGLContext() argument
/frameworks/native/cmds/flatland/
DComposers.cpp46 bool blit(GLuint texName, const float* texMatrix, in blit() argument
49 return modBlit(texName, texMatrix, modColor, x, y, w, h); in blit()
52 bool modBlit(GLuint texName, const float* texMatrix, float* modColor, in modBlit() argument
87 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName); in modBlit()
125 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { in compose() argument
149 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { in opaque() argument
158 return mBlitter.blit(texName, texMatrix, x, y, w, h); in opaque()
173 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { in opaqueShrink() argument
190 return mBlitter.blit(texName, texMatrix, x, y, w, h); in opaqueShrink()
205 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { in blend() argument
[all …]
DFlatland.h52 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) = 0;
DMain.cpp406 GLuint texName; in setUp() local
408 &texName); in setUp()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES11RenderEngine.h42 uint32_t* texName, uint32_t* fbName, uint32_t* status);
43 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName);
DGLES20RenderEngine.h57 uint32_t* texName, uint32_t* fbName, uint32_t* status);
58 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName);
DGLES11RenderEngine.cpp188 uint32_t* texName, uint32_t* fbName, uint32_t* status) { in bindImageAsFramebuffer() argument
202 *texName = tname; in bindImageAsFramebuffer()
206 void GLES11RenderEngine::unbindFramebuffer(uint32_t texName, uint32_t fbName) { in unbindFramebuffer() argument
209 glDeleteTextures(1, &texName); in unbindFramebuffer()
DRenderEngine.h50 …virtual void bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, uint32_t* fbName, uint32…
51 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName) = 0;
DGLES20RenderEngine.cpp154 uint32_t* texName, uint32_t* fbName, uint32_t* status) { in bindImageAsFramebuffer() argument
167 *texName = tname; in bindImageAsFramebuffer()
171 void GLES20RenderEngine::unbindFramebuffer(uint32_t texName, uint32_t fbName) { in unbindFramebuffer() argument
174 glDeleteTextures(1, &texName); in unbindFramebuffer()
/frameworks/base/graphics/java/android/renderscript/
DProgram.java342 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
348 mTextureNames[mTextureCount] = texName; in addTexture()
/frameworks/base/core/jni/android/graphics/
DSurfaceTexture.cpp230 jint texName, jboolean singleBufferMode, jobject weakThiz) in SurfaceTexture_init() argument
239 sp<GLConsumer> surfaceTexture(new GLConsumer(bq, texName, GL_TEXTURE_EXTERNAL_OES, true, true)); in SurfaceTexture_init()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DColladaParser.java279 String texName = samplerName; in getTexture() local
299 texName = getString(ref); in getTexture()
305 return mImages.get(texName); in getTexture()
/frameworks/native/libs/gui/tests/
DSurfaceTexture_test.cpp507 TextureRenderer(GLuint texName, const sp<GLConsumer>& st): in TextureRenderer() argument
508 mTexName(texName), in TextureRenderer()