Skip to content

Commit

Permalink
Fix alignement
Browse files Browse the repository at this point in the history
  • Loading branch information
oktomus committed Mar 7, 2018
1 parent 27c4d01 commit c69750a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ namespace
}

void on_tile_begin(
const Frame& frame,
Tile& tile,
TileStack& aov_tiles) override
const Frame& frame,
Tile& tile,
TileStack& aov_tiles) override
{
PixelRendererBase::on_tile_begin(frame, tile, aov_tiles);

Expand All @@ -148,9 +148,9 @@ namespace
}

void on_tile_end(
const Frame& frame,
Tile& tile,
TileStack& aov_tiles) override
const Frame& frame,
Tile& tile,
TileStack& aov_tiles) override
{
PixelRendererBase::on_tile_end(frame, tile, aov_tiles);

Expand Down Expand Up @@ -331,7 +331,7 @@ namespace
private:
struct Parameters
{
const SamplingContext::Modei m_sampling_mode;
const SamplingContext::Mode m_sampling_mode;
const size_t m_min_samples;
const size_t m_max_samples;
const float m_max_variation;
Expand All @@ -345,14 +345,14 @@ namespace
}
};

const Parameters m_params;
auto_release_ptr<ISampleRenderer> m_sample_renderer;
size_t m_variation_aov_index;
size_t m_samples_aov_index;
int m_scratch_fb_half_width;
int m_scratch_fb_half_height;
unique_ptr<ShadingResultFrameBuffer> m_scratch_fb;
unique_ptr<Tile> m_diagnostics;
const Parameters m_params;
auto_release_ptr<ISampleRenderer> m_sample_renderer;
size_t m_variation_aov_index;
size_t m_samples_aov_index;
int m_scratch_fb_half_width;
int m_scratch_fb_half_height;
unique_ptr<ShadingResultFrameBuffer> m_scratch_fb;
unique_ptr<Tile> m_diagnostics;

static Color4f scalar_to_color(const float value)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,12 @@ namespace
}
};

const Parameters m_params;
auto_release_ptr<ISampleRenderer> m_sample_renderer;
const size_t m_sample_count;
const int m_sqrt_sample_count;
PixelSampler m_pixel_sampler;
Population<uint64> m_total_sampling_dim;
const Parameters m_params;
auto_release_ptr<ISampleRenderer> m_sample_renderer;
const size_t m_sample_count;
const int m_sqrt_sample_count;
PixelSampler m_pixel_sampler;
Population<uint64> m_total_sampling_dim;
};
}

Expand Down
12 changes: 6 additions & 6 deletions src/appleseed/renderer/kernel/rendering/pixelrendererbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ PixelRendererBase::PixelRendererBase(
}

void PixelRendererBase::on_tile_begin(
const Frame& frame,
Tile& tile,
TileStack& aov_tiles)
const Frame& frame,
Tile& tile,
TileStack& aov_tiles)
{
if (m_invalid_sample_aov_index != size_t(~0))
{
Expand All @@ -88,9 +88,9 @@ void PixelRendererBase::on_tile_begin(
}

void PixelRendererBase::on_tile_end(
const Frame& frame,
Tile& tile,
TileStack& aov_tiles)
const Frame& frame,
Tile& tile,
TileStack& aov_tiles)
{
if (m_invalid_sample_aov_index != size_t(~0))
{
Expand Down

0 comments on commit c69750a

Please sign in to comment.