Searched refs:texName (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java108 * @param texName the OpenGL texture object name (e.g. generated via glGenTextures)
112 public SurfaceTexture(int texName) { argument
113 this(texName, false);
128 * @param texName the OpenGL texture object name (e.g. generated via glGenTextures)
133 public SurfaceTexture(int texName, boolean singleBufferMode) { argument
136 nativeInit(false, texName, singleBufferMode, new WeakReference<SurfaceTexture>(this));
283 * @param texName The name of the OpenGL ES texture that will be created. This texture name
286 public void attachToGLContext(int texName) { argument
287 int err = nativeAttachToGLContext(texName);
399 private native void nativeInit(boolean isDetached, int texName, argument
409 nativeAttachToGLContext(int texName) argument
[all...]
/frameworks/native/include/android/
H A Dsurface_texture.h91 * \param texName The name of the OpenGL ES texture that will be created. This texture name
95 int ASurfaceTexture_attachToGLContext(ASurfaceTexture* st, uint32_t texName);
/frameworks/native/libs/gui/tests/
H A DTextureRenderer.h30 TextureRenderer(GLuint texName, const sp<GLConsumer>& st);
H A DTextureRenderer.cpp30 TextureRenderer::TextureRenderer(GLuint texName, argument
31 const sp<GLConsumer>& st) : mTexName(texName), mST(st), mPgm(0),
/frameworks/av/cmds/screenrecord/
H A 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,
H A DProgram.cpp203 status_t Program::blit(GLuint texName, const float* texMatrix, argument
205 ALOGV("Program::blit %d xy=%d,%d wh=%d,%d", texName, x, y, w, h);
221 err = beforeDraw(texName, texMatrix, pos, uv, invert);
229 status_t Program::drawTriangles(GLuint texName, const float* texMatrix, argument
231 ALOGV("Program::drawTriangles texName=%d", texName);
235 err = beforeDraw(texName, texMatrix, vertices, texes, false);
243 status_t Program::beforeDraw(GLuint texName, const float* texMatrix, argument
273 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName);
276 glBindTexture(GL_TEXTURE_2D, texName);
[all...]
/frameworks/native/cmds/flatland/
H A DComposers.cpp46 bool blit(GLuint texName, const float* texMatrix, argument
49 return modBlit(texName, texMatrix, modColor, x, y, w, h);
52 bool modBlit(GLuint texName, const float* texMatrix, float* modColor, argument
87 glBindTexture(GL_TEXTURE_EXTERNAL_OES, texName);
125 virtual bool compose(GLuint /*texName*/, const sp<GLConsumer>& /*glc*/) {
149 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { argument
158 return mBlitter.blit(texName, texMatrix, x, y, w, h);
173 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) { argument
190 return mBlitter.blit(texName, texMatrix, x, y, w, h);
205 virtual bool compose(GLuint texName, cons argument
244 compose(GLuint texName, const sp<GLConsumer>& glc) argument
[all...]
H A DFlatland.h52 virtual bool compose(GLuint texName, const sp<GLConsumer>& glc) = 0;
H A DMain.cpp401 GLuint texName; local
403 &texName);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h99 virtual void bindExternalTextureImage(uint32_t texName, const RE::Image& image) = 0;
225 void bindExternalTextureImage(uint32_t texName, const RE::Image& image) override;
239 void bindExternalTextureImage(uint32_t texName, const RE::impl::Image& image);
246 virtual void bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, uint32_t* fbName,
248 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName) = 0;
H A DGLES20RenderEngine.h59 virtual void bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, uint32_t* fbName,
61 virtual void unbindFramebuffer(uint32_t texName, uint32_t fbName);
H A DGLES20RenderEngine.cpp282 void GLES20RenderEngine::bindImageAsFramebuffer(EGLImageKHR image, uint32_t* texName, argument
296 *texName = tname;
300 void GLES20RenderEngine::unbindFramebuffer(uint32_t texName, uint32_t fbName) { argument
303 glDeleteTextures(1, &texName);
H A DRenderEngine.cpp373 void RenderEngine::bindExternalTextureImage(uint32_t texName, const android::RE::Image& image) { argument
376 return bindExternalTextureImage(texName, static_cast<const android::RE::impl::Image&>(image));
379 void RenderEngine::bindExternalTextureImage(uint32_t texName, argument
383 glBindTexture(target, texName);
/frameworks/base/rs/java/android/renderscript/
H A DProgram.java339 * @param texName what the texture should be called in the
343 public BaseProgramBuilder addTexture(TextureType texType, String texName) argument
349 mTextureNames[mTextureCount] = texName;
/frameworks/base/core/jni/android/graphics/
H A DSurfaceTexture.cpp259 jint texName, jboolean singleBufferMode, jobject weakThiz)
274 surfaceTexture = new GLConsumer(consumer, texName,
284 (isDetached ? 0 : texName),
258 SurfaceTexture_init(JNIEnv* env, jobject thiz, jboolean isDetached, jint texName, jboolean singleBufferMode, jobject weakThiz) argument

Completed in 254 milliseconds