Home
last modified time | relevance | path

Searched refs:yuvTexBuffer (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp190 static sp<GraphicBuffer> yuvTexBuffer; variable
196 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat, in setupYuvTexSurface()
198 int yuvTexStrideY = yuvTexBuffer->getStride(); in setupYuvTexSurface()
204 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); in setupYuvTexSurface()
229 err = yuvTexBuffer->unlock(); in setupYuvTexSurface()
235 EGLClientBuffer clientBuffer = (EGLClientBuffer)yuvTexBuffer->getNativeBuffer(); in setupYuvTexSurface()
/frameworks/native/opengl/tests/gl_yuvtex/
Dgl_yuvtex.cpp90 static sp<GraphicBuffer> yuvTexBuffer; variable
96 yuvTexBuffer = new GraphicBuffer(yuvTexWidth, yuvTexHeight, yuvTexFormat, in setupYuvTexSurface()
99 status_t err = yuvTexBuffer->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); in setupYuvTexSurface()
124 err = yuvTexBuffer->unlock(); in setupYuvTexSurface()
130 EGLClientBuffer clientBuffer = (EGLClientBuffer)yuvTexBuffer->getNativeBuffer(); in setupYuvTexSurface()