author Andrew Osmond <aosmond@mozilla.com>
Fri, 17 Nov 2017 14:08:52 -0500
changeset 392503 79b16521982847de443b83ec0f6cf9a4ce653bad
parent 377819 0145883aea3a74740298a2dc3072e4a4e80c8570
child 402274 2d0766c3e7c94d7af3e40b8069aa8e3d6d4071aa
permissions -rw-r--r--
Bug 1366097 - Part 4. Mark VectorImage as surface as shared when used outside an image layer. r=tnikkel This is important because it ensures we release the shared memory handle (although not the data itself) for the underlying surface buffer when it turns out we will probably never need to share it. If we do need to share the surface data with the GPU process, it will reallocate a handle if necessary, and close it when it is finished. On some platforms we only have a finite number of handles, so if we don't need them, we should close them.

# See http://pep8.readthedocs.io/en/latest/intro.html#configuration
ignore = E121, E123, E126, E129, E133, E226, E241, E242, E704, W503, E402
max-line-length = 99
exclude =