Home
last modified time | relevance | path

Searched refs:nativeBuffer (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/common/
DImage.hpp261 explicit AndroidNativeImage(ANativeWindowBuffer *nativeBuffer) in AndroidNativeImage() argument
262 : egl::Image(nativeBuffer->width, nativeBuffer->height, in AndroidNativeImage()
263 GLPixelFormatFromAndroid(nativeBuffer->format), in AndroidNativeImage()
264 GLPixelTypeFromAndroid(nativeBuffer->format), in AndroidNativeImage()
265 nativeBuffer->stride), in AndroidNativeImage()
266 nativeBuffer(nativeBuffer) in AndroidNativeImage()
268 nativeBuffer->common.incRef(&nativeBuffer->common); in AndroidNativeImage()
272 ANativeWindowBuffer *nativeBuffer; member in egl::AndroidNativeImage
278 nativeBuffer->common.decRef(&nativeBuffer->common); in ~AndroidNativeImage()
288 if(nativeBuffer) in lockInternal()
[all …]
/external/deqp/modules/egl/
DteglAndroidUtil.cpp155 PixelBufferAccess nativeBuffer(texFormat, 64, 64, 1, bufferData); in createBuffer() local
156 tcu::copy(nativeBuffer, ref->getLevel(0)); in createBuffer()
/external/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp1007 ANativeWindowBuffer *nativeBuffer = reinterpret_cast<ANativeWindowBuffer*>(buffer); in CreateImageKHR() local
1009 if(!nativeBuffer || GLPixelFormatFromAndroid(nativeBuffer->format) == GL_NONE) in CreateImageKHR()
1011 …ALOGW("%s badness unsupported HAL format=%x", __FUNCTION__, nativeBuffer ? nativeBuffer->format : … in CreateImageKHR()
1015 Image *image = new AndroidNativeImage(nativeBuffer); in CreateImageKHR()