Blender V2.61 - r43446
|
#include <device_memory.h>
Public Member Functions | |
size_t | memory_size () |
Public Attributes | |
DataType | data_type |
int | data_elements |
device_ptr | data_pointer |
size_t | data_size |
size_t | data_width |
size_t | data_height |
device_ptr | device_pointer |
Protected Member Functions | |
device_memory () | |
virtual | ~device_memory () |
device_memory (const device_memory &) | |
device_memory & | operator= (const device_memory &) |
Definition at line 154 of file device_memory.h.
device_memory::device_memory | ( | ) | [inline, protected] |
Definition at line 171 of file device_memory.h.
virtual device_memory::~device_memory | ( | ) | [inline, protected, virtual] |
Definition at line 172 of file device_memory.h.
References assert, and device_pointer.
device_memory::device_memory | ( | const device_memory & | ) | [protected] |
size_t device_memory::memory_size | ( | ) | [inline] |
Definition at line 157 of file device_memory.h.
References data_elements, data_size, data_type, and datatype_size().
Referenced by device_vector< uint4 >::copy(), CUDADevice::mem_alloc(), CUDADevice::mem_copy_to(), CPUDevice::mem_zero(), CUDADevice::mem_zero(), and CUDADevice::tex_alloc().
device_memory& device_memory::operator= | ( | const device_memory & | ) | [protected] |
Definition at line 161 of file device_memory.h.
Referenced by device_vector< uint4 >::device_vector(), memory_size(), and CUDADevice::tex_alloc().
size_t device_memory::data_height |
Definition at line 165 of file device_memory.h.
Referenced by device_vector< uint4 >::clear(), device_vector< uint4 >::device_vector(), CUDADevice::pixels_alloc(), device_vector< uint4 >::reference(), device_vector< uint4 >::resize(), CUDADevice::tex_alloc(), and CPUDevice::tex_alloc().
Definition at line 162 of file device_memory.h.
Referenced by device_vector< uint4 >::clear(), RenderBuffers::copy_from_device(), device_vector< uint4 >::device_vector(), MeshManager::displace(), Device::draw_pixels(), CPUDevice::mem_alloc(), CUDADevice::mem_copy_from(), CUDADevice::mem_copy_to(), CUDADevice::mem_zero(), CUDADevice::pixels_copy_from(), device_vector< uint4 >::reference(), device_vector< uint4 >::resize(), CUDADevice::tex_alloc(), CPUDevice::tex_alloc(), and DisplayBuffer::write().
size_t device_memory::data_size |
Definition at line 163 of file device_memory.h.
Referenced by device_vector< uint4 >::clear(), device_vector< uint4 >::device_vector(), memory_size(), device_vector< uint4 >::reference(), and device_vector< uint4 >::resize().
Definition at line 160 of file device_memory.h.
Referenced by device_vector< uint4 >::device_vector(), memory_size(), and CUDADevice::tex_alloc().
size_t device_memory::data_width |
Definition at line 164 of file device_memory.h.
Referenced by device_vector< uint4 >::clear(), device_vector< uint4 >::device_vector(), CUDADevice::pixels_alloc(), device_vector< uint4 >::reference(), device_vector< uint4 >::resize(), CUDADevice::tex_alloc(), and CPUDevice::tex_alloc().
Definition at line 168 of file device_memory.h.
Referenced by RenderBuffers::copy_from_device(), DisplayBuffer::device_free(), RenderBuffers::device_free(), device_vector< uint4 >::device_vector(), MeshManager::displace(), CUDADevice::draw_pixels(), CPUDevice::mem_alloc(), CUDADevice::mem_alloc(), CUDADevice::mem_copy_from(), CUDADevice::mem_copy_to(), CPUDevice::mem_free(), CUDADevice::mem_free(), CPUDevice::mem_zero(), CUDADevice::mem_zero(), Session::path_trace(), CUDADevice::pixels_alloc(), CUDADevice::pixels_copy_from(), CUDADevice::pixels_free(), CUDADevice::tex_alloc(), CPUDevice::tex_alloc(), CPUDevice::tex_free(), CUDADevice::tex_free(), Session::tonemap(), and ~device_memory().