Home
last modified time | relevance | path

Searched refs:mTextureName (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/
DLayerScreenshot.cpp37 mTextureName(0), mFlinger(flinger) in LayerScreenshot()
43 if (mTextureName) { in ~LayerScreenshot()
45 new SurfaceFlinger::MessageDestroyGLTexture(mTextureName) ); in ~LayerScreenshot()
51 status_t result = mFlinger->renderScreenToTextureLocked(0, &mTextureName, &u, &v); in captureLocked()
61 status_t result = mFlinger->renderScreenToTexture(0, &mTextureName, &u, &v); in capture()
70 glBindTexture(GL_TEXTURE_2D, mTextureName); in initTexture()
101 if (mTextureName) { in doTransaction()
102 glDeleteTextures(1, &mTextureName); in doTransaction()
103 mTextureName = 0; in doTransaction()
129 glBindTexture(GL_TEXTURE_2D, mTextureName); in onDraw()
DLayerScreenshot.h34 GLuint mTextureName; variable
DLayer.cpp55 mTextureName(-1U), in Layer()
71 glGenTextures(1, &mTextureName); in Layer()
103 mSurfaceTexture = new SurfaceTexture(mTextureName, true, in onFirstRef()
121 new SurfaceFlinger::MessageDestroyGLTexture(mTextureName) ); in ~Layer()
358 glBindTexture(GL_TEXTURE_EXTERNAL_OES, mTextureName); in onDraw()
DLayer.h111 GLuint mTextureName; variable