Lines Matching refs:nativeBuffer
240 explicit AndroidNativeImage(ANativeWindowBuffer *nativeBuffer) in AndroidNativeImage() argument
241 : egl::Image(nativeBuffer->width, nativeBuffer->height, in AndroidNativeImage()
242 GLPixelFormatFromAndroid(nativeBuffer->format), in AndroidNativeImage()
243 GLPixelTypeFromAndroid(nativeBuffer->format), in AndroidNativeImage()
244 nativeBuffer->stride), in AndroidNativeImage()
245 nativeBuffer(nativeBuffer) in AndroidNativeImage()
247 nativeBuffer->common.incRef(&nativeBuffer->common); in AndroidNativeImage()
251 ANativeWindowBuffer *nativeBuffer; member in egl::AndroidNativeImage
259 nativeBuffer->common.decRef(&nativeBuffer->common); in ~AndroidNativeImage()
269 if(nativeBuffer) in lockInternal()
294 if(nativeBuffer) // Unlock the buffer from ANativeWindowBuffer in unlockInternal()
324 …GrallocModule::getInstance()->lock(nativeBuffer->handle, usage, 0, 0, nativeBuffer->width, nativeB… in lockNativeBuffer()
331 GrallocModule::getInstance()->unlock(nativeBuffer->handle); in unlockNativeBuffer()