22363a4137
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> (cherry picked from commit 576c7b55aa835448c977f1d79d128dffd40e7cd8) |
||
---|---|---|
.. | ||
config.env.in | ||
Makefile.am | ||
run-tests.sh | ||
test-alpha-test.c | ||
test-alpha-textures.c | ||
test-atlas-migration.c | ||
test-backface-culling.c | ||
test-bitmask.c | ||
test-blend-strings.c | ||
test-color-mask.c | ||
test-conform-main.c | ||
test-copy-replace-texture.c | ||
test-custom-attributes.c | ||
test-depth-test.c | ||
test-euler-quaternion.c | ||
test-fixed.c | ||
test-fixtures.c | ||
test-framebuffer-get-bits.c | ||
test-gles2-context.c | ||
test-just-vertex-shader.c | ||
test-launcher.sh.in | ||
test-layer-remove.c | ||
test-map-buffer-range.c | ||
test-materials.c | ||
test-multitexture.c | ||
test-no-gl-header.c | ||
test-npot-texture.c | ||
test-object.c | ||
test-offscreen.c | ||
test-path.c | ||
test-pipeline-uniforms.c | ||
test-pipeline-user-matrix.c | ||
test-pixel-buffer.c | ||
test-point-size.c | ||
test-point-sprite.c | ||
test-premult.c | ||
test-primitive-and-journal.c | ||
test-primitive.c | ||
test-read-texture-formats.c | ||
test-readpixels.c | ||
test-snippets.c | ||
test-sparse-pipeline.c | ||
test-sub-texture.c | ||
test-texture-3d.c | ||
test-texture-get-set-data.c | ||
test-texture-mipmaps.c | ||
test-texture-pixmap-x11.c | ||
test-texture-rectangle.c | ||
test-utils.c | ||
test-utils.h | ||
test-version.c | ||
test-vertex-buffer-contiguous.c | ||
test-vertex-buffer-interleved.c | ||
test-vertex-buffer-mutability.c | ||
test-viewport.c | ||
test-wrap-modes.c | ||
test-wrap-rectangle-textures.c | ||
test-write-texture-formats.c |