|
Blender V5.0
|
#include <display_driver.h>
Public Member Functions | |
| GraphicsInteropBuffer ()=default | |
| ~GraphicsInteropBuffer () | |
| GraphicsInteropBuffer (const GraphicsInteropBuffer &other)=delete | |
| GraphicsInteropBuffer & | operator= (const GraphicsInteropBuffer &other)=delete |
| GraphicsInteropBuffer (GraphicsInteropBuffer &&other)=delete | |
| GraphicsInteropBuffer & | operator= (GraphicsInteropBuffer &&other)=delete |
| void | assign (GraphicsInteropDevice::Type type, int64_t handle, size_t size) |
| bool | is_empty () const |
| void | zero () |
| void | clear () |
| GraphicsInteropDevice::Type | get_type () const |
| size_t | get_size () const |
| bool | has_new_handle () const |
| int64_t | take_handle () |
| bool | take_zero () |
Protected Attributes | |
| GraphicsInteropDevice::Type | type_ = GraphicsInteropDevice::NONE |
| int64_t | handle_ = 0 |
| bool | own_handle_ = false |
| size_t | size_ = 0 |
| bool | need_zero_ = false |
Definition at line 34 of file session/display_driver.h.
|
default |
Referenced by GraphicsInteropBuffer(), GraphicsInteropBuffer(), operator=(), and operator=().
| CCL_NAMESPACE_BEGIN GraphicsInteropBuffer::~GraphicsInteropBuffer | ( | ) |
Definition at line 15 of file session/display_driver.cpp.
References clear().
|
delete |
References GraphicsInteropBuffer().
|
delete |
References GraphicsInteropBuffer().
| void GraphicsInteropBuffer::assign | ( | GraphicsInteropDevice::Type | type, |
| int64_t | handle, | ||
| size_t | size ) |
Definition at line 20 of file session/display_driver.cpp.
References clear(), handle_, own_handle_, size(), size_, and type_.
| void GraphicsInteropBuffer::clear | ( | ) |
Definition at line 40 of file session/display_driver.cpp.
References handle_, need_zero_, GraphicsInteropDevice::NONE, own_handle_, size_, type_, and GraphicsInteropDevice::VULKAN.
Referenced by assign(), PathTraceDisplay::graphics_interop_get_buffer(), and ~GraphicsInteropBuffer().
| size_t GraphicsInteropBuffer::get_size | ( | ) | const |
Definition at line 62 of file session/display_driver.cpp.
References size_.
| GraphicsInteropDevice::Type GraphicsInteropBuffer::get_type | ( | ) | const |
Definition at line 57 of file session/display_driver.cpp.
References type_.
| bool GraphicsInteropBuffer::has_new_handle | ( | ) | const |
Definition at line 67 of file session/display_driver.cpp.
References own_handle_.
| bool GraphicsInteropBuffer::is_empty | ( | ) | const |
Definition at line 30 of file session/display_driver.cpp.
References handle_.
|
delete |
References GraphicsInteropBuffer().
|
delete |
References GraphicsInteropBuffer(), and size().
| int64_t GraphicsInteropBuffer::take_handle | ( | ) |
Definition at line 79 of file session/display_driver.cpp.
References assert, handle_, and own_handle_.
| bool GraphicsInteropBuffer::take_zero | ( | ) |
Definition at line 72 of file session/display_driver.cpp.
References need_zero_.
| void GraphicsInteropBuffer::zero | ( | ) |
Definition at line 35 of file session/display_driver.cpp.
References need_zero_.
Referenced by PathTraceDisplay::zero().
|
protected |
Definition at line 77 of file session/display_driver.h.
Referenced by assign(), clear(), is_empty(), and take_handle().
|
protected |
Definition at line 84 of file session/display_driver.h.
Referenced by clear(), take_zero(), and zero().
|
protected |
Definition at line 78 of file session/display_driver.h.
Referenced by assign(), clear(), has_new_handle(), and take_handle().
|
protected |
Definition at line 81 of file session/display_driver.h.
Referenced by assign(), clear(), and get_size().
|
protected |
Definition at line 76 of file session/display_driver.h.
Referenced by assign(), clear(), and get_type().