[Webkit-unassigned] [Bug 155431] New: Leak: Accelerated ImageBufferCairo doesn't destroy the used textures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 14 04:24:31 PDT 2016


            Bug ID: 155431
           Summary: Leak: Accelerated ImageBufferCairo doesn't destroy the
                    used textures
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: dino at apple.com

When using the accelerated path, ImageBufferCairo creates up to two textures for rendering: m_texture to hold the buffer content, and m_compositorTexture used to take the content to the ThreadedCompositor (when enabled).

These 2 textures are passed to cairo to create a cairo_surface using cairo_gl_surface_create_for_texture(), but cairo doesn't take their ownership, so currently they are not being destroyed when the ImageBuffer gets destroyed.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160314/976c4e7c/attachment.html>

More information about the webkit-unassigned mailing list