unsigned search_iterations; // Halved from the paper.
unsigned patch_size_pixels;
float patch_overlap_ratio;
- bool variational_refinement; // TODO: Actually disabling this is not implemented yet!
+ bool variational_refinement;
// Not part of the original paper; used for interpolation.
// NOTE: Values much larger than 1.0 seems to trigger Haswell's “PMA stall”;
8.0f // Splat size (pixels).
};
+int find_num_levels(int width, int height);
+
// A class that caches FBOs that render to a given set of textures.
// It never frees anything, so it is only suitable for rendering to
// the same (small) set of textures over and over again.