void finalize_chain(Colorspace color_space, GammaCurve gamma_curve, OutputAlphaFormat alpha_format);
template<class T>
- void internal_run(T *out_data, T *out_data2, T *out_data3, T *out_data4, GLenum internal_format, GLenum format, Colorspace color_space, GammaCurve gamma_curve, OutputAlphaFormat alpha_format = OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED
+ void internal_run(T *out_data, T *out_data2, T *out_data3, T *out_data4, GLenum format, Colorspace color_space, GammaCurve gamma_curve, OutputAlphaFormat alpha_format = OUTPUT_ALPHA_FORMAT_POSTMULTIPLIED
#ifdef HAVE_BENCHMARK
, benchmark::State *state = nullptr
#endif
// compute shaders). Will also output a message to stderr if so.
bool should_skip();
+#ifdef HAVE_BENCHMARK
+ // Same, but outputs a message to the benchmark instead of to stderr.
+ bool should_skip(benchmark::State *benchmark_state);
+#endif
+
bool active() const { return disable_compute_shaders; }
private: