First attempt at adding OCIO to nodes
This commit is contained in:
@@ -63,6 +63,8 @@ public:
|
||||
Blit(shader, job, nullptr, params, clear_destination);
|
||||
}
|
||||
|
||||
void ShaderJobInsertTextures(ColorProcessorPtr color_processor, ShaderJob* job, OCIO::GpuShaderDescRcPtr shader_desc);
|
||||
|
||||
enum AlphaAssociated {
|
||||
kAlphaNone,
|
||||
kAlphaUnassociated,
|
||||
@@ -128,6 +130,12 @@ private:
|
||||
|
||||
bool GetColorContext(ColorProcessorPtr color_processor, ColorContext* ctx);
|
||||
|
||||
bool GetCustomColorContext(ColorProcessorPtr color_processor, ColorContext* ctx,
|
||||
OCIO::GpuShaderDescRcPtr shader_desc);
|
||||
|
||||
bool SetupColorContextTextures(ColorContext& color_ctx, OCIO::ConstGpuShaderDescRcPtr shader_desc,
|
||||
ColorProcessorPtr color_processor);
|
||||
|
||||
void BlitColorManagedInternal(ColorProcessorPtr color_processor, TexturePtr source,
|
||||
AlphaAssociated source_alpha_association,
|
||||
Texture* destination, VideoParams params, bool clear_destination,
|
||||
|
||||
Reference in New Issue
Block a user