Blender
V3.3
|
#include "integrator/render_scheduler.h"
#include "session/session.h"
#include "session/tile.h"
#include "util/log.h"
#include "util/math.h"
#include "util/time.h"
Go to the source code of this file.
Functions | |
static double | approximate_final_time (const RenderWork &render_work, double time) |
static uint | round_num_samples_to_power_of_2 (const uint num_samples) |
int | calculate_resolution_divider_for_resolution (int width, int height, int resolution) |
int | calculate_resolution_for_divider (int width, int height, int resolution_divider) |
|
static |
Definition at line 430 of file render_scheduler.cpp.
References RenderWork::resolution_divider, and time.
Referenced by RenderScheduler::report_adaptive_filter_time(), RenderScheduler::report_denoise_time(), RenderScheduler::report_display_update_time(), and RenderScheduler::report_path_trace_time().
int calculate_resolution_divider_for_resolution | ( | int | width, |
int | height, | ||
int | resolution | ||
) |
int calculate_resolution_for_divider | ( | int | width, |
int | height, | ||
int | resolution_divider | ||
) |
Definition at line 775 of file render_scheduler.cpp.
References is_power_of_two(), next_power_of_two(), and num_samples.
Referenced by RenderScheduler::get_num_samples_to_path_trace().