Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
DImage.hpp270 explicit AndroidNativeImage(ANativeWindowBuffer *nativeBuffer) in AndroidNativeImage() argument
271 : egl::Image(nativeBuffer->width, nativeBuffer->height, in AndroidNativeImage()
272 GLPixelFormatFromAndroid(nativeBuffer->format), in AndroidNativeImage()
273 nativeBuffer->stride), in AndroidNativeImage()
274 nativeBuffer(nativeBuffer) in AndroidNativeImage()
276 nativeBuffer->common.incRef(&nativeBuffer->common); in AndroidNativeImage()
278 GrallocModule::getInstance()->import(nativeBuffer->handle, &nativeBufferImportedHandle); in AndroidNativeImage()
282 ANativeWindowBuffer *nativeBuffer; member in egl::AndroidNativeImage
291 nativeBuffer->common.decRef(&nativeBuffer->common); in ~AndroidNativeImage()
301 if(nativeBuffer) in lockInternal()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLMemoryCL.cpp54 const cl_mem nativeBuffer = mNative->getDispatch().clCreateSubBuffer( in createSubBuffer() local
56 return CLMemoryImpl::Ptr(nativeBuffer != nullptr ? new CLMemoryCL(buffer, nativeBuffer) in createSubBuffer()
DCLCommandQueueCL.cpp80 const cl_mem nativeBuffer = buffer.getImpl<CLMemoryCL>().getNative(); in enqueueReadBuffer() local
89 mNative->getDispatch().clEnqueueReadBuffer(mNative, nativeBuffer, block, offset, size, ptr, in enqueueReadBuffer()
104 const cl_mem nativeBuffer = buffer.getImpl<CLMemoryCL>().getNative(); in enqueueWriteBuffer() local
113 mNative->getDispatch().clEnqueueWriteBuffer(mNative, nativeBuffer, block, offset, size, ptr, in enqueueWriteBuffer()
133 const cl_mem nativeBuffer = buffer.getImpl<CLMemoryCL>().getNative(); in enqueueReadBufferRect() local
142 mNative, nativeBuffer, block, bufferOrigin, hostOrigin, region, bufferRowPitch, in enqueueReadBufferRect()
163 const cl_mem nativeBuffer = buffer.getImpl<CLMemoryCL>().getNative(); in enqueueWriteBufferRect() local
172 mNative, nativeBuffer, block, bufferOrigin, hostOrigin, region, bufferRowPitch, in enqueueWriteBufferRect()
240 const cl_mem nativeBuffer = buffer.getImpl<CLMemoryCL>().getNative(); in enqueueFillBuffer() local
248 mNative, nativeBuffer, pattern, patternSize, offset, size, numEvents, nativeEventsPtr, in enqueueFillBuffer()
[all …]
DCLContextCL.cpp114 cl_mem nativeBuffer = nullptr; in createBuffer() local
117 nativeBuffer = mNative->getDispatch().clCreateBuffer(mNative, buffer.getFlags().get(), size, in createBuffer()
122 nativeBuffer = mNative->getDispatch().clCreateBufferWithProperties( in createBuffer()
126 return CLMemoryImpl::Ptr(nativeBuffer != nullptr ? new CLMemoryCL(buffer, nativeBuffer) in createBuffer()
/third_party/vk-gl-cts/modules/egl/
DteglAndroidUtil.cpp316 …PixelBufferAccess nativeBuffer (texFormat, desc.width, desc.height, 1, rowPitch, slicePitch, buff… in createBuffer() local
318 tcu::copy(nativeBuffer, ref->getLevel(0)); in createBuffer()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/
DlibEGL.cpp1231 ANativeWindowBuffer *nativeBuffer = reinterpret_cast<ANativeWindowBuffer*>(buffer); in CreateImage() local
1233 if(!nativeBuffer || GLPixelFormatFromAndroid(nativeBuffer->format) == GL_NONE) in CreateImage()
1235 …ERR("%s badness unsupported HAL format=%x", __FUNCTION__, nativeBuffer ? nativeBuffer->format : 0); in CreateImage()
1239 Image *image = new AndroidNativeImage(nativeBuffer); in CreateImage()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp284 void *nativeBuffer = nullptr; in prepareForExternalUseANDROID() local
297 …BufferHandle, GRALLOC_USAGE_SW_WRITE_OFTEN, 0, 0, extent.width, extent.height, &nativeBuffer) != 0) in prepareForExternalUseANDROID()
302 if(!nativeBuffer) in prepareForExternalUseANDROID()
312 uint8_t *dstBuffer = static_cast<uint8_t *>(nativeBuffer); in prepareForExternalUseANDROID()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp672 const d3d11::Buffer *nativeBuffer = nullptr; in getEmulatedIndexedBuffer() local
674 emulatedStorage->getBuffer(context, indexInfo, attribute, startVertex, &nativeBuffer)); in getEmulatedIndexedBuffer()
675 *bufferOut = nativeBuffer->get(); in getEmulatedIndexedBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp714 const d3d11::Buffer *nativeBuffer = nullptr; in getEmulatedIndexedBuffer() local
716 emulatedStorage->getBuffer(context, indexInfo, attribute, startVertex, &nativeBuffer)); in getEmulatedIndexedBuffer()
717 *bufferOut = nativeBuffer->get(); in getEmulatedIndexedBuffer()