message: Declare tile_{width|height} at class scope
diff: @@ -22,9 +22,6 @@ namespace visionaray
  namespace detail
  {
  -static const int tile_width = 16;
  -static const int tile_height = 16;
  -
  struct sync_params
  {
  sync_params()
  @@ -131,6 +128,8 @@ struct tiled_sched<R>::impl
  int width;
  int height;
  + static const int tile_width = 16;
  + static const int tile_height = 16;
  recti scissor_box;
  render_tile_func render_tile;
  @@ -199,8 +198,8 @@ void tiled_sched<R>::impl::render_loop()
  break;
  }
  - auto tilew = detail::tile_width;
  - auto tileh = detail::tile_height;
  + auto tilew = tile_width;
  + auto tileh = tile_height;
  auto numtilesx = div_up( width, tilew );
  recti tile(
  @@ -246,8 +245,6 @@ void tiled_sched<R>::impl::init_render_func(K kernel, SP sparams, unsigned frame
  render_tile = [=](recti const& tile, random_sampler<T>& samp)
  {
  - using namespace detail;
  -
  unsigned numx = tile_width / packet_size<T>::w;
  unsigned numy = tile_height / packet_size<T>::h;
  for (unsigned i = 0; i < numx * numy; ++i)
  @@ -307,8 +304,6 @@ void tiled_sched<R>::impl::init_render_func(K kernel, SP sparams, unsigned frame
  render_tile = [=](recti const& tile, random_sampler<T>& samp)
  {
  - using namespace detail;
  -
  unsigned numx = tile_width / packet_size<T>::w;
  unsigned numy = tile_height / packet_size<T>::h;
  for (unsigned i = 0; i < numx * numy; ++i)
  @@ -374,8 +369,8 @@ void tiled_sched<R>::frame(K kernel, SP sched_params, unsigned frame_num)
  typename detail::sched_params_has_view_matrix<SP>::type()
  );
  - auto numtilesx = div_up(impl_->width, detail::tile_width);
  - auto numtilesy = div_up(impl_->height, detail::tile_height);
  + auto numtilesx = div_up(impl_->width, impl_->tile_width);
  + auto numtilesy = div_up(impl_->height, impl_->tile_height);
  auto& sparams = impl_->sync_params;
  