PCompositableParent* ImageBridgeParent::AllocPCompositableParent(const TextureInfo& aInfo, uint64_t* aID) { uint64_t id = GenImageContainerID(); *aID = id; return new CompositableParent(this, aInfo, id); }
PCompositableParent* ImageBridgeParent::AllocPCompositable(const CompositableType& aType, uint64_t* aID) { uint64_t id = GenImageContainerID(); *aID = id; return new CompositableParent(this, aType, id); }
PImageContainerParent* ImageBridgeParent::AllocPImageContainer(PRUint64* aID) { PRUint64 id = GenImageContainerID(); *aID = id; return new ImageContainerParent(id); }
PImageContainerParent* ImageBridgeParent::AllocPImageContainer(uint64_t* aID) { uint64_t id = GenImageContainerID(); *aID = id; return new ImageContainerParent(id); }