diff options
author | Neil Roberts <neil@linux.intel.com> | 2013-03-09 20:00:53 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2013-03-18 16:26:35 +0000 |
commit | 576c7b55aa835448c977f1d79d128dffd40e7cd8 (patch) | |
tree | 4b2257e5220609708a8c0ca05e141d26732da7a8 /tests/conform | |
parent | 3fbec92acb90008492eb125025f92b42d6e07930 (diff) | |
download | cogl-576c7b55aa835448c977f1d79d128dffd40e7cd8.tar.gz |
Prune redundant pipeline ancestry after adding a layer difference
Adding a layer difference may mean the pipeline overrides all of the
layers of its parent which might make the parent redundant so we
should try to prune the hierarchy.
This is particularly important for CoglGst because whenever a new
frame is ready it tries to make a copy of the pipeline it last used
and then replace all of the textures in the layers. Without this patch
the new pipeline would keep the parent pipeline alive which means also
keeping the old textures alive so all of the frames of the video would
effectively be leaked.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'tests/conform')
-rw-r--r-- | tests/conform/test-conform-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c index 8a38d27c..82d631ee 100644 --- a/tests/conform/test-conform-main.c +++ b/tests/conform/test-conform-main.c @@ -120,7 +120,7 @@ main (int argc, char **argv) ADD_TEST (test_primitive_and_journal, 0, 0); - ADD_TEST (test_copy_replace_texture, 0, TEST_KNOWN_FAILURE); + ADD_TEST (test_copy_replace_texture, 0, 0); UNPORTED_TEST (test_viewport); |