MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / enqueueCopyImageToBuffer

Function enqueueCopyImageToBuffer

include/internal/CL/cl.hpp:7117–7141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7115}
7116
7117inline cl_int enqueueCopyImageToBuffer(
7118 const Image& src,
7119 const Buffer& dst,
7120 const size_t<3>& src_origin,
7121 const size_t<3>& region,
7122 ::size_t dst_offset,
7123 const VECTOR_CLASS<Event>* events = NULL,
7124 Event* event = NULL)
7125{
7126 cl_int error;
7127 CommandQueue queue = CommandQueue::getDefault(&error);
7128
7129 if (error != CL_SUCCESS) {
7130 return error;
7131 }
7132
7133 return queue.enqueueCopyImageToBuffer(
7134 src,
7135 dst,
7136 src_origin,
7137 region,
7138 dst_offset,
7139 events,
7140 event);
7141}
7142
7143inline cl_int enqueueCopyBufferToImage(
7144 const Buffer& src,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected