![]() |
Clover Git
OpenCL 1.1 software implementation
|
Copying an image to a buffer. More...
#include <events.h>
Inheritance diagram for Coal::CopyImageToBufferEvent:
Collaboration diagram for Coal::CopyImageToBufferEvent:Public Member Functions | |
| CopyImageToBufferEvent (CommandQueue *parent, Image2D *source, MemObject *destination, const size_t src_origin[3], const size_t region[3], size_t dst_offset, cl_uint num_events_in_wait_list, const Event **event_wait_list, cl_int *errcode_ret) | |
| size_t | offset () const |
| Offset in the buffer at which writing the image. | |
| Type | type () const |
Say the event is a Coal::Event::CopyImageToBuffer one. | |
Private Attributes | |
| size_t | p_offset |
| CopyImageToBufferEvent::CopyImageToBufferEvent | ( | CommandQueue * | parent, |
| Image2D * | source, | ||
| MemObject * | destination, | ||
| const size_t | src_origin[3], | ||
| const size_t | region[3], | ||
| size_t | dst_offset, | ||
| cl_uint | num_events_in_wait_list, | ||
| const Event ** | event_wait_list, | ||
| cl_int * | errcode_ret | ||
| ) |
Definition at line 1360 of file events.cpp.
References Coal::MemObject::Image2D, Coal::Image2D::pixel_size(), Coal::MemObject::size(), and Coal::Image2D::type().
| size_t CopyImageToBufferEvent::offset | ( | ) | const |
Offset in the buffer at which writing the image.
Definition at line 1395 of file events.cpp.
References p_offset.
Referenced by worker().
| Event::Type CopyImageToBufferEvent::type | ( | ) | const [virtual] |
Say the event is a Coal::Event::CopyImageToBuffer one.
Reimplemented from Coal::CopyBufferRectEvent.
Definition at line 1400 of file events.cpp.
References Coal::Event::CopyImageToBuffer.
size_t Coal::CopyImageToBufferEvent::p_offset [private] |
1.7.3