Blender V5.0
render_scheduler.cpp File Reference
#include "integrator/render_scheduler.h"
#include "scene/integrator.h"
#include "session/session.h"
#include "session/tile.h"
#include "util/log.h"
#include "util/time.h"

Go to the source code of this file.

Functions

static double approximate_final_time (const RenderWork &render_work, const 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, const int resolution)
int calculate_resolution_for_divider (const int width, const int height, const int resolution_divider)

Function Documentation

◆ approximate_final_time()

◆ calculate_resolution_divider_for_resolution()

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

Definition at line 1292 of file render_scheduler.cpp.

References max.

Referenced by TEST().

◆ calculate_resolution_for_divider()

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

Definition at line 1309 of file render_scheduler.cpp.

References sqrt.

Referenced by TEST().

◆ round_num_samples_to_power_of_2()

uint round_num_samples_to_power_of_2 ( const uint num_samples)
inlinestatic