Blender V2.61 - r43446
|
#include "util_types.h"
Go to the source code of this file.
Functions | |
KernelGlobals * | kernel_globals_create () |
void | kernel_globals_free (KernelGlobals *kg) |
void * | kernel_osl_memory (KernelGlobals *kg) |
bool | kernel_osl_use (KernelGlobals *kg) |
void | kernel_const_copy (KernelGlobals *kg, const char *name, void *host, size_t size) |
void | kernel_tex_copy (KernelGlobals *kg, const char *name, device_ptr mem, size_t width, size_t height) |
void | kernel_cpu_path_trace (KernelGlobals *kg, float4 *buffer, unsigned int *rng_state, int sample, int x, int y, int offset, int stride) |
void | kernel_cpu_tonemap (KernelGlobals *kg, uchar4 *rgba, float4 *buffer, int sample, int resolution, int x, int y, int offset, int stride) |
void | kernel_cpu_shader (KernelGlobals *kg, uint4 *input, float3 *output, int type, int i) |
void kernel_const_copy | ( | KernelGlobals * | kg, |
const char * | name, | ||
void * | host, | ||
size_t | size | ||
) |
Definition at line 66 of file kernel.cpp.
References assert.
Referenced by CPUDevice::const_copy_to().
void kernel_cpu_path_trace | ( | KernelGlobals * | kg, |
float4 * | buffer, | ||
unsigned int * | rng_state, | ||
int | sample, | ||
int | x, | ||
int | y, | ||
int | offset, | ||
int | stride | ||
) |
Definition at line 207 of file kernel.cpp.
References kernel_path_trace().
Referenced by CPUDevice::thread_path_trace().
Definition at line 221 of file kernel.cpp.
References kernel_shader_evaluate().
Referenced by CPUDevice::thread_shader().
void kernel_cpu_tonemap | ( | KernelGlobals * | kg, |
uchar4 * | rgba, | ||
float4 * | buffer, | ||
int | sample, | ||
int | resolution, | ||
int | x, | ||
int | y, | ||
int | offset, | ||
int | stride | ||
) |
Definition at line 214 of file kernel.cpp.
References kernel_film_tonemap().
Referenced by CPUDevice::thread_tonemap().
KernelGlobals* kernel_globals_create | ( | ) |
Definition at line 34 of file kernel.cpp.
Referenced by CPUDevice::CPUDevice().
void kernel_globals_free | ( | KernelGlobals * | kg | ) |
Definition at line 43 of file kernel.cpp.
Referenced by CPUDevice::~CPUDevice().
void* kernel_osl_memory | ( | KernelGlobals * | kg | ) |
Referenced by CPUDevice::osl_memory().
bool kernel_osl_use | ( | KernelGlobals * | kg | ) |
Referenced by CPUDevice::thread_path_trace(), and CPUDevice::thread_shader().
void kernel_tex_copy | ( | KernelGlobals * | kg, |
const char * | name, | ||
device_ptr | mem, | ||
size_t | width, | ||
size_t | height | ||
) |
Definition at line 74 of file kernel.cpp.
References assert, texture_image< T >::data, texture_image< T >::height, NULL, strlen(), and texture_image< T >::width.
Referenced by CPUDevice::tex_alloc().