Bug
1808155 Part 4: Make ExternalNativeSurfaceKey encode the size only for non-external surfaces. r=gw
The size of the surface is irrelevant for external surfaces, since it is
handled by the native compositor with each call to AttachExternalImage. By
removing the size from the hash key, this patch ensures that real or
imagined changes to surface sizes for external surfaces will no longer
call create_compositor_external_surface, thrashing the resources of the
native compositor.
Differential Revision: https://phabricator.services.mozilla.com/
D175495