Skip to content

Commit

Permalink
backend/backend: add a TODO about image ops ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
yshui committed Sep 5, 2020
1 parent c514547 commit 670b4ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/backend/backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 670b4ab

Please sign in to comment.