Blender V4.3
render_scheduler.cpp File Reference
#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)
 

Function Documentation

◆ approximate_final_time()

◆ calculate_resolution_divider_for_resolution()

int calculate_resolution_divider_for_resolution ( int width,
int height,
int resolution )

Definition at line 1256 of file render_scheduler.cpp.

References max.

Referenced by TEST().

◆ calculate_resolution_for_divider()

int calculate_resolution_for_divider ( int width,
int height,
int resolution_divider )

Definition at line 1273 of file render_scheduler.cpp.

References sqrt().

Referenced by TEST().

◆ round_num_samples_to_power_of_2()

static uint round_num_samples_to_power_of_2 ( const uint num_samples)
inlinestatic