50 denoising_from_render(false),
53 target_pass_stride(0),
54 pass_denoising_data(0),
55 pass_denoising_clean(0),
56 need_finish_queue(false),
57 integrator_branched(false)
68 max_size_num = (
shader_w + max_size - 1) / max_size;
71 max_size =
max(1, max_size /
w);
72 max_size_num = (
h + max_size - 1) / max_size;
75 num =
max(max_size_num, num);
95 for (
int i = 0; i < num; i++) {
104 tasks.push_back(
task);
108 for (
int i = 0; i < num; i++)
109 tasks.push_back(*
this);
112 for (
int i = 0; i < num; i++) {
113 int ty =
y + (
h / num) * i;
114 int th = (i == num - 1) ?
h - i * (
h / num) :
h / num;
121 tasks.push_back(
task);
132 if (pixel_samples == -1) {
139 double current_time =
time_dt();
158 int end_sample =
sample + num_samples;
163 if (end_sample <=
sample) {
169 return end_sample -
sample;
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
int align_samples(int sample, int num_samples) const
bool need_filter(int sample) const
void update_progress(RenderTile *rtile, int pixel_samples=-1)
function< void(long, int)> update_progress_sample
DeviceTask(Type type=RENDER)
function< void(RenderTile &)> update_tile_sample
void split(list< DeviceTask > &tasks, int num, int max_size=0) const
int get_subtask_count(int num, int max_size=0) const
#define CCL_NAMESPACE_END
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer
static void sample(SocketReader *reader, int x, int y, float color[4])
struct blender::compositor::@172::@174 task
CCL_NAMESPACE_BEGIN double time_dt()