Home
last modified time | relevance | path

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

/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()
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
221 result = mBlitter.modBlit(texName, texMatrix, modColor, in blend()
[all …]
DFlatland.h52 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) = 0;
DMain.cpp401 GLuint texName; in setUp() local
403 &texName); in setUp()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java117 public SurfaceTexture(int texName) { in SurfaceTexture() argument
118 this(texName, false); in SurfaceTexture()
138 public SurfaceTexture(int texName, boolean singleBufferMode) { in SurfaceTexture() argument
141 nativeInit(false, texName, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture()
292 public void attachToGLContext(int texName) { in attachToGLContext() argument
293 int err = nativeAttachToGLContext(texName); in attachToGLContext()
412 private native void nativeInit(boolean isDetached, int texName, in nativeInit() argument
423 private native int nativeAttachToGLContext(int texName); in nativeAttachToGLContext() argument
/frameworks/av/cmds/screenrecord/
DProgram.cpp203 status_t Program::blit(GLuint texName, const float* texMatrix, in blit() argument
205 ALOGV("Program::blit %d xy=%d,%d wh=%d,%d", texName, x, y, w, h); in blit()
221 err = beforeDraw(texName, texMatrix, pos, uv, invert); in blit()
229 status_t Program::drawTriangles(GLuint texName, const float* texMatrix, in drawTriangles() argument
231 ALOGV("Program::drawTriangles texName=%d", texName); in drawTriangles()
235 err = beforeDraw(texName, texMatrix, vertices, texes, false); in drawTriangles()
243 status_t Program::beforeDraw(GLuint texName, const float* texMatrix, in beforeDraw() argument
273 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName); in beforeDraw()
276 glBindTexture(GL_TEXTURE_2D, texName); in beforeDraw()
DProgram.h56 status_t blit(GLuint texName, const float* texMatrix,
61 status_t drawTriangles(GLuint texName, const float* texMatrix,
71 status_t beforeDraw(GLuint texName, const float* texMatrix,
/frameworks/base/native/android/
Dsurface_texture.cpp26 int ASurfaceTexture_attachToGLContext(ASurfaceTexture* st, uint32_t texName) { in ASurfaceTexture_attachToGLContext() argument
27 return ASurfaceTexture_routeAttachToGLContext(st, texName); in ASurfaceTexture_attachToGLContext()
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp82 for (uint32_t texName : mTexNames) { in ~RenderEngineTest() local
83 sRE->deleteTextures(1, &texName); in ~RenderEngineTest()
411 uint32_t texName; in fillColor() local
412 fixture->sRE->genTextures(1, &texName); in fillColor()
413 fixture->mTexNames.push_back(texName); in fillColor()
433 layer.source.buffer.textureName = texName; in fillColor()
805 uint32_t texName; in fillRedBufferTextureTransform() local
806 RenderEngineTest::sRE->genTextures(1, &texName); in fillRedBufferTextureTransform()
807 this->mTexNames.push_back(texName); in fillRedBufferTextureTransform()
828 layer.source.buffer.textureName = texName; in fillRedBufferTextureTransform()
[all …]
/frameworks/native/libs/gui/tests/
DTextureRenderer.cpp30 TextureRenderer::TextureRenderer(GLuint texName, in TextureRenderer() argument
31 const sp<GLConsumer>& st) : mTexName(texName), mST(st), mPgm(0), in TextureRenderer()
DTextureRenderer.h30 TextureRenderer(GLuint texName, const sp<GLConsumer>& st);
/frameworks/native/include/android/
Dsurface_texture.h105 int ASurfaceTexture_attachToGLContext(ASurfaceTexture* st, uint32_t texName) __INTRODUCED_IN(28);
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h87 virtual void bindExternalTextureImage(uint32_t texName, const Image& image) = 0;
91 virtual status_t bindExternalTextureBuffer(uint32_t texName, const sp<GraphicBuffer>& buffer,
/frameworks/native/libs/nativedisplay/surfacetexture/
Dsurface_texture.cpp156 int ASurfaceTexture_routeAttachToGLContext(ASurfaceTexture* st, uint32_t texName) { in ASurfaceTexture_routeAttachToGLContext() argument
157 return ASurfaceTexture_attachToGLContext(st, texName); in ASurfaceTexture_routeAttachToGLContext()
/frameworks/native/libs/nativedisplay/include/surfacetexture/
Dsurface_texture_platform.h39 int ASurfaceTexture_routeAttachToGLContext(ASurfaceTexture* st, uint32_t texName);
/frameworks/base/core/jni/
Dandroid_graphics_SurfaceTexture.cpp254 jint texName, jboolean singleBufferMode, jobject weakThiz) in SurfaceTexture_init() argument
269 surfaceTexture = new SurfaceTexture(consumer, texName, in SurfaceTexture_init()
279 (isDetached ? 0 : texName), in SurfaceTexture_init()
/frameworks/base/rs/java/android/renderscript/
DProgram.java355 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
361 mTextureNames[mTextureCount] = texName; in addTexture()
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h63 void bindExternalTextureImage(uint32_t texName, const Image& image) override;
64 status_t bindExternalTextureBuffer(uint32_t texName, const sp<GraphicBuffer>& buffer,
DGLESRenderEngine.cpp595 void GLESRenderEngine::bindExternalTextureImage(uint32_t texName, const Image& image) { in bindExternalTextureImage() argument
600 glBindTexture(target, texName); in bindExternalTextureImage()
606 status_t GLESRenderEngine::bindExternalTextureBuffer(uint32_t texName, in bindExternalTextureBuffer() argument
644 bindExternalTextureImage(texName, *createImage()); in bindExternalTextureBuffer()
648 bindExternalTextureImage(texName, *cachedImage->second); in bindExternalTextureBuffer()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...