67 std::unique_ptr<internal::GPUShaderCache> display_cache_;
70 std::unique_ptr<internal::GPUShaderCache> scene_linear_cache_;
127 Span<std::array<StringRefNull, 2>> additional_defines);
virtual void construct_display_shader(internal::GPUDisplayShader &display_shader) const =0
virtual ~GPUShaderBinder()
static bool create_gpu_shader(internal::GPUDisplayShader &display_shader, StringRefNull fragment_source, Span< std::array< StringRefNull, 2 > > additional_defines)
void clear_caches() const
bool to_scene_linear_bind(StringRefNull from_colorspace, bool use_predivide) const
bool display_bind(const GPUDisplayParameters &display_parameters) const
virtual void construct_scene_linear_shader(internal::GPUDisplayShader &display_shader) const =0
GPUShaderBinder(const Config &config)
bool use_display_emulation
CurveMapping * curve_mapping
StringRefNull from_colorspace