Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/common/
DImage.hpp240 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()
[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.cpp977 ANativeWindowBuffer *nativeBuffer = reinterpret_cast<ANativeWindowBuffer*>(buffer); in CreateImageKHR() local
979 if(!nativeBuffer || GLPixelFormatFromAndroid(nativeBuffer->format) == GL_NONE) in CreateImageKHR()
981 …ALOGW("%s badness unsupported HAL format=%x", __FUNCTION__, nativeBuffer ? nativeBuffer->format : … in CreateImageKHR()
985 return success(new AndroidNativeImage(nativeBuffer)); in CreateImageKHR()