Home
last modified time | relevance | path

Searched refs:texName (Results 1 – 15 of 15) 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.cpp406 GLuint texName; in setUp() local
408 &texName); in setUp()
/frameworks/base/graphics/java/android/graphics/
DSurfaceTexture.java110 public SurfaceTexture(int texName) { in SurfaceTexture() argument
111 this(texName, false); in SurfaceTexture()
131 public SurfaceTexture(int texName, boolean singleBufferMode) { in SurfaceTexture() argument
133 nativeInit(false, texName, singleBufferMode, new WeakReference<SurfaceTexture>(this)); in SurfaceTexture()
283 public void attachToGLContext(int texName) { in attachToGLContext() argument
284 int err = nativeAttachToGLContext(texName); in attachToGLContext()
381 private native void nativeInit(boolean isDetached, int texName, in nativeInit() argument
391 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/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp211 uint32_t* texName, uint32_t* fbName, uint32_t* status) { argument
224 *texName = tname;
228 void GLES20RenderEngine::unbindFramebuffer(uint32_t texName, uint32_t fbName) { argument
231 glDeleteTextures(1, &texName);
DGLES11RenderEngine.h43 uint32_t* texName, uint32_t* fbName, uint32_t* status);
44 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName);
DGLES11RenderEngine.cpp242 uint32_t* texName, uint32_t* fbName, uint32_t* status) { argument
256 *texName = tname;
260 void GLES11RenderEngine::unbindFramebuffer(uint32_t texName, uint32_t fbName) { argument
263 glDeleteTextures(1, &texName);
DGLES20RenderEngine.h58 uint32_t* texName, uint32_t* fbName, uint32_t* status);
59 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName);
DRenderEngine.h54 …virtual void bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, uint32_t* fbName, uint32…
55 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName) = 0;
/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/base/core/jni/android/graphics/
DSurfaceTexture.cpp256 jint texName, jboolean singleBufferMode, jobject weakThiz) in SurfaceTexture_init() argument
271 surfaceTexture = new GLConsumer(consumer, texName, in SurfaceTexture_init()
281 (isDetached ? 0 : texName), in SurfaceTexture_init()
/frameworks/base/rs/java/android/renderscript/
DProgram.java343 public BaseProgramBuilder addTexture(TextureType texType, String texName) in addTexture() argument
349 mTextureNames[mTextureCount] = texName; in addTexture()