backend/backend: add a TODO about image ops ordering

This commit is contained in:
Yuxuan Shui 2020-09-05 18:55:23 +01:00
parent c5145479b0
commit 670b4abae7
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 7 additions and 0 deletions

View File

@ -195,6 +195,13 @@ struct backend_operations {
int max_buffer_age;
// =========== Post-processing ============
/* TODO(yshui) Consider preserving the order of image ops.
* Currently in both backends, the image ops are applied lazily when needed.
* However neither backends preserve the order of image ops, they just applied all
* pending lazy ops in a pre-determined fixed order, regardless in which order
* they were originally applied. This might lead to inconsistencies.*/
/**
* Manipulate an image
*