Commit 0f34bd4f authored by Victor Oliveira's avatar Victor Oliveira

merge buffer's opencl cache in affine

parent c83fc82f
......@@ -850,6 +850,14 @@ gegl_affine_process (GeglOperation *operation,
gegl_affine_create_composite_matrix (affine, &matrix);
input = gegl_operation_context_get_source (context, "input");
if (input)
if (gegl_cl_is_accelerated ())
gegl_buffer_cl_cache_invalidate (input, NULL);
g_object_unref (input);
if (gegl_affine_is_intermediate_node (affine) ||
gegl_matrix3_is_identity (&matrix))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment